Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
composition:annexes:ajouter_des_appendices [2018/12/03 22:57] – jejust | 3_composition:annexes:ajouter_des_appendices [2021/11/02 11:30] (Version actuelle) – Correction de la mise en forme. yannick.tanguy | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== | + | ====== |
+ | ===== Avec les commandes de base ===== | ||
- | LaTeX provides an exceedingly | + | < |
- | command | + | |
- | (in [[ctanpkg> | + | |
- | [[ctanpkg> | + | |
- | numbering is restarted and the representation of the counter switches | + | |
- | to alphabetic. So: | + | |
+ | <WRAP column 35ex> | ||
<code latex> | <code latex> | ||
- | \section{My inspiration} | + | \documentclass{article} |
- | ... | + | \usepackage[T1]{fontenc} |
- | + | \begin{document} | |
- | \section{Developing the inspiration} | + | \section{L' |
- | ... | + | (...) |
+ | \section{Conséquences} | ||
+ | (...) | ||
\appendix | \appendix | ||
- | \section{How I became inspired} | + | \section{Génèse de l' |
- | ... | + | (...) |
+ | \end{document} | ||
</ | </ | ||
- | would be typeset (in an [[ctanpkg>article|article]] document) | + | </WRAP> |
- | **1 My inspiration** | + | <WRAP column 35ex> |
+ | < | ||
+ | \documentclass[french]{article} | ||
+ | \usepackage[utf8]{inputenc} | ||
+ | \usepackage[T1]{fontenc} | ||
+ | \pagestyle{empty} %% très important ! | ||
+ | \begin{document} | ||
+ | \section{L' | ||
+ | (...) | ||
+ | \section{Conséquences} | ||
+ | (...) | ||
+ | \appendix | ||
+ | \section{Génèse de l' | ||
+ | (...) | ||
+ | \end{document} | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP clear /> | ||
- | ... | + | Cette méthode suffit pour des besoins ordinaires. Notez cependant qu'une fois que vous êtes passé dans les annexes, < |
- | **2 Developing the inspiration** | + | ===== Avec l' |
- | ... | + | L'extension |
- | + | ||
- | **A How I became inspired** | + | |
- | + | ||
- | ... | + | |
- | which is quite enough for many ordinary purposes. | + | |
- | you've switched to typesetting appendixes, LaTeX provides you with | + | |
- | no way back --- once you've had an appendix, you can no longer have an | + | |
- | " | + | |
- | + | ||
- | The [[ctanpkg> | + | |
- | simple setup. | + | |
- | separate heading, both in the body of the document | + | |
- | contents; this would be achieved by | + | |
<code latex> | <code latex> | ||
\usepackage{appendix} | \usepackage{appendix} | ||
- | ... | + | \renewcommand{\appendixpagename}{Annexes} |
+ | \renewcommand{\appendixtocname}{Annexes} | ||
+ | (...) | ||
\appendix | \appendix | ||
\appendixpage | \appendixpage | ||
\addappheadtotoc | \addappheadtotoc | ||
</ | </ | ||
- | The '' | ||
- | above the first appendix, and '' | ||
- | title to the table of contents. | ||
- | people' | ||
- | The package also provides an '' | + | La commande |
- | which provides for fancier use. The environment is best controlled by | + | |
- | package | + | L' |
<code latex> | <code latex> | ||
\usepackage[toc, | \usepackage[toc, | ||
- | ... | + | (...) |
\begin{appendices} | \begin{appendices} | ||
- | ... | + | (...) |
\end{appendices} | \end{appendices} | ||
</ | </ | ||
- | The great thing that the '' | ||
- | you, is that once the environment ends, you can carry on with sections | ||
- | or chapters as before --- numbering isn't affected by the intervening | ||
- | appendixes. | ||
- | The package provides another alternative way of setting appendixes, as | + | Mais voici le point le plus intéressant de cet environnement : une fois qu'il est clos, vous pouvez reprendre votre utilisation normale des sections ou des chapitres. La numérotation n'est pas affectée par les annexes intermédiaires. |
- | inferior divisions in the document. | + | |
- | environment allows you to put separate appendixes for a particular | + | |
- | section, coded as '' | + | |
- | as '' | + | |
+ | L' | ||
+ | |||
+ | <WRAP column 35ex> | ||
<code latex> | <code latex> | ||
+ | \documentclass{article} | ||
+ | \usepackage[T1]{fontenc} | ||
\usepackage{appendix} | \usepackage{appendix} | ||
- | ... | + | \begin{document} |
- | \section{My inspiration} | + | \section{L' |
- | ... | + | (...) |
\begin{subappendices} | \begin{subappendices} | ||
- | \subsection{How I became inspired} | + | \subsection{Génèse de l' |
- | ... | + | (...) |
\end{subappendices} | \end{subappendices} | ||
- | + | \section{Conséquences} | |
- | \section{Developing the inspiration} | + | (...) |
- | ... | + | \end{document} |
</ | </ | ||
- | Which will produce output something like: | + | </ |
- | **1 My inspiration** | + | |
- | ... | + | <WRAP column 35ex> |
+ | < | ||
+ | \documentclass[french]{article} | ||
+ | \usepackage[utf8]{inputenc} | ||
+ | \usepackage[T1]{fontenc} | ||
+ | \pagestyle{empty} %% très important ! | ||
+ | \usepackage{appendix} | ||
+ | \begin{document} | ||
+ | \section{L' | ||
+ | (...) | ||
+ | \begin{subappendices} | ||
+ | \subsection{Génèse de l' | ||
+ | (...) | ||
+ | \end{subappendices} | ||
+ | \section{Conséquences} | ||
+ | (...) | ||
+ | \end{document} | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP clear /> | ||
- | **1.A How I became inspired** | + | Cette extension offre d' |
- | ... | + | ===== Avec les classes “memoir” et “KOMA-script” ===== |
- | + | ||
- | **2 Developing the inspiration** | + | |
- | + | ||
- | ... | + | |
- | + | ||
- | There are many other merry things one may do with the package; the | + | |
- | user is referred to the package documentation for further details. | + | |
- | + | ||
- | The [[ctanpkg> | + | |
- | [[ctanpkg> | + | |
- | '' | + | |
+ | La classe [[ctanpkg> | ||
----- | ----- | ||
- | |||
//Source:// [[faquk> | //Source:// [[faquk> | ||
- | {{htmlmetatags> | + | {{htmlmetatags> |
- | metatag-og: | + | metatag-og: |
metatag-og: | metatag-og: | ||
}} | }} | ||
- |