summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tango/doc
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tango/doc')
-rw-r--r--macros/latex/contrib/tango/doc/tango-en.pdfbin160161 -> 0 bytes
-rw-r--r--macros/latex/contrib/tango/doc/tango-en.tex743
-rw-r--r--macros/latex/contrib/tango/doc/tango-fr.pdfbin170120 -> 0 bytes
-rw-r--r--macros/latex/contrib/tango/doc/tango-fr.tex797
4 files changed, 0 insertions, 1540 deletions
diff --git a/macros/latex/contrib/tango/doc/tango-en.pdf b/macros/latex/contrib/tango/doc/tango-en.pdf
deleted file mode 100644
index 17dd66dc4e..0000000000
--- a/macros/latex/contrib/tango/doc/tango-en.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/tango/doc/tango-en.tex b/macros/latex/contrib/tango/doc/tango-en.tex
deleted file mode 100644
index ad6693fc5e..0000000000
--- a/macros/latex/contrib/tango/doc/tango-en.tex
+++ /dev/null
@@ -1,743 +0,0 @@
-% !TEX TS-program = LuaLaTeX
-\documentclass[english,ColorTheme=Red,FontSize=10pt]{tango}
-%\setmonofont{Latin Modern Mono}[Scale=MatchUppercase]
-\usepackage{longtable,csquotes,lipsum,tcolorbox}
-\usepackage[dvipsnames]{xcolor}
-\newcommand\DO[1]{\textcolor{ColorOne}{\bfseries #1}}
-\newcommand\TO[1]{\textsf{#1}}
-%%
-\NewDocumentCommand\showtheme{m}
-{{\tgosetup{ColorTheme=#1}
-\parbox{2.1cm}{\centering
-\textsf{#1\rule[-3pt]{0pt}{10pt}}\\
-\colorbox{ColorOne}{\parbox{1.5cm}{\rule[-5pt]{0pt}{15pt}}}
-\par
-\colorbox{ColorTwo}{\parbox{1.5cm}{\rule[-5pt]{0pt}{15pt}}}
-\par
-}}}
-%
-%\tgosmartlists
-\renewtgolabels1{\lefthand}
-\definecolor{ColorThree}{rgb}{0.93,0.95,0.97}
-\tcbset{colback=ColorTwo,colframe=ColorTwo,sharp corners}
-\frenchspacing
-%\setcounter{section}{88}
-\begin{document}
-
-\renewcommand{\arraystretch}{1.1}
-\title{\textcolor{ColorOne}{\floweroneleft}\,The tango document class\,\textcolor{ColorOne}{\floweroneright}}
-\author{\href{mailto:michel.bovani@icloud.com}{Michel \textsc{Bovani}}}
-\date{\today\\v. 0.7.1}
-{\sffamily
-\maketitle
-
-}
-\thispagestyle{empty}
-
-\tgoshorttoc
-\section{What the tango document class is}
-
-
-Tango is a Latex document class (\verb=\documentclass[<options>]{tango}=) for use by mathematics teachers (roughly speaking, from high school to undergraduate level). It makes it possible to typeset several types of documents, from the short handout to the complete textbook. The \enquote{maths dedicated aspect} essentially consists in:
-\begin{itemize}
-\item loading maths packages;
-\item offering dedicated commands and environments for statements (definitions, propositions, theorems…), exercises, numbering.
-\end{itemize}
-
-Tango is reasonably configurable, even if certain choices are imposed: mandatory use of lualatex, opentype fonts and recent installation, in particular. The tango class defines eight output formats, five of which are suitable for tablets, e-readers and smartphones; a system currently under development can be used to introduce a particular input for a given output format (for example, forcing a page break for the A5 format only). Finally, the tango class can be used for projects of a more general nature than maths lessons: science courses, but even more general usage with some extra configuration effort (see the Candide directory in the examples).
-
-Another class of documents for presenting school work (training exercises, test or exam subjects) will soon be available, called \enquote{bravo}.
-
-
-
-
-\section{Options overview}
-Please note that the table below only lists the options actually managed by the tango class. Other options, if used when calling the class, can simply be passed to certain packages. This is the case, for example, with the babel language options, or the \TO{math-style} option, which is systematically passed to the \TO{unicode-math} package.
-
-Default values are in bold red. Bold options marked with a \TO{\textbf{star*}} can be used in the preamble and in the body of the document with the \verb=\tgosetup{}= command: for example, in order to change the colors inside the document, you can use \verb+\tgosetup{ColorTheme=Navy}+. Other options can only be mentioned when the tango class is called.
-
-
-\begin{longtable}{p{0.23\linewidth}p{0.7\linewidth}}
-\caption[]{The tango class options}\\
-\textbf{Option}&\textbf{Usage}\\
-\hline\endhead
-\hline\multicolumn{2}{r}{\emph{Continued next page}}\endfoot
-\hline\endlastfoot
-\TO{french}&\TO{french=true/\DO{false}}. Adaptation to the French language and reserved names for the tango class (theorem gives \emph{e.g.} théorème). Mandatory use for French-speaking users. This option is also passed to the babel package.\\
-\hline
-\TO{<language options>}& Tango will pass other language options to the \TO{babel} package. Note that
-\begin{itemize}
-\item Only English and French languages are fully implemented.
-\item Even English-speaking people must pass a language option (\TO{english, british, UKenglish, USenglish} or \TO{american}) for \TO{babel} to the tango class.
-\end{itemize}
-See section~\ref{lang} below.\\
-\hline
-\TO{no-statement}&\TO{no-statement=true/\DO{false}}. The \TO{thm}, \TO{defin}, \TO{lem}, \TO{coro}, \TO{propo} environments (for theorems, definitions, lemmas, corollaries, propositions) are defined by default. The no-statement option allows you to define them later, on request (see \verb=\newstatement= and \verb=\renewstatement= commands in section~\ref{st-section} page~\pageref{st-section}).\\
-\hline
-\TO{no-hyperref}&\TO{no-hyperref=true/\DO{false}}. If you're only planning a single paper output….\\
-\hline
-\TO{no-indent/indent}&\TO{no-indent=true/\DO{false}}. Indents are present by default. The option \TO{noindent} (meaning \TO{no-indent = true}) returns us to the left margin. The \TO{indent} option also exists, but is not very useful!\\
-\hline
-\TO{no-titleindent}/\TO{titleindent}&Title indents are present by default only in French (because in French typography, the first paragraph after a title must be indented: so I prefer in this case the titles to be indented too). You can use no-tiltleindent in French and titleindent in English to change the default behavior. These options must be called after the language options.\\
-\hline
-\TO{\textbf{ThmNamePos*}}&\TO{ThmNamePos=<value>} where \TO{<value>} can be \TO{\DO{left}} or \TO{right}. The name of the statement (Theorem, Definition, etc.) is displayed to the left or right of the box.\\
-\hline
-\TO{PubliClass}&\TO{PubliClass=<value>} where \TO{<value>} can be \TO{\DO{article}} or \TO{book}. Indicates the base document class used (Latex standard \TO{article} document class or Latex standard \TO{book} document class.) The tango class is designed so that short handouts or monographs composed with the \TO{article} version can then be grouped together as chapters in the same volume with the \TO{book} version. See the \texttt{mathematics} directory in the \texttt{examples} documentation. With the \TO{article} version, the \verb=\part= and \verb=\tableofontents= commands are disabled. The \verb=\tgoshorttoc= command can be used to obtain a summary at the beginning of a monograph.\\
-\hline
-\TO{oneside/twoside}& The option \TO{twoside} makes recto/verso, \TO{oneside} simply makes recto. The default is \TO{\DO{oneside}}. For now, there's no adjustment of inner and outer margins with twoside but it's easy to adapt it to your needs with the \verb=\geometry= command in the preamble. Note that one may prefer \TO{twoside=false} to \TO{oneside} (why not?).\\
-\hline
-\TO{FontSize}&\TO{FontSize=<value>} where \TO{<value>} can be \TO{9pt}, \TO{\DO{10pt}}, \TO{11pt} ou \TO{12pt}.\\
-\hline
-\TO{\textbf{ColorTheme*}}&\TO{ColorTheme=<value>} where \TO{<value>} can be \TO{Blue, Navy, USAF, Azur, Red, Framboise, Brique, Sienne, Caramel, Olive, Tannen, \DO{GrayGray}, BlackAndWhite, Ink} or \TO{Steel}. These values are worth trying out: each defines a set of two colors, one solid (ColorOne) for titles and one very light (ColorTwo) for box backgrounds.\\
-\hline
-\TO{\textbf{ColorOne*}/\textbf{ColorTwo*}}& These options allow the user to define the colors of a personal theme separately; the argument must be a suitable argument for \verb=\definecolor=. See xcolor package (loaded without options by the tango class) documentation.
-\begin{example}[Examples]
- \begin{itemize}
- \item\TO{ColorOne=}\verb={rgb}{0.75,0.1,0.05}=
- \item\TO{ColorOne=}\verb={cmyk}{0,0.8,0.8,0.2}=
- \item\TO{ColorTwo=}\verb={{rgb}{0.75,0.96,0.75}}= (note that external braces may be used, but are not mandatory).
-\end{itemize}
-\end{example}
-\\
-\hline
-\TO{\textbf{ColorOneNamed*}} / \\
-\TO{\textbf{ColorTwoNamed*}}&
-These options allow the user to define the colors of a personal theme separately; the argument must be a suitable argument for \verb=\colorlet=. See xcolor package (loaded without options by the tango class) documentation.
-\begin{example}[Examples]
- \begin{itemize}
- \item\TO{ColorOneNamed=}\verb={red!70!blue}=
-\item\TO{ColorTwoNamed=}\verb={yellow!12}=
- \end{itemize}
-\end{example}
-If you want to use a predefined set of colors, say \TO{dvipsnames}, you may reload the \TO{xcolor} package with the \TO{dvipsnames} option in your preamble, and then use the \verb=\tgosetup= command:
-\begin{itemize}
-\item \verb+\tgosetup{ColorOneNamed={RedOrange!80!BrickRed}}+
- \end{itemize}
-\\
-\hline
-\TO{Output}&\TO{Output=<value>} where \TO{<value>} can be \TO{\DO{A4paper}, Letter, A5paper, BigTablet, Tablet, SmallTablet, eReader} or \TO{Smartphone}. \TO{BigTablet}, \TO{Tablet} and \TO{SmallTablet} correspond to 13-, 11- and 8.5-inch screens respectively. \TO{eReader} is for a 6-inch e-reader. It should be noted that in the case of \TO{eReader} and \TO{Smartphone}, the requested format is larger than the actual format, so that the font sizes are much smaller than required. So the \TO{FontSize=9pt} option produces a result on their screens that may be difficult to read.\\
-\hline
- \TO{Numbers}& \TO{Numbers=<value>} where \TO{<value>} can be \TO{TextOldStyle, OldStyle, MathOldStyle, FullOldstyle}. If you don't ask for anything, you get the \enquote{lining} numbers.
-\begin{itemize}
-\item \TO{Numbers=TextOldStyle} activates oldstyle (or lower-case) digits (like these {\olddigits 0123456789}) of the erewhon font (basic text font) for the entire document.
-\item \TO{Numbers=OldStyle} activates oldsyle (or lower-case) digits for all text fonts used in the document.
-\item \TO{Numbers=MathOldStyle} activates lower-case digits only in mathematics (I can't think of any good reason to do this!).
-\item \TO{Numbers=FullOldStyle} activates lower-case digits for all text fonts as well as for mathematics.
-\end{itemize}
-It should be noted that it is always possible to switch locally from the digits selected with this option to one of their variants (for example, section titles are systematically numbered using \enquote{lining} digits, since these titles are themselves capitalized).\\
-\hline
-\TO{StylisticSet}&\TO{StylisticSet=\{<value1>, <value2>,…\}} where \TO{<value1>, <value2>,} etc. are to be taken from \TO{upint, leqslant, smaller, subsetneq} and \TO{parallelslant}. These options concern the Erewhon-Math font, which is a (very) extended opentype version by Daniel \textsc{Flipo} of the math fonts of the Fourier-Gutenberg system. For more information, see the Erewhon-Math documentation (\verb=texdoc erewhon-math= in any good terminal).\\
-\hline
-\TO{CharacterVariant}&\TO{CharacterVariant=\{<value1>, <value2>,…\}} where \TO{<value1>, <value2>,} etc. can be chosen from \TO{zero, hslash, emptyset, epsilon, kappa, pi, phi, rho, sigma, theta, partial, Ecal, Qcal} and \TO{Tcal}. These options concern the Erewhon-Math font, which is a (very) extended opentype version by Daniel \textsc{Flipo} of the math fonts of the Fourier-Gutenberg system. For more information, see the Erewhon-Math documentation (\verb=texdoc erewhon-math= in any good terminal).\end{longtable}
-
-%\medskip
-
-\section{Packages loaded by the tango document class}
-I only mention here the packages directly loaded by the tango class. Each of these packages can in turn load others...
-\begin{itemize}
-\item \verb=\RequirePackage{xcolor}=. The \TO{xcolor} package is used by the tango class to define the colors of the various themes. It is called without any options, but you can reload it in the preamble of your document with options such as \TO{dvipsnames}, \TO{svgnames} or \TO{x11names}.
-\item\verb=\RequirePackage{mathtools}=. The \TO{mathtools} package loads the \TO{amsmath} package, to which it adds a complement.
-\item\verb=\RequirePackage{geometry}=. Used by the tango class in order to define the page design of the various outputs formats. You can use the \verb=\geometry=. command in the document preamble to modify this layout.
-\item\verb=\RequirePackage{enumitem}=. Used by the tango class to configure the various \TO{list}-based environments in its own way (see section~\ref{lists}). These settings can be modified by the user in the preamble.
-\item\verb=\RequirePackage{titletoc}=. Used by the tango class to fix the table of contents appearance which can be modified by the user in the preamble.
-\item\verb=\RequirePackage[pagestyles,toctitles,newlinetospace,clearempty]{titlesec}=. Used by the tango class to configure the appearance of titles at different levels. This can be modified by the user in the preamble. The default English version adds the \TO{noindentafter} option.
-\item\verb=\RequirePackage{ccaption,caption}=. Used by the tango class to configure the captions appearance for figures and tables. (See section~\ref{figtable}).
-\item\verb=\RequirePackage{fontspec}\RequirePackage{unicode-math}=. The tango class requires \TO{lualatex}, opentype fonts, and Unicode settings.
-\item\verb=\RequirePackage{fourier-orns}=. See the section~\ref{fnts} below.
-\item\verb=\RequirePackage{iflang}=. Used by tango to send a class error message if no language option is given.
-\item\verb=\RequirePackage{babel}=. The babel package is called without options. It is up to you to pass babel options to the tango class. See section~\ref{lang} below.
-\item\verb+\RequirePackage[colorlinks,linkcolor=ColorOne,urlcolor=ColorOne]{hyperref}+. This \TO{hyperref} configuration can be modified using the \verb=\hypersetup= command in your preamble. You can also use the \TO{no-hyperref} option.
-\item\verb=\RequirePackage{array,graphicx,microtype,numprint,float,afterpage}=. These packages are provided but not explicitly used by tango.
-\end{itemize}
-
-
-\section{Fonts}\label{fnts}
-
-\subsection{The tango font system}
-Tango's main font is Erewhon, an opentype version of Utopia (a PostScript type~1 font which was designed in 1989 by Robert \textsc{Slimbach} and once donated by Adobe to the X-consortium and featured on TeXlive). Unlike Utopia, Erewhon, designed by Michael \textsc{Sharpe}, covers a large number of languages and offers a wide range of functions, available through opentype features. It should be noted that Adobe distributes a commercial opentype version of Utopia, which is less rich in glyphs than Erewhon, but has an intermediate font-weight and optical character sizes.
-
-The tango mathematical font is Erewhon~Math, a scientific complement to Erewhon designed by Daniel \textsc{Flipo}. Erewhon Math is in a way the opentype counterpart of Fourier-GUTenberg, the scientific complement to Utopia type~1 designed by me in 2002. Erewhon~Math offers a large number of functions made accessible by Daniel through the \TO{fourier-otf} package. The tango class does not load \TO{fourier-otf}, but uses all its functions through a system of options.
-
-The sans-serif font of the tango system is Noto Sans, scaled. Noto Sans is a sans-serif font for text in Latin, Cyrillic and Greek characters, with multiple weights and widths.
-
-The main (chapter) title font is Roboto Condensed Bold (as a condensed version of Noto Sans is not available on TeXlive).
-
-The monospaced font is Inconsolatazi4, scaled.
-
-Finally, tango calls the \TO{fourier-orns} package, a symbols and logos complement to the fourier system which has now an opentype version.
-
-\subsection{Replacing the tango font system}
-It is, of course, possible to use the \TO{fontspec} \verb=\setmainfont=, \verb=\setsansfont= and \verb=\setmonofont= commands and the \TO{unicode-math} \verb=\setmathfont= command in the preamble in order to modify the parameters of the tango class: this is not advisable, in my humble opinion. But one day there will probably be another class in the tango distribution which will use another font system. Such a document class could be called charlie, or foxtrot or zulu….
-
-\subsection{Font commands and text font commands}
-Here, I call \enquote{Font commands} commands whose scope can only be limited by a group or an environment. I call \enquote{Text font commands}, on the other hand, commands whose scope is limited to their argument, which must not contain a paragraph break. For example, \verb=\bfseries= is a \enquote{font command} and \verb=\textbf= is a \enquote{text font command}. Here is what is provided by tango (see table~\ref{otfcmd}, \pageref{otfcmd}). All these commands should work with Erewhon and with Noto Sans as well.
-\begin{table}[ht]
-\XTabletCommand{\centering\setlength\tabcolsep{9pt}}
-\TabletCommand{\centering}
-\caption{Tango opentype commands}\label{otfcmd}
-\ifTgoTabletOutput\begin{tabular}{l | l | l | l}%
-\else
-\begin{tabular}{llll}%
-\fi
-\hline
-\multicolumn{1}{c}{\textsf{\bfseries Command}}&
-\multicolumn{1}{c}{\textsf{\bfseries Nature}}&
-\multicolumn{1}{c}{\textsf{\bfseries Example}}&
-\multicolumn{1}{c}{\textsf{\bfseries Result}}\\
-\hline
-\verb=\superiors=&\textsf{font command} & \verb=M{\superiors rs}=&M{\superiors rs}\\
-\hline
-\verb=\scinferiors=&\textsf{font command} &\verb={\scinferiors C6H12O3}= &{\scinferiors C6H12O3}\\
-\hline
-\verb=\smartfracs=&\textsf{font command} &\verb=2{\smartfracs1/3}= &2{\smartfracs1/3} \\
-\hline
-\verb=\fullsc=&\textsf{text font command} &\verb=\fullsc{Chapter}= &\fullsc{Chapter} \\
-\hline
-\verb=\textsup=&\textsf{text font command} &\verb=M\textsup{rs}=&M\textsup{rs} \\
-\hline
-\verb=\textscinf=&\textsf{text font command} &\verb=\textscinf{C6H12O3}= &\textscinf{C6H12O3} \\
-\hline
-\verb=\smartfrac=&\textsf{text font command} &\verb=2\smartfrac{3/4}= &2\smartfrac{3/4} \\
-\hline
-\verb=\olddigits=&\textsf{font command} &\verb={\olddigits01234}= &{\olddigits01234} \\
-\hline
-\verb=\liningdigits=&\textsf{font command} &\verb={\olddigits01\liningdigits01}= &{\olddigits01\liningdigits01} \\
-\hline
-\verb=\propdigits=&\textsf{font command} &\verb={\propdigits011\olddigits011}= &{\propdigits011\olddigits011} \\
-\hline
-\verb=\tabulardigits=&\textsf{font command} &\verb={\tabulardigits011\olddigits011}= &{\tabulardigits011\olddigits011} \\
-\hline
-\end{tabular}
-
-
-\end{table}
-
-
-\section{Using tango}
-
-\subsection{Generalities}
-The tango interface is not so different from that of the standard \TO{article} and \TO{book} document classes. Configuration is essentially a matter of choosing options.
-
-For advanced use, it is useful to refer to the documentation for the various packages: first, of course, \TO{unicode-math}, \TO{fontspec}, \TO{mathtools} and \TO{amsmath}. But if you want to change the style of titles, for example, you could take a look at the \TO{titlesec} documentation, and to change the style of lists (enumerate, itemize, etc.), take a look at \TO{enumitem}. The \TO{geometry} package is essential for anyone wanting to obtain a particular layout. And so on.
-\subsection{Modified standard commands}
-Since documents designed with the \TO{article} option can become chapters in a book composed later with the \TO{book} option, the \verb+\part+ command inherited from the \TO{article} class has been deactivated (only for article-typeset documents)
-
-Similarly, the \TO{article} version benefits from a \verb+\tgotitle+ command that lets you define the main title of the document. The \verb+\tgotitle*+ version exists but does nothing more or less than the unstarred command. However, in the \TO{book} version, \verb+\tgotitle+ is an alias for \verb+\chapter+ (and \verb+\tgotitle*+ is an alias for \verb+\chapter*+), so the unnumbered title of a handout very easily becomes the numbered title of a chapter in a book. This, of course, assumes that the \verb+\includeonly+/\verb+\include+ mechanism is used... A model (currently written in French) is provided in the \TO{examples} directory.
-
-The command \verb+\tableofcontents+ can only be used with the \TO{book} option; it is deactivated with the \TO{article} option: in this case, you have to use \verb+\tgoshorttoc+ instead (of course \verb+\tgoshorttoc+ is in turn deactivated in the \TO{book} version). Note that, if you need multiple or partial tocs, you have to use a dedicated package.
-
-\subsection{Using two or more output formats}
-What I'm describing here is still rudimentary and experimental. It will be developed further if it proves successful.
-
-For each output format, two particular commands are provided. For example, in case of the \TO{Smartphone} output option, you have \verb+\SmartphoneCommand+ and \verb+\XSmartphoneCommand+. The \verb+\SmartphoneCommand+ argument is only taken into account if \TO{Output=Smartphone} have been used. Conversely, the \verb+\XSmartphoneCommand+ argument is only taken into account if this option has not been used.
-\begin{example}[Examples]
-\begin{itemize}
-\item \verb+\SmartphoneCommand{\pagebreak}+ asks for a page break only for the smartphone output.
-\item \verb+\XSmartphoneCommand{\[< long math formula >\]}+
-\par \verb+\SmartphoneCommand{\begin{multline*}<split formula>\end{multine*}}+
-\par asks for a multline version of a formula only for the smartphone output
-\end{itemize}
-\end{example}
-
-Provided commands are:
-\begin{itemize}
-\item\verb+\AfourCommand+ and \verb+\XAfourCommand+ for the A4 format;
-\item\verb+\LetterCommand+ and \verb+\XLetterCommand+ for the letter format;
-\item\verb+\AfiveCommand+ and \verb+\XAfiveCommand+ for the A5 format;
-\item\verb+\BigTabletCommand+ and \verb+\XBigTabletCommand+ for the big tablet format;
-\item\verb+\TabletCommand+ and \verb+\XTabletCommand+ for the tablet format;
-\item\verb+\SmallTabletCommand+ and \verb+\XSmallTabletCommand+ for the small tablet format;
-\item\verb+\eReaderCommand+ and \verb+\XeReaderCommand+ for the e-reader format;
-\item\verb+\SmartphoneCommand+ and \verb+\XSmartphoneCommand+ for the smartphone format.
-\end{itemize}
-\subsection{All the color themes}
-\indent\par
-\hspace*{0pt}\hfil\showtheme{Blue}\hfil\showtheme{Azur}\hfil\showtheme{Navy}\hfil\showtheme{USAF}\hfil%
-\showtheme{Framboise}\hfil\null
-\par\bigskip\par
-\hspace*{0pt}\hfil\showtheme{Red}\hfil\showtheme{Brique}\hfil\showtheme{Caramel}\hfil\showtheme{Sienne}\hfil\showtheme{Olive}\hfil\null
-\par\bigskip\par
-\hspace*{0pt}\hfil\showtheme{Tannen}\hfil\showtheme{GrayGray}\hfil\showtheme{Steel}\hfil\showtheme{Ink}\hfil\showtheme{BlackAndWhite}\hfil\null
-
-\section{Language settings}\label{lang}
-A language option \emph{must} be passed to the \TO{babel} package via the tango class: this is true \emph{even} for English-speaking people. A class error message will be generated otherwise. If you ignore this message you will get no hyphenation patterns at all!
-
-For now, only the English and French languages are fully supported. With other languages, you benefit from the \TO{babel} facilities, but the \enquote{tango words} will remain defined by:
-\begin{verbatim}
-\newcommand\TgoTheoremName{Theorem}
-\newcommand\TgoDefinitionName{Definition}
-\newcommand\TgoPropositionName{Proposition}
-\newcommand\TgoLemmaName{Lemma}
-\newcommand\TgoCorollaryName{Corollary}
-\newcommand\TgoRemarkName{Remark}
-\newcommand\TgoExampleName{Example}
-\newcommand\TgoContentsName{Contents}
-\newcommand\TgoExerciseName{Exercise}
-\newcommand\TgoExercisesSubsectionName{Exercises}
-\newcommand\TgoExercisesSectionName{Exercises}
-\end{verbatim}
-If you want to use tango with a new language, here is what you can do:
-\begin{enumerate}
-\item Translate these names in your language (for now it is done only for the french language), using \verb+\renewcommand+.
-\item (Better) Mail me all the necessary information (at least babel language option used and your translation of the tango names) and I will adapt the tango class to your language.
-\end{enumerate}
-\section{Statements}\label{st-section}
-
-\subsection{Predefined statements}
-The environments offered by the tango document class for the statements were defined using the \verb+\newstatement+ command, whose syntax is:
-\begin{tcolorbox}
-\begin{verbatim}
-\newstatement{<environment>}{<counter>}{<statement-name>}[<optionnal-font-command>]
-\end{verbatim}
-\end{tcolorbox}
-For example, the \TO{thm}, \TO{defin}, \TO{propo}, \TO{coro} and \TO{lem} environments have been defined using something like:
-\begin{tcolorbox}
-\begin{verbatim}
-\newcounter{thm} \newstatement{thm}{thm}{Theorem}[\itshape]
-\newcounter{defin} \newstatement{defin}{defin}{Definition}
-\newcounter{propo} \newstatement{propo}{propo}{Proposition}[\itshape]
-\newcounter{coro} \newstatement{coro}{coro}{Corollary}
-\newcounter{lem} \newstatement{lem}{lem}{Lemma}
-\end{verbatim}
-\end{tcolorbox}
-
-
-If you type:
-
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{propo}
-The sum of two odd integers is an even integer.
-\end{propo}
-\begin{thm}[pons asinorum]
-The angles at the base of an isosceles triangle are equal.
-\end{thm}
-\end{verbatim}
-\end{tcolorbox}
-
-you will obtain:
-\begin{propo}
-The sum of two odd integers is an even integer.
-\end{propo}
-\begin{thm}[pons asinorum]
-The angles at the base of an isosceles triangle are equal.
-\end{thm}
-
-As you can see, each statement defined with \verb+\newstatement+ has an optional bracketed argument (which is displayed within parentheses after the statement name and number). Please, note that these environments should not be used inside a \TO{list}-based environment (like center, quote, enumerate, itemize…).
-
-For each statement defined with \verb+\newstatement+ there is also
-\begin{itemize}
-\item a starred form with no statement number:
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{coro*}
-The angles at the base of an isosceles triangle are equal.
-\end{coro*}
-\end{verbatim}
-\end{tcolorbox}
-\end{itemize}
-\begin{coro*}
-The angles at the base of an isosceles triangle are equal.
-\end{coro*}
-\begin{itemize}
-\item and an optional first argument delimited with \verb+< >+ to replace locally the full theorem name.
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{thm*}<D'Alembert-Gauss theorem>[fundamental theorem of algebra]
-Every non-constant single-variable polynomial with
-complex coefficients has at least one complex root.
-\end{thm*}
-\end{verbatim}
-\end{tcolorbox}
-\end{itemize}
-\begin{thm*}<D'Alembert-Gauss theorem>[fundamental theorem of algebra]
-Every non-constant single-variable polynomial with complex coefficients has at least one complex root.
-\end{thm*}
-
-\subsection{Defining your own statements}
-If you need a new statement type, say an axm environment for axioms, it's easy:
-\begin{tcolorbox}
-\begin{verbatim}
-\newcounter{axio} \newstatement{axm}{axio}{Axiom}
-\end{verbatim}
-\end{tcolorbox}
-Note that it is up to you to define the counter for this new environment: if this counter does not still exist, it has to be created with \verb+\newcounter+. Of course, the counter name may be different from the environment name. If you have used the \TO{no-statement} option, you will have to define all the statements you need, with the environment names you prefer.
-
-\subsection{Redefining existing statements}
-The \verb+\newstatement+ command has a \verb+\renewstatement+ companion to redefine existing statement environment. Precisely, you need to use \verb+\renewstatement{foo}…+ instead of \verb+\newstatement{foo}…+ if and only if the \verb+foo+ environment has already been defined.
-
-\begin{example}[Examples]
-\begin{enumerate}
-\item You can redefine the \TO{propo} environment in such a way that it uses the same counter as the \TO{thm} environment and is displayed in the upright font:
-\begin{tcolorbox}
-\begin{verbatim}
-\renewstatement{propo}{thm}{Proposition}
-\setcounter{thm}{0}
-\begin{propo}
-The sum of two odd integers is an even integer.
-\end{propo}
-\begin{thm}
-The angles at the base of an isosceles triangle are equal.
-\end{thm}
-\end{verbatim}
-\end{tcolorbox}
-\end{enumerate}
-\renewstatement{propo}{thm}{Proposition}
-\setcounter{thm}{0}
-\begin{propo}
-The sum of two odd integers is an even integer.
-\end{propo}
-\begin{thm}
-The angles at the base of an isosceles triangle are equal.
-\end{thm}
-
-\begin{enumerate}[resume]
-\item If you have already written \emph{all} your algebra book in Latex, with propositions, theorems and corollaries and you realize that, \emph{now}, you want there is no more difference between propositions, theorems and corollaries: the three types of statements should be typeset in italic, named \enquote{Proposition} and numbered with the same counter, you can just use in your preamble:
-
-\begin{tcolorbox}
-\begin{verbatim}
-\renewstatement{coro}{thm}{Proposition}[\itshape]
-\renewstatement{propo}{thm}{Proposition}[\itshape]
-\renewstatement{thm}{thm}{Proposition}[\itshape]
-\setcounter{thm}{0}
-\begin{propo}
-The sum of two odd integers is an even integer.
-\end{propo}
-\begin{thm}
-The sum of two even integers is an even integer.
-\end{thm}
-\begin{coro}
-If two integers have the same parity, their sum is even.
-\end{coro}
-\end{verbatim}
-\end{tcolorbox}
-and you will get
-
-\end{enumerate}
-\renewstatement{coro}{thm}{Proposition}[\itshape]
-\renewstatement{propo}{thm}{Proposition}[\itshape]
-\renewstatement{thm}{thm}{Proposition}[\itshape]
-\setcounter{thm}{0}
-\begin{propo}
-The sum of two odd integers is an even integer.
-\end{propo}
-\begin{thm}
-The sum of two even integers is an even integer.
-\end{thm}
-\begin{coro}
-If two integers have the same parity, their sum is even.
-\end{coro}
-
-
-instead of
-
-\setcounter{thm}{0}\setcounter{propo}{0}
-\renewstatement{thm}{thm}{Theorem}[\itshape]
-\renewstatement{propo}{propo}{Proposition}[\itshape]
-\renewstatement{coro}{coro}{Corollary}
-\begin{propo}
-The sum of two odd integers is an even integer.
-\end{propo}
-\begin{thm}
-The sum of two even integers is an even integer.
-\end{thm}
-\begin{coro}
-If two integers have the same parity, their sum is even.
-\end{coro}
-\begin{enumerate}[resume]
-\item And finally \verb+\renewstatement+ and \verb+\newstatement+ have a starred form with which statement numbers are displayed \emph{before} the statement name. More, if the statement counter is the subsection or subsubsection counter, the concerned statement titles are displayed in the same form and placement as subsection or subsubsection titles; of course the placement depends on the value of \TO{notitleindent}.
-\begin{tcolorbox}
-\begin{verbatim}
-\renewstatement*{thm}{thm}{Theorem}
-\begin{thm}<D'Alembert-Gauss theorem>[fundamental theorem of algebra]
-Every non-constant single-variable polynomial with
-complex coefficients has at least one complex root.
-\end{thm}
-\renewstatement*{thm}{subsection}{Theorem}[\itshape]
-\begin{thm}<D'Alembert-Gauss theorem>[fundamental theorem of algebra]
-Every non-constant single-variable polynomial with
-complex coefficients has at least one complex root.
-\end{thm}
-\renewstatement*{thm}{subsubsection}{Theorem}
-\begin{thm}<D'Alembert-Gauss theorem>[fundamental theorem of algebra]
-Every non-constant single-variable polynomial with
-complex coefficients has at least one complex root.
-\end{thm}
-\end{verbatim}
-\end{tcolorbox}
-\end{enumerate}
-\end{example}
-\renewstatement*{thm}{thm}{Theorem}
-\begin{thm}<D'Alembert-Gauss theorem>[fundamental theorem of algebra]
-Every non-constant single-variable polynomial with complex coefficients has
-at least one complex root.
-\end{thm}
-\renewstatement*{thm}{subsection}{Theorem}[\itshape]
-\begin{thm}<D'Alembert-Gauss theorem>[fundamental theorem of algebra]
-Every non-constant single-variable polynomial with complex coefficients has
-at least one complex root.
-\end{thm}
-\renewstatement*{thm}{subsubsection}{Theorem}
-\begin{thm}<D'Alembert-Gauss theorem>[fundamental theorem of algebra]
-Every non-constant single-variable polynomial with complex coefficients has
-at least one complex root.
-\end{thm}
-
-
-
-\section{Exercises}
-\subsection{Typesetting exercises}
-Tango provides the \verb+\exo+ command which lets you typeset a numbered exercise (the counter is \TO{tgoexo}). There is a starred version, which is not numbered. As for the statements, the bracketed option provides a complementary title between parenthesis and the \enquote{\TO{< >}} marked first option provides a substitution title.
-\begin{tcolorbox}
-\begin{verbatim}
-\exo
-Prove that if $G$ is a finite group and $H$ a subgroup of $G$,
-then the order of $H$ divides the order of $G$.
-\exo[Lagrange theorem]
-Prove that if $G$ is a finite group and $H$ a subgroup of $G$,
-then the order of $H$ divides the order of $G$.
-\end{verbatim}
-\end{tcolorbox}
-\exo
-Prove that if $G$ is a finite group and $H$ a subgroup of $G$, then the order of $H$ divides the order of $G$.
-\exo[Lagrange theorem]
-Prove that if $G$ is a finite group and $H$ a subgroup of $G$,
-then the order of $H$ divides the order of $G$.
-\begin{tcolorbox}
-\begin{verbatim}
-\newcommand\tgostar{\raisebox{-0.5ex}{\large\textborn}}
-\exo*<Chinese remainder problem>[\tgostar\tgostar\tgostar]
-Let $n_1,\ldots, n_k$ be integers greater than $1$ and let us denote by $N$
-the product of the $n_i$. Prove that if the $n_i are pairwise coprime, and if
-$a_1,\ldots, a_k$ are any integers, then the system
-\begin{align*}
-x&\equiv a_1 \pmod{n_1}\\
-&\!\vdots\\
-x&\equiv a_k \pmod{n_k}
-\end{align*}
-has a solution, and any two solutions are congruent modulo $N$.
-\end{verbatim}
-\end{tcolorbox}
-\newcommand\tgostar{\raisebox{-0.5ex}{\large\textborn}}
-\exo*<Chinese remainder problem>[\tgostar\tgostar\tgostar]
-Let $n_1,\ldots, n_k$ be integers greater than $1$ and let us denote by $N$ the product of the $n_i$.
-Prove that if the $n_i$ are pairwise coprime, and if $a_1,\ldots, a_k$ are any integers, then the system
-\begin{align*}
-x&\equiv a_1 \pmod{n_1}\\
-&\!\vdots\\
-x&\equiv a_k \pmod{n_k}
-\end{align*}
-has a solution, and any two solutions are congruent modulo $N$.
-\subsection{The secexo and chapexo environments}
-These environments are designed to present a part devoted to exercises at the end of a section (in the case of \TO{secexo}) or a chapter (in the case of \TO{chapexo}). Within these environments, you can use the command \verb+\exo+
-
-The title, in capitals and centred, is \enquote{EXERCISES} by default. The optional argument in square brackets allows you to choose another. This title is added to the table of contents.
-
-Finally, there is a starred form (\verb+\begin{secexo*)+…\verb+\end{secexo*}+ which allows you to compose the exercises within these sections in a smaller font size (exept if the main font size is nine points).
-
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{secexo*}[Example of an exercises subsection]
-\exo Prove that the sum of two even integers is an even integer.
-\exo Prove that the sum of two odd integers is an even integer.
-\end{secexo*}
-\end{verbatim}
-\end{tcolorbox}
-\begin{secexo*}[Example of an exercises subsection]
-\exo Prove that the sum of two even integers is an even integer.
-\exo Prove that the sum of two odd integers is an even integer.
-\end{secexo*}
-
-\section{Lists}\label{lists}
-\subsection{General principles}
-All the horizontal motion in tango is performed in steps equal to an integer multiple of the \verb+\TgoStandardMargin+ length parameter. When the tango class is loaded, the value of this parameter is set to 1.5em, as are paragraph indentation and title indentation (unless these two values are fixed to zero). Successive labels in the enumerate and itemize environments are therefore successively positioned at 1.5em, 3em, 4.5em, etc. from the main margin. It could be unadvised to change these settings (or this should be done using the enumitem package).
-\subsection{List based environments}
-There are two main lists configurations. The first, active by default, is set with \verb+\tgostandardlists+; the second is set with \verb+\tgosmartlists+.
-%
-With \verb+\tgostandardlists+ the text corresponding to a given level is shifted to the right (by a value equal to \verb+\TgoStandardMargin+...) with respect to the corresponding label.
-%
-With \verb+\tgosmartlists+, conversely, the text corresponding to a given level is shifted to the left (by a value equal to \verb+\TgoStandardMargin+...) in relation to the corresponding label.
-\renewtgolabels*\tgostandardlists
-
-Here is the default behaviour of the \TO{itemize} environment (\TO{enumerate} is not different).
-\begin{itemize}
-\item Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
-\item Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat.
-\begin{itemize}
-\item Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla.
-\begin{itemize}
-\item Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
-\begin{itemize}
-\item Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla.
-\end{itemize}
-\item Donec varius orci eget risus. Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
-\end{itemize}\end{itemize}
-\item Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat.
-\end{itemize}
-
-\bigskip
-
-And now with \verb+\tgosmartlists+ \tgosmartlists
-\begin{itemize}
-\item Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
-\item Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat.
-\begin{itemize}
-\item Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla.
-\begin{itemize}
-\item Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
-\begin{itemize}
-\item Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla.
-\end{itemize}
-\item Donec varius orci eget risus. Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
-\end{itemize}\end{itemize}
-\item Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat.
-\end{itemize}
-
-Note that \verb+\tgosmartlists+ seems most interesting when you use mainly the first level of these environments.
-Since the \verb+\tgosmartlists+ doesn't support very well a construction like
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{enumerate}
-\item\begin{enumerate}\item
-…
-\end{verbatim}
-\end{tcolorbox}
-that is frequent in exercises questions,
-the \TO{secexo} and \TO{chapexo} environments set locally the lists to \verb+\tgostandardlists+. It is not the case with the \verb+\exo+ command which has no local context. \tgostandardlists
-
-\subsection{Redefining labels of itemize lists}
-Tango provides a \verb+\renewtgolabels+ command which permits to modify the labels of the \TO{itemize} environment. Arguments are numbered from 1 to 4 (there is four levels of itemize lists in Latex) and must be used like in the examples below.
-\begin{example}[Examples]
-\begin{itemize}
-\item\verb=\renewtgolabels1{\lefthand}= will replace the first label by the \verb=\lefthand= symbol.
-\renewtgolabels1{\lefthand}
-\item\verb=\renewtgolabels4{\textbullet}1{\openbullet}3{\textemdash}= changes the label for the first (again), the third and the fourth levels. Level 2 remains unchanged. As you can see, the order of the arguments is unimportant. \renewtgolabels4{\textbullet}1{\openbullet}3{\textemdash}
-\end{itemize}
-\end{example}
-
-There is also a starred form that restore the initial label (as at the load of the class) which are \verb=\textbullet=, \textbullet, for the level 1, \verb=\textopenbullet=, \textopenbullet, for the level 2, \verb=\starredbullet=, \starredbullet, for the level 3 and \verb=\textperiodcentered=, \textperiodcentered{} for the level 4 (note that this is the tango default, but \emph{not} the Latex default).
-
-\renewtgolabels*
-\begin{example}[Examples]
-\begin{itemize}
-\item\verb=\renewtgolabels*= restore all the initial values.
-\item\verb=\renewtgolabels*2{\textendash}= restore initial values except for the second level which is changed to \textendash.
-\end{itemize}
-\end{example}
-
-
-\section{Other environments}
-In addition to the statements environments, the tango class offers the following environments:
-\subsection{The remark and example environments}
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{remark}
-This is a very good remark.
-\end{remark}
-\begin{example}
-This is a very short example.
-\end{example}
-\end{verbatim}
-\end{tcolorbox}
-\begin{remark}
-This is a very good remark.
-\end{remark}
-\begin{example}
-This is a very short example.
-\end{example}
-
-These two environments have a bracketed optional argument which displays a replacement title. For example:
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{example}[Remarks]
-\begin{enumerate}
-\item A first (very good) remark.
-\item A second remark (which is best, if possible).
-\end{enumerate}
-\end{example}
-\end{verbatim}
-\end{tcolorbox}
-\begin{example}[Remarks]
-\begin{enumerate}
-\item A first (very good) remark.
-\item A second remark (which is best, if possible).
-\end{enumerate}
-\end{example}
-
-\subsection{The alert environment}
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{alert}
-You should not even try to use \verb+\expandafter\expandafter\expandafter+
-unless you are actually a very experimented \TeX{} user, because you could get
-a terrible headhache.
-\end{alert}
-\end{verbatim}
-\end{tcolorbox}
-\begin{alert}
- You should not even try to use \verb+\expandafter\expandafter\expandafter+
-unless you are actually a very experimented \TeX{} user, because you could get
-a terrible headhache.
-\end{alert}
-
-The \TO{alert} environment also support an optional bracketed argument.
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{alert}[\bomb]
-You should not even try to use \verb+\expandafter\expandafter\expandafter+
-unless you are actually a very experimented \TeX{} user, because you could get
-a terrible headhache.
-\end{alert}
-\end{verbatim}
-\end{tcolorbox}
-\begin{alert}[\bomb]
- You should not even try to use \verb+\expandafter\expandafter\expandafter+
-unless you are actually a very experimented \TeX{} user, because you could get
-a terrible headhache.
-\end{alert}
-
-\subsection{The proof environment}
-The \TO{proof} environment is adapted from the \TO{amsthm} package. It also support a bracketed optional argument for a replacement title. The \verb+\qedhere+ command is also usable.
-\renewstatement{thm}{thm}{Theorem}[\itshape]
-\setcounter{thm}{0}
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{thm}
-The sum of two odd integers is an even integer.
-\end{thm}
-\begin{proof}
-Let $p$ and $q$ be two odd integers. We have to prove that there
-exists an integer $n$ such that $p+q=2n$.
-We know that there is an integer $p_1$ and an integer $q_1$ such that
-\[p=2p_1+1\text{ and } q=2q_1+1,\]
-hence
-\begin{align*}p+q&=(2p_1+1)+(2q_1+1)\\
-&=2\underbrace{(p_1+q_1+1)}_{n}\qedhere
-\end{align*}
-\end{proof}
-\end{verbatim}
-\end{tcolorbox}
-\begin{thm}
-The sum of two odd integers is an even integer.
-\end{thm}
-\begin{proof}
-Let $p$ and $q$ be two odd integers. We have to prove that there exists an integer $n$ such that $p+q=2n$.
-We know that there is an integer $p_1$ and an integer $q_1$ such that
-\[p=2p_1+1\text{ and } q=2q_1+1,\]
-hence
-\begin{align*}p+q&=(2p_1+1)+(2q_1+1)\\
-&=2\underbrace{(p_1+q_1+1)}_{n}\qedhere
-\end{align*}
-\end{proof}
-
-\section{Figures, tables, floats and captions}\label{figtable}
-Thanks to the \TO{caption} package, the following have been defined:
-\begin{itemize}
-\item\verb+\tgofigcaption+ (for figures);
-\item and \verb+\tgotabcaption+ (for tables).
-\end{itemize}
-These two commands provide captions similar in appearance to what could be obtained with \verb+\caption+, but also work in the case of non-floating objects.
-
-In this way it is possible to include small tables and figures in a fixed position, with nothing in their appearance to distinguish them from floating objects (whose use is still recommended in most cases).
-
-\end{document}
diff --git a/macros/latex/contrib/tango/doc/tango-fr.pdf b/macros/latex/contrib/tango/doc/tango-fr.pdf
deleted file mode 100644
index 491f9742e7..0000000000
--- a/macros/latex/contrib/tango/doc/tango-fr.pdf
+++ /dev/null
Binary files differ
diff --git a/macros/latex/contrib/tango/doc/tango-fr.tex b/macros/latex/contrib/tango/doc/tango-fr.tex
deleted file mode 100644
index eb65bff081..0000000000
--- a/macros/latex/contrib/tango/doc/tango-fr.tex
+++ /dev/null
@@ -1,797 +0,0 @@
-% !TEX TS-program = LuaLaTeX
-\documentclass[french,ColorTheme=USAF,FontSize=10pt]{tango}
-%\setmonofont{Latin Modern Mono}[Scale=MatchUppercase]
-\usepackage{longtable,csquotes,lipsum,tcolorbox}
-\usepackage[dvipsnames]{xcolor}
-\newcommand\DO[1]{\textcolor{ColorOne}{\bfseries #1}}
-\newcommand\TO[1]{\textsf{#1}}
-%%
-\NewDocumentCommand\showtheme{m}
-{{\tgosetup{ColorTheme=#1}
-\parbox{2.1cm}{\centering
-\textsf{#1\rule[-3pt]{0pt}{10pt}}\\
-\colorbox{ColorOne}{\parbox{1.5cm}{\rule[-5pt]{0pt}{15pt}}}
-\par
-\colorbox{ColorTwo}{\parbox{1.5cm}{\rule[-5pt]{0pt}{15pt}}}
-\par
-}}}
-%
-%\tgosmartlists
-\renewtgolabels1{\lefthand}
-\definecolor{ColorThree}{rgb}{0.93,0.95,0.97}
-\tcbset{colback=ColorTwo,colframe=ColorTwo,sharp corners}
-\frenchspacing
-%\setcounter{section}{88}
-\begin{document}
-
-\renewcommand{\arraystretch}{1.1}
-\title{\textcolor{ColorOne}{\floweroneleft}\,La classe de documents tango\,\textcolor{ColorOne}{\floweroneright}}
-\author{\href{mailto:michel.bovani@icloud.com}{Michel \textsc{Bovani}}}
-\date{\today\\v. 0.7.1}
-{\sffamily
-\maketitle
-
-}
-\thispagestyle{empty}
-
-\tgoshorttoc
-\section{Qu'est-ce que la classe tango ?}
-
-
-Tango est une classe de documents pour le système de composition Latex (au début du document source, il convient donc de saisir \verb=\documentclass[<options>]{tango}=) à l'usage des professeurs de mathématiques (\emph{grosso modo}, sur le segment bac$-3$-bac$+3$). Elle est conçue pour la composition de divers types de documents, du petit polycopié au livre complet. Pour l'essentiel, le côté \frquote{dédié aux maths} consiste à :
-\begin{itemize}
-\item Charger des packages dédiés (amsmath, unicode-math \&Co).
-\item Proposer des commandes et des environnements pour les théorèmes, propositions, définitions, exercices, etc.
-\end{itemize}
-
-Tango est raisonnablement configurable, même si j'ai dû imposer certains choix : utilisation obligatoire de lualatex, des fontes opentype, et d'une installation récente, notamment. La classe propose huit formats de sortie, dont cinq sont adaptés aux tablettes, liseuses ou smartphones. Un procédé encore imparfait permet d'introduire une saisie particulière pour un format de sortie donné (par exemple de forcer un saut de page pour le format A5 seulement). La classe tango peut aussi être utilisée pour des projets de portée plus générale que des cours de mathématiques : des cours de sciences, bien sûr, mais aussi des choses très différentes, si l'on est prêt à un effort de configuration supplémentaire (voir le répertoire \TO{candide} dans les exemples).
-
-Une autre classe Latex, conçue pour réaliser des documents support au travail scolaire (énoncés d'exercices, sujets de devoirs ou d'examens) devrait être disponible sous peu. Il est prévu qu'elle se nomme \frquote{\TO{bravo}}.
-
-\section{Panorama des options}
-Veuillez noter que le tableau ci-dessous mentionne pour l’essentiel les options effectivement traitées par tango. D'autres options peuvent être, lorsqu’elles sont utilisées à l'appel de la classe, simplement transmises à certains packages. C'est le cas par exemple des options de langues de babel, ou de l'option \TO{math-style} passée au package unicode-math.
-
-Les valeurs par défaut sont présentées en bleu gras. Les options en gras, marquées d'un astérisque, peuvent être activées dans le préambule ou le corps du document à l'aide de la commande \verb+\tgosetup+ : par exemple, vous pouvez utiliser \verb+\tgosetup{ColorTheme=Navy}+ pour changer les couleurs à l'intérieur de votre document. Les autres options ne peuvent être utilisées qu'à l'appel de la classe.
-
-\begin{longtable}{p{0.23\linewidth}p{0.7\linewidth}}
-\caption[]{Les options de la classe tango}\\
-\textbf{Option}&\textbf{Utilisation}\\
-\hline\endhead
-\hline\multicolumn{2}{r}{\emph{Voir page suivante}}\endfoot
-\hline\endlastfoot
-\hline\endlastfoot
-\TO{french}&\TO{french=true/\DO{false}}. Adaptation à la langue française et noms définis par la classe tango (\frquote{Theorem} donne par exemple \frquote{Théorème}). Usage indispensable pour les utilisateurs de langue française. Cette option est également passée au package babel.\\
-\hline
-\TO{<options de langue>}& Tango transmettra au package \TO{babel} toutes les options de langue. Notez bien que :
-\begin{itemize}
-\item Seuls l'anglais et le français sont complètement implémentés.
-\item Même les locuteurs anglais doivent passer une option de langue pour \TO{babel} (\TO{english, british, UKenglish, USenglish} ou \TO{american}) à la classe tango.
-\end{itemize}
-Voir la section~\ref{lang} plus loin.\\
-\hline
-\TO{no-statement}&\TO{no-statement=true/\DO{false}}. Des environnements \TO{thm}, \TO{defin}, \TO{lem}, \TO{coro}, \TO{propo} (pour présenter les théorèmes, définitions, lemmes, corollaires et propositions) sont définis par défaut. L'option \DO{no-statement} vous permet de définir ces environnements vous-même avec une configuration plus personnelle (voir les commandes \verb=\newstatement= and \verb=\renewstatement= dans la section~\ref{st-section} page~\pageref{st-section}).\\
-\hline
-\TO{no-hyperref}&\TO{no-hyperref=true/\DO{false}}. Si vous souhaitez vous contenter d'une sortie papier…\\
-\hline
-\TO{no-indent/indent}&\TO{no-indent=true/\DO{false}}. Les retraits d'alinéa sont présents par défaut. L'option \TO{no-indent} (alias court de \TO{no-indent = true}) les supprime. Une option \TO{indent} existe également, quoiqu'elle ne soit pas très utile.\\
-\hline
-\TO{no-titleindent}/\TO{titleindent}&Les retraits d'alinéa pour les titres sont présents par défaut en français uniquement. (La raison en est qu'en typographie française le premier paragraphe après un titre subit ce retrait comme les autres paragraphes, ce qui n'est pas le cas en typo anglaise : je préfère donc dans ce cas, mais cela peut être débattu, que le titre subisse lui aussi ce retrait.) Vous pouvez utiliser \TO{no-tiltleindent} en français ou \TO{titleindent} en anglais pour changer le comportement pas défaut. Ces deux options doivent être appelées \emph{après} l'option de langue.\\
-\hline
-\TO{\textbf{ThmNamePos*}}&\TO{ThmNamePos=<valeur>} ou \TO{<valeur>} peut être \TO{\DO{left}} ou \TO{right}. Le nom de l'énoncé (Théorème, Définition, etc.) est affiché à gauche ou à droite de l'encadré.\\
-\hline
-\TO{PubliClass}&\TO{PubliClass=<valeur>} où \TO{<valeur>} peut être \TO{\DO{article}} ou \TO{book}. Indique la classe de base souhaitée (la classe standard \TO{article} ou la classe standard \TO{book}). La classe tango est conçue de telle sorte que des petits polycopiés fabriqués au jour le jour et composés avec l'option \TO{article} puissent être regroupés et devenir les chapitres d'un même volume avec l'option \TO{book}. Voyez le répertoire \texttt{mathematics} dans la partie exemples de la documentation. Avec l'option \TO{article}, les commandes \verb=\part= et \verb=\tableofontents= sont désactivées. La commande \verb=\tgoshorttoc= peut être utilisée pour obtenir un sommaire au début d'une monographie ou d'un polycopié.\\
-\hline
-\TO{oneside/twoside}& L'option \TO{twoside} est pour une sortie en recto verso, alors que \TO{oneside} est adaptée au recto simple. La valeur par défaut est \TO{\DO{oneside}}. Pour l'instant, il n'y a pas d'ajustement des marges intérieures et extérieures avec \TO{twoside} mais il est techniquement facile de réaliser des blancs tournants à votre convenance grâce à la commande \verb=\geometry= employée dans le préambule. Notez que les gens compliqués ou amateurs de détours pourront préférer \TO{twoside=false} à \TO{oneside}.\\
-\hline
-\TO{FontSize}&\TO{FontSize=<valeur>} où \TO{<valeur>} peut être \TO{9pt}, \TO{\DO{10pt}}, \TO{11pt} ou \TO{12pt}.\\
-\hline
-\TO{\textbf{ColorTheme*}}&\TO{ColorTheme=<valeur>} où \TO{<valeur>} peut être \TO{Blue, Navy, USAF, Azur, Red, Framboise, Brique, Sienne, Caramel, Olive, Tannen, \DO{GrayGray}, BlackAndWhite, Ink} or \TO{Steel}. Chaque choix définit un ensemble de deux couleurs, une soutenue (ColorOne) pour les titres et une très claire (ColorTwo) pour le fond des encadrés.\\
-\hline
-\TO{\textbf{ColorOne*}/\textbf{ColorTwo*}}& Ces options permettent à l'utilisateur de définir les couleurs d'un thème personnel; dans les deux cas la valeur doit être un argument acceptable pour la commande \verb=\definecolor=. Voir la documentation du package xcolor, chargé sans option par tango.
-\begin{example}[Exemples]
- \begin{itemize}
- \item\TO{ColorOne=}\verb={rgb}{0.75,0.1,0.05}=
- \item\TO{ColorOne=}\verb={cmyk}{0,0.8,0.8,0.2}=
- \item\TO{ColorTwo=}\verb={{rgb}{0.75,0.96,0.75}}= (notez que les accolades extérieures sont acceptées sans être obligatoires).
-\end{itemize}
-\end{example}
-\\
-\hline
-\TO{\textbf{ColorOneNamed*}} / \\
-\TO{\textbf{ColorTwoNamed*}}&
- Ces options permettent à l'utilisateur de définir les couleurs d'un thème personnel; dans les deux cas la valeur doit être un argument acceptable pour la commande \verb=\colorlet=. Voir la documentation du package xcolor, chargé sans options par tango.
-\begin{example}[Exemples]
- \begin{itemize}
- \item\TO{ColorOneNamed=}\verb={red!70!blue}=
-\item\TO{ColorTwoNamed=}\verb={yellow!12}=
- \end{itemize}
-\end{example}
-Si vous souhaitez utiliser un ensemble de couleurs prédéfinies, disons par exemple \TO{dvipsnames}, il vous suffit de recharger le package \TO{xcolor} avec l'option \TO{dvipsnames} dans le préambule, puis d'utiliser la commande \verb=\tgosetup= :
-\begin{itemize}
-\item \verb+\tgosetup{ColorOneNamed={RedOrange!80!BrickRed}}+
- \end{itemize}
-\\
-\hline
-\TO{Output}&\TO{Output=<valeur>} où \TO{<valeur>} peut être \TO{\DO{A4paper}, Letter, A5paper, BigTablet, Tablet, SmallTablet, eReader} ou \TO{Smartphone}. \TO{BigTablet}, \TO{Tablet} et \TO{SmallTablet} correspondent à des écrans de 13, 11 et 8.5 pouces respectivement; \TO{eReader} configurée pour une liseuse 6 pouces. Veuillez noter qu'en ce qui concerne les formats \TO{eReader} et \TO{Smartphone}, tango demande à Latex un format supérieur au format réel, si bien que les tailles des polices sont inférieures à ce que l'on pourrait attendre. Ainsi, l'option \TO{FontSize=9pt} peut fournir des résultats qui sembleront difficilement lisibles.\\
-\hline
- \TO{Numbers}& \TO{Numbers=<valeur>} où \TO{<valeur>} peut être \TO{TextOldStyle, OldStyle, MathOldStyle, FullOldstyle}. Si vous ne demandez rien, vous obtenez les chiffres habituels, à hauteur d'une lettre capitale, parfois nommés \frquote{lining}.
-\begin{itemize}
-\item \TO{Numbers=TextOldStyle} sélectionne les chiffres bas de casse ({\olddigits 0123456789}) of de la police erewhon (fonte texte de base) pour tout.
-\item \TO{Numbers=OldStyle} sélectionne les chiffres bas de casse pour toutes les fontes de texte du document.
-\item \TO{Numbers=MathOldStyle} sélectionne les chiffres bas de casse uniquement pour les mathématiques (je ne vois aucune bonne raison de procéder ainsi).
-\item \TO{Numbers=FullOldStyle} sélectionne les chiffres bas de casse aussi bien pour les fontes de texte que pour les mathématiques.
-\end{itemize}
-Remarquons qu'il est toujours possible de basculer localement des chiffres sélectionnés par cette option à une de leurs variantes (par exemple les titres de section sont numérotés à l'aide de \frquote{grands} chiffres, dans la mesure où ces titres sont eux-mêmes en capitales).\\
-\hline
-\TO{StylisticSet}&\TO{StylisticSet=\{<valeur1>, <valeur2>,…\}} où \TO{<valeur1>, <valeur2>,} etc. sont à prendre parmi \TO{upint, leqslant, smaller, subsetneq} et \TO{parallelslant}. Ces options concernent la fonte Erewhon-Math, qui est une version opentype du système scientifique Fourier-Gutenberg, (très) étendue par Daniel \textsc{Flipo}. Pour plus d'informations, voir la documentation d'Erewhon-Math (\verb=texdoc erewhon-math= dans un terminal).\\
-\hline
-\TO{CharacterVariant}&\TO{CharacterVariant=\{<valeur1>, <valeur2>,…\}} \TO{<valeur1>, <valeur2>,} etc. sont à prendre parmi \TO{zero, hslash, emptyset, epsilon, kappa, pi, phi, rho, sigma, theta, partial, Ecal, Qcal} et \TO{Tcal}. Ces options concernent la fonte Erewhon-Math, qui est une version opentype du système scientifique Fourier-Gutenberg, (très) étendue par Daniel \textsc{Flipo}. Pour plus d'informations, voir la documentation d'Erewhon-Math (\verb=texdoc erewhon-math= dans un terminal).\\
-\end{longtable}
-
-\section{Liste des packages chargés par la classe tango}
-Je ne mentionne ici que les packages directement chargés par tango. Chacun d'eux peut à son tour charger d'autres packages.
-
-\begin{itemize}
-\item \verb=\RequirePackage{xcolor}=. Le package \TO{xcolor} est utilisé par la classe tango pour définir les couleurs des différents thèmes. Il est appelé sans option, mais vous pouvez le recharger dans le préambule avec des options comme \TO{dvipsnames}, \TO{svgnames} ou \TO{x11names}.
-\item\verb=\RequirePackage{mathtools}=. Le package \TO{mathtools} charge le package \TO{amsmath}.
-\item\verb=\RequirePackage{geometry}=. Utilisé par tango pour définir l'empagement des différents formats de sortie. Vous pouvez utiliser la commande \verb=\geometry= dans votre préambule pour modifier ce empagement, et même la maquette entière.
-\item\verb=\RequirePackage{enumitem}=. Utilisé par la classe tango pour configurer les différents environnements basés sur \TO{list} (voir la section~\ref{lists}). Ces configurations peuvent être modifiées par l'utilisateur dans le préambule.
-\item\verb=\RequirePackage{titletoc}=. Utilisé par la classe tango pour fixer l'apparence de la table des matières, que l'utilisateur peut modifier dans le préambule.
-\item\verb=\RequirePackage[pagestyles,toctitles,newlinetospace,clearempty,noindentafter]{titlesec}=. Utilisé par la classe tango pour modifier l'apparence des titres de différents niveaux. Ces configurations peuvent être modifiées par l'utilisateur dans le préambule.
-\item\verb=\RequirePackage{ccaption,caption}=. Utilisé par la classe tango pour configurer l'apparence des légendes des figures et des tables. (voir la section~\ref{figtable}).
-\item\verb=\RequirePackage{fontspec}\RequirePackage{unicode-math}=. La classe tango requiert \TO{lualatex} et les fontes opentype, y compris pour la composition des mathématiques. Voir la section~\ref{fnts} ci-dessous.
-\item\verb=\RequirePackage{iflang}=. La classe tango utilise ce package pour envoyer un message d'erreur dans le cas où elle n'a reçu aucune option de langue pour \TO{babel}.
-\item\verb=\RequirePackage{babel}=. Le package babel est appelé sans option. Les options de babel lui seront transmises par la classe tango. %See section~\ref{lang} below.
-\item\verb+\RequirePackage[colorlinks,linkcolor=ColorOne,urlcolor=ColorOne]{hyperref}+.\par Cette configuration d'\TO{hyperref} peut être modifiée en utilisant la commande \verb=\hypersetup= dans le préambule. Vous pouvez aussi utiliser l'option \TO{no-hyperref}.
-\item\verb=\RequirePackage{array,graphicx,microtype,numprint,float,afterpage}=. Ces packages sont chargés mais non explicitement utilisés par tango.
-\end{itemize}
-
-\section{Fontes}\label{fnts}
-
-\subsection{Le système de fontes de tango}
-La fonte principale est Erewhon, une version opentype d'Utopia (une fonte PosScript de type~1 qui fut conçue par Robert \textsc{Slimbach} en 1989, puis donnée au X-consortium par Adobe et figurant finalement sur TeXlive. Contrairement à Utopia, Erewhon, dessinée par Michael \textsc{Sharpe}, couvre un assez grand nombre de langues et offre de nombreuses possibilités accessibles à travers les fonctionnalités du format opentype. Il faut savoir également qu'Adobe commercialise une version opentype d'Utopia, moins riche en glyphes qu'Erewhon, mais pourvue d'une graisse intermédiaire et de corps optiques.
-
-La fonte scientifique est Erewhon~Math, un complément scientifique à Erewhon, conçu par Daniel \textsc{Flipo}. D'un certain point de vue, Erewhon est le pendant opentype de Fourier-Gutenberg, le complément scientifique d'Utopia type~1 conçu par mes soins en 2002. Erewhon~Math offre un grand nombre de fonctionnalités, rendues accessibles par Daniel à travers le package \TO{fourier-otf}. La classe tango ne charge pas le package \TO{fourier-otf} mais propose toutes ses fonctionnalités à travers son système d'options.
-
-La fonte sans sérif de tango est Noto Sans, mise à l'échelle. Il s'agit d'une fonte de texte, supportant les alphabets latin, grec et cyrillique, et pourvue de graisses multiples.
-
-La fonte utilisée pour les Titres de premier niveau (commande \verb=\tgotitle=) est Roboto Condensed Bold (puisque les graisses condensées de Noto Sans ne figurent pas sur TeXlive).
-
-La fonte à chasse fixe est Inconsolatazi4, mise à l'échelle.
-
-Enfin, tango appelle le package fourier-orns: il s'agit d'une fonte de logos et de symboles conçue par mes soins comme complément au système fourier et récemment pourvue d'une version opentype.
-
-\subsection{Utiliser tango avec un autre système de fontes}
-Il est évidemment possible d'utiliser les commandes \verb=\setmainfont=, \verb=\setsansfont= et \verb=\setmonofont= du package \TO{fontspec}, ainsi que la commande \verb=\setmathfont= du package \TO{unicode-math} dans le préambule de votre document afin de modifier les paramètres de la classe tango. Ce ne sont pas des modifications que je recommande. En revanche, la distribution tango pourrait à l'avenir proposer une autre classe pourvue d'un autre système de fontes. Une telle classe Latex pourrait se nommer charlie, ou foxtrot ou zulu…
-
-
-\subsection{“Font commands” et “text font commands”}
-Je nomme ici “Font commands” des commandes dont la portée n'est limitée que par un groupe ou un environnement. Je nomme “Text font commands”, à l'opposé, des commandes dont la portée est limitée à leur argument, lequel ne doit contenir aucun saut de paragraphe. Par exemple, \verb=\bfseries= est une “font command” et \verb=\textbf= est une “text font command”. La raison de ces dénominations, dont j'admets qu'elles sont fort critiquables, est que \verb+\textbf+ est défini de façon interne par :
-\begin{tcolorbox}
-\begin{verbatim}
-\DeclareTextFontCommand{\textbf}{\bfseries}
-\end{verbatim}
-\end{tcolorbox}
-
-Voici ce qui est proposé par la classe tango (voir le tableau~\ref{otfcmd}, \pageref{otfcmd}). Toutes ces commandes devraient fonctionner aussi bien avec Erewhon qu'avec Noto Sans.
-
-\begin{table}[ht]
-\XTabletCommand{\centering\setlength\tabcolsep{9pt}}
-\TabletCommand{\centering}
-\caption{Les commandes opentype de la classe tango}\label{otfcmd}
-\ifTgoTabletOutput\begin{tabular}{l | l | l | l}%
-\else
-\begin{tabular}{llll}%
-\fi
-\hline
-\multicolumn{1}{c}{\textsf{\bfseries Commande}}&
-\multicolumn{1}{c}{\textsf{\bfseries Nature}}&
-\multicolumn{1}{c}{\textsf{\bfseries Exemple}}&
-\multicolumn{1}{c}{\textsf{\bfseries Resultat}}\\
-\hline
-\verb=\superiors=&\textsf{font command} & \verb=1{\superiors re}=&1{\superiors re}\\
-\hline
-\verb=\scinferiors=&\textsf{font command} &\verb={\scinferiors C6H12O3}= &{\scinferiors C6H12O3}\\
-\hline
-\verb=\smartfracs=&\textsf{font command} &\verb=2{\smartfracs1/3}= &2{\smartfracs1/3} \\
-\hline
-\verb=\fullsc=&\textsf{text font command} &\verb=\fullsc{Chapitre}= &\fullsc{Chapitre} \\
-\hline
-\verb=\textsup=&\textsf{text font command} &\verb=1\textsup{re}=&1\textsup{re} \\
-\hline
-\verb=\textscinf=&\textsf{text font command} &\verb=\textscinf{C6H12O3}= &\textscinf{C6H12O3} \\
-\hline
-\verb=\smartfrac=&\textsf{text font command} &\verb=2\smartfrac{3/4}= &2\smartfrac{3/4} \\
-\hline
-\verb=\olddigits=&\textsf{font command} &\verb={\olddigits01234}= &{\olddigits01234} \\
-\hline
-\verb=\liningdigits=&\textsf{font command} &\verb={\olddigits01\liningdigits01}= &{\olddigits01\liningdigits01} \\
-\hline
-\verb=\propdigits=&\textsf{font command} &\verb={\propdigits011\olddigits011}= &{\propdigits011\olddigits011} \\
-\hline
-\verb=\tabulardigits=&\textsf{font command} &\verb={\tabulardigits011\olddigits011}= &{\tabulardigits011\olddigits011} \\
-\hline
-\end{tabular}
-
-
-\end{table}
-
-
-
-%\medskip
-
-
-\section{Utilisation de la classe tango}
-
-\subsection{Généralités}
-Concernant l'interface utilisateur, tango n'est pas très différente des classes \TO{article} ou \TO{book}. La configuration se fait essentiellement à travers le choix des options.
-
-Les utilisateurs avancés devraient se référer à la documentation des différents packages : tout d'abord \TO{unicode-math}, \TO{fontspec}, \TO{mathtools} et \TO{amsmath}. Mais si vous souhaitez, par exemple, changer le style des titres, vous pourrez consulter la documentation \TO{titlesec} ; afin de changer le style d'une liste (enumerate, itemize, etc.), voyez plutôt \TO{enumitem}. Le package \TO{geometry} est essentiel pour quiconque souhaiterait obtenir une mise en page particulière. Et ainsi de suite.
-
-
-
-\subsection{Modification de commandes standard par la classe tango}
-
-Afin que des documents composés avec l'option \TO{article} puissent devenir les chapitres d'un livre composé de façon ultérieure avec l'option \TO{book}, la commande \verb+\part+, héritée de la classe \TO{article}, a été désactivée (seulement pour les documents composés avec l'option \TO{article}).
-
-
-De même, la version \TO{article} bénéficie de la commande \verb+\tgotitle+ qui permet de définir le titre principal du document. La version étoilée \verb+\tgotitle*+ existe, mais fait exactement la même chose que la commande non étoilée. Cependant, dans la version \TO{book}, \verb+\tgotitle+ est un alias pour \verb+\chapter+ (et \verb+\tgotitle*+ est de même un alias de \verb+\chapter*+), ainsi, un titre non numéroté dans un polycopié peut facilement devenir le titre numéroté d'un chapitre de livre. Sous réserve évidemment qu'un mécanisme comme \verb+\includeonly+/\verb+\include+ ait été utilisé. Un modèle (pour l'instant en français) est fourni dans le répertoire \TO{examples}.
-
-La commande \verb+\tableofcontents+ ne peut être utilisée qu'avec l'option \TO{book}; elle est désactivée avec l'option \TO{article}: elle est alors remplacée par la commande \verb+\tgoshortoc+ (qui est elle-même désactivée avec l'option \TO{book}). Si vous avez besoin de tables des matières multiples et/ou partielles, il faudra vous tourner vers un package spécialisé.
-
-\subsection{Utiliser deux ou plusieurs formats de sortie}
-Les fonctionnalités décrites ici ont un caractère rudimentaire et sont de nature expérimentale. Elles pourront, selon leur succès, être développées dans les versions ultérieures de la classe tango.
-
-Pour chaque format de sortie, deux commandes particulières sont fournies. Par exemple, dans le cas de l'option \TO{Output=Smartphone}, vous disposez de \verb+\SmartphoneCommand+ et \verb+\XSmartphoneCommand+. L'argument de la commande \verb+\SmartphoneCommand+ n'est pris en compte que si le format de sortie \TO{Smartphone} a été sélectionné. Inversement, l'argument de \verb+\XSmartphoneCommand+ n'est pris en compte que si ce format \emph{n'a pas été} utilisé.
-\begin{example}[Exemples]
-\begin{itemize}
-\item \verb+\SmartphoneCommand{\pagebreak}+ crée un saut de page uniquement pour la sortie smartphone.
-\item \verb+\XSmartphoneCommand{\[<longue formule de maths>\]}+
-\par \verb+\SmartphoneCommand{\begin{multline*}<formule sur plusieurs lignes>\end{multine*}}+
-\par crée une version \TO{multline} (cf. \TO{amsmath}) d'une formule pour la sortie smartphone uniquement.
-\end{itemize}
-\end{example}
-
-Les commandes proposées par tango sont :
-\begin{itemize}
-\item\verb+\AfourCommand+ and \verb+\XAfourCommand+ pour la sortie A4paper;
-\item\verb+\LetterCommand+ and \verb+\XLetterCommand+pour la sortie letter;
-\item\verb+\AfiveCommand+ and \verb+\XAfiveCommand+ pour la sortie A5paper;
-\item\verb+\BigTabletCommand+ and \verb+\XBigTabletCommand+ pour la sortie BigTablet;
-\item\verb+\TabletCommand+ and \verb+\XTabletCommand+ pour la sortie Tablet;
-\item\verb+\SmallTabletCommand+ and \verb+\XSmallTabletCommand+ pour la sortie SmallTablet;
-\item\verb+\eReaderCommand+ and \verb+\XeReaderCommand+ pour la sortie eReader;
-\item\verb+\SmartphoneCommand+ and \verb+\XSmartphoneCommand+ pour la sortie Smartphone.
-\end{itemize}
-\subsection{Tous les thèmes de couleur}
-\indent\par
-\hspace*{0pt}\hfil\showtheme{Blue}\hfil\showtheme{Azur}\hfil\showtheme{Navy}\hfil\showtheme{USAF}\hfil%
-\showtheme{Framboise}\hfil\null
-\par\bigskip\par
-\hspace*{0pt}\hfil\showtheme{Red}\hfil\showtheme{Brique}\hfil\showtheme{Caramel}\hfil\showtheme{Sienne}\hfil\showtheme{Olive}\hfil\null
-\par\bigskip\par
-\hspace*{0pt}\hfil\showtheme{Tannen}\hfil\showtheme{GrayGray}\hfil\showtheme{Steel}\hfil\showtheme{Ink}\hfil\showtheme{BlackAndWhite}\hfil\null
-
-\section{Sélection de la langue}\label{lang}
-Il est impératif de passer une option de langue à babel par l'intermédiaire de la classe tango : cela est vrai même pour les personnes de langue anglaise. Un message d'erreur sera généré par la classe tango si celle-ci n'a reçu aucune option de langue à transmettre à \TO{babel} ; si vous ignorez ce message, vous devrez travailler sans aucun motif de césure.
-
-Tango possède également certains mots réservés qui sont:
-\begin{tcolorbox}
-\begin{verbatim}
-\newcommand\TgoTheoremName{Theorem}
-\newcommand\TgoDefinitionName{Definition}
-\newcommand\TgoPropositionName{Proposition}
-\newcommand\TgoLemmaName{Lemma}
-\newcommand\TgoCorollaryName{Corollary}
-\newcommand\TgoRemarkName{Remark}
-\newcommand\TgoExampleName{Example}
-\newcommand\TgoContentsName{Contents}
-\newcommand\TgoExerciseName{Exercise}
-\newcommand\TgoExercisesSubsectionName{Exercises}
-\newcommand\TgoExercisesSectionName{Exercises}
-\end{verbatim}
-\end{tcolorbox}
-
-Au chargement du français par babel (déclenché par l'option french), les traductions suivantes sont effectuées:
-\begin{tcolorbox}
-\begin{verbatim}
-\renewcommand\TgoTheoremName{Théorème}
-\renewcommand\TgoDefinitionName{Définition}
-\renewcommand\TgoPropositionName{Proposition}
-\renewcommand\TgoLemmaName{Lemme}
-\renewcommand\TgoCorollaryName{Corollaire}
-\renewcommand\TgoRemarkName{Remarque}
-\renewcommand\TgoExampleName{Exemple}
-\renewcommand\TgoContentsName{Sommaire}
-\renewcommand\TgoExerciseName{Exercice}
-\renewcommand\TgoExercisesSubsectionName{Exercices}
-\renewcommand\TgoExercisesSectionName{Exercices}
-\end{verbatim}
-\end{tcolorbox}
-
-Pour l'instant seules les langues anglaise et française sont pleinement supportées par tango. Les autres langues bénéficient des facilités offertes par babel, mais les mots réservés de tango ne sont pas traduits.
-Voici donc ce que peuvent faire les utilisateurs concernés.
-\begin{enumerate}
-\item Utiliser \verb+\renewcommand+ pour faire ces traductions eux-mêmes.
-\item (Mieux) me communiquer par mail toute l'information nécessaire (au moins l'option de langue utilisée pour babel et une traduction des mots réservés) de façon à ce que je puisse procéder aux adaptations nécessaires.
-\end{enumerate}
-
-\section{Théorèmes et énoncés divers}\label{st-section}
-
-\subsection{Éléments prédéfinis}
-Les environnements permettant de saisir les divers énoncés indispensables aux enseignants de mathématiques (définitions, théorèmes, propositions, etc.) sont définis grâce à la commande \verb+\newstatement+ dont la syntaxe est :
-\begin{tcolorbox}
-\begin{verbatim}
-\newstatement{<environnement>}{<compteur>}{<nom-générique-de-l'énoncé>}[<font-command-optionnelle>]
-\end{verbatim}
-\end{tcolorbox}
-Par exemple, les environnements, \TO{thm}, \TO{defin}, \TO{propo}, \TO{coro} et \TO{lem} ont été définis par quelque chose comme :
-\begin{tcolorbox}
-\begin{verbatim}
-\newcounter{thm} \newstatement{thm}{thm}{Théorème}[\itshape]
-\newcounter{defin} \newstatement{defin}{defin}{Définition}
-\newcounter{propo} \newstatement{propo}{propo}{Proposition}[\itshape]
-\newcounter{coro} \newstatement{coro}{coro}{Corollaire}
-\newcounter{lem} \newstatement{lem}{lem}{Lemme}
-\end{verbatim}
-\end{tcolorbox}
-
-Si vous saisissez
-%
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{propo}
-La somme de deux entiers impairs est un entier pair.
-\end{propo}
-\begin{thm}[pons asinorum]
-Les angles à la base d'un triangle isocèle sont égaux.
-\end{thm}
-\end{verbatim}
-\end{tcolorbox}
-%
-vous obtenez
-\begin{propo}
-La somme de deux entiers impairs est un entier pair.
-\end{propo}
-\begin{thm}[pons asinorum]
-Les angles à la base d'un triangle isocèle sont égaux.
-\end{thm}
-
-Comme vous pouvez le voir, chaque énoncé défini à l'aide de \verb+\newstatement+ dispose d'un argument optionnel délimité par des crochets (dont le contenu s'affiche entre parenthèses après le nom et le numéro de l'énoncé). Notez également que ces environnements ne devraient pas être utilisés à l'intérieur d'un autre environnement basé sur \TO{list} (comme \TO{center, quote, enumerate, itemize}…).
-
-Pour chaque type d'énoncé défini à l'aide de \verb+\newstatement+ existe également
-\begin{itemize}
-\item une forme étoilée non numérotée:
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{coro*}
-Les angles à la base d'un triangle isocèle sont égaux.
-\end{coro*}
-\end{verbatim}
-\end{tcolorbox}
-\end{itemize}
-\begin{coro*}
-Les angles à la base d'un triangle isocèle sont égaux.
-\end{coro*}
-\begin{itemize}
-\item un premier argument optionnel délimité par \verb+< >+ qui permet de remplacer localement le nom générique de l'énoncé.
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{thm*}<Théorème de d'Alembert-Gauss>
-[théorème fondamental de l'algèbre]
-Tout polynôme non constant à coefficients complexes
-possède au moins une racine complexe.
-\end{thm*}
-\end{verbatim}
-\end{tcolorbox}
-\end{itemize}
-\begin{thm*}<Théorème de d'Alembert-Gauss>[théorème fondamental de l'algèbre]
-Tout polynôme non constant à coefficients complexes possède au moins une racine complexe.
-\end{thm*}
-
-
-\subsection{Configurer vos propres types énoncés}
-Si vous avez besoin d'un nouveau type d'énoncé, disons un environnement \TO{axm} pour les axiomes, c'est tout simple:
-\begin{tcolorbox}
-\begin{verbatim}
-\newcounter{axio} \newstatement{axm}{axio}{Axiom}
-\end{verbatim}
-\end{tcolorbox}
-Remarquez bien qu'il vous revient alors de définir le compteur utilisé par cet environnement : si ce compteur n'existe pas déjà, il vous faut le créer à l'aide de la commande \verb+\newcounter+. Bien sûr, le nom du compteur peut être différent de celui de l'environnement. Si vous avez utilisé l'option \TO{no-statement}, vous aurez d'ailleurs à définir tous les types d'énoncé dont vous avez besoin, avec des noms et des compteurs de votre choix.
-
-\subsection{Redéfinir des types d'énoncés}
-La commande \verb+\newstatement+ a pour compagnon \verb+\renewstatement+ qui permet de redéfinir l'environnement associé à un type d'énoncé préexistant. Précisément, vous devez employer \verb+\renewstatement{foo}…+ plutôt que \verb+\newstatement{foo}…+ si et seulement si l'environnement \verb+foo+ a déjà été défini.
-
-\begin{example}[Exemples]
-\begin{enumerate}
-\item Vous pouvez redéfinir l'environnement \TO{propo} de telle façon qu'il utilise le même compteur que l'environnement \TO{thm} avec un contenu affiché en caractères romains:
-\begin{tcolorbox}
-\begin{verbatim}
-\renewstatement{propo}{thm}{Proposition}
-\setcounter{thm}{0}
-\begin{propo}
-La somme de deux entiers impairs est un entier pair.
-\end{propo}
-\begin{thm}
-Les angles à la base d'un triangle isocèle sont égaux.
-\end{thm}
-\end{verbatim}
-\end{tcolorbox}
-\end{enumerate}
-\renewstatement{propo}{thm}{Proposition}
-\setcounter{thm}{0}
-\begin{propo}
-La somme de deux entiers impairs est un entier pair.
-\end{propo}
-\begin{thm}
-Les angles à la base d'un triangle isocèle sont égaux.
-\end{thm}
-
-\begin{enumerate}[resume]
-\item Si vous venez de terminer la saisie en Latex de \emph{l'intégralité} de votre traité d'algèbre, lequel contient propositions, théorèmes et corollaires, et que vous réalisez maintenant que ce que vous voulez c'est qu'il n'y ait plus de différence entre propositions, théorèmes et corollaires, les trois types d'énoncés devant être composés en italique, se nommer \frquote{proposition} et être numérotés avec le même compteur, vous pouvez simplement saisir dans le préambule:
-
-\begin{tcolorbox}
-\begin{verbatim}
-\renewstatement{coro}{thm}{Proposition}[\itshape]
-\renewstatement{propo}{thm}{Proposition}[\itshape]
-\renewstatement{thm}{thm}{Proposition}[\itshape]
-\end{verbatim}
-\end{tcolorbox}
-Alors avec
-\begin{tcolorbox}
-\begin{verbatim}
-\setcounter{thm}{0}
-\begin{propo}
-La somme de deux entiers impairs est un entier pair.
-\end{propo}
-\begin{thm}
-La somme de deux entiers pairs est un entier pair.\end{thm}
-\begin{coro}
-Si deux entiers ont la même parité, leur somme est un entier pair.
-\end{coro}
-\end{verbatim}
-\end{tcolorbox}
-vous obtiendrez:
-\end{enumerate}
-\renewstatement{coro}{thm}{Proposition}[\itshape]
-\renewstatement{propo}{thm}{Proposition}[\itshape]
-\renewstatement{thm}{thm}{Proposition}[\itshape]
-\setcounter{thm}{0}
-\begin{propo}
-La somme de deux entiers impairs est un entier pair.
-\end{propo}
-\begin{thm}
-La somme de deux entiers pairs est un entier pair.
-\end{thm}
-\begin{coro}
-Si deux entiers ont la même parité, leur somme est un entier pair.
-\end{coro}
-%
-au lieu de
-%
-\setcounter{thm}{0}\setcounter{propo}{0}
-\renewstatement{thm}{thm}{Théorème}[\itshape]
-\renewstatement{propo}{propo}{Proposition}[\itshape]
-\renewstatement{coro}{coro}{Corollaire}
-\begin{propo}
-La somme de deux entiers impairs est un entier pair.
-\end{propo}
-\begin{thm}
-La somme de deux entiers pairs est un entier pair.
-\end{thm}
-\begin{coro}
-Si deux entiers ont la même parité, leur somme est un entier pair.
-\end{coro}
-\begin{enumerate}[resume]
-\item Pour finir, \verb+\renewstatement+ et \verb+\newstatement+ ont une forme étoilée qui permet d'obtenir un type d'énoncé dont le numéro est affiché avant le nom. Mieux, si le compteur utilisé pour ce type d'énoncé est \TO{subsection} ou \TO{subsubsection}, les titres de ces énoncés sont affichés avec la même apparence et le même placement que les titres de subsection ou de subsubsection; bien sûr ce placement dépend de la valeur de \TO{notitleindent}.
-\begin{tcolorbox}
-\begin{verbatim}
-\renewstatement*{thm}{thm}{Theorème}
-\begin{thm}<Théorème de d'Alembert-Gauss>
-[théorème fondamental de l'algèbre]
-Tout polynôme non constant à coefficients complexes
- possède au moins une racine complexe.
-\end{thm}
-\renewstatement*{thm}{subsection}{Theorème}[\itshape]
-\begin{thm}<Théorème de d'Alembert-Gauss>
-[théorème fondamental de l'algèbre]
-Tout polynôme non constant à coefficients complexes
- possède au moins une racine complexe.
-\end{thm}
-\renewstatement*{thm}{subsubsection}{Theorème}
-\begin{thm}<Théorème de d'Alembert-Gauss>
-[théorème fondamental de l'algèbre]
-Tout polynôme non constant à coefficients complexes
- possède au moins une racine complexe.
-\end{thm}
-\end{verbatim}
-\end{tcolorbox}
-\end{enumerate}
-\end{example}
-\renewstatement*{thm}{thm}{Theorème}
-\begin{thm}<Théorème de d'Alembert-Gauss>
-[théorème fondamental de l'algèbre]
-Tout polynôme non constant à coefficients complexes
- possède au moins une racine complexe.
-\end{thm}
-\renewstatement*{thm}{subsection}{Theorème}[\itshape]
-\begin{thm}<Théorème de d'Alembert-Gauss>
-[théorème fondamental de l'algèbre]
-Tout polynôme non constant à coefficients complexes
- possède au moins une racine complexe.
-\end{thm}
-\renewstatement*{thm}{subsubsection}{Theorème}
-\begin{thm}<Théorème de d'Alembert-Gauss>
-[théorème fondamental de l'algèbre]
-Tout polynôme non constant à coefficients complexes
- possède au moins une racine complexe.
-\end{thm}
-
-
-
-\section{Exercices}
-\subsection{Commandes permettant la mise en forme d'exercices}
-La classe tango fournit la commande \verb+\exo+ qui permet de présenter des énoncés d'exercices numérotés (le compteur est \TO{tgoexo}). Il existe une version étoilée, sans numéro. Comme pour les types d'énoncés, l'argument optionnel entre crochets permet d'obtenir un complément au titre, composé entre parenthèses et la première option, balisée par \frquote{\TO{< >}} permet d'obtenir un titre de substitution.
-\begin{tcolorbox}
-\begin{verbatim}
-\exo
-Démontrer que si $G$ est un groupe fini et $H$ un
-sous-groupe de $G$, l'ordre de $H$ divise l'ordre de $G$.
-\exo[théorème de Lagrange]
-Démontrer que si $G$ est un groupe fini et $H$ un
-sous-groupe de $G$, l'ordre de $H$ divise l'ordre de $G$.
-\end{verbatim}
-\end{tcolorbox}
-\exo
-Démontrer que si $G$ est un groupe fini et $H$ un
-sous-groupe de $G$, l'ordre de $H$ divise l'ordre de $G$.
-\exo[théorème de Lagrange]
-Démontrer que si $G$ est un groupe fini et $H$ un
-sous-groupe de $G$, l'ordre de $H$ divise l'ordre de $G$.
-\begin{tcolorbox}
-\begin{verbatim}
-\newcommand\tgostar{\raisebox{-0.5ex}{\large\textborn}}
-\exo*<Problème des restes chinois>[\tgostar\tgostar\tgostar]
-Soit $n_1,\ldots, n_k$ $k$ entiers strictement supérieurs à $1$. Notons $N$
-le produit des $n_i$. Démontrer que si les $n_i$ sont premiers entre eux deux
-à deux et si $a_1,\ldots, a_k$ sont des entiers quelconques, le système
-\begin{align*}
-x&\equiv a_1 \pmod{n_1}\\
-&\!\vdots\\
-x&\equiv a_k \pmod{n_k}
-\end{align*}
-possède une solution, unique modulo $N$.
-\end{verbatim}
-\end{tcolorbox}
-\newcommand\tgostar{\raisebox{-0.5ex}{\large\textborn}}
-\exo*<Problème des restes chinois>[\tgostar\tgostar\tgostar]
-Soit $n_1,\ldots, n_k$ $k$ entiers strictement supérieurs à $1$. Notons $N$
-le produit des $n_i$. Démontrer que si les $n_i$ sont premiers entre eux deux à deux et si
-$a_1,\ldots, a_k$ sont des entiers quelconques, le système
-\begin{align*}
-x&\equiv a_1 \pmod{n_1}\\
-&\!\vdots\\
-x&\equiv a_k \pmod{n_k}
-\end{align*}
-possède une solution, unique modulo $N$.
-\subsection{Environnements secexo et chapexo}
-Ces deux environnements conçus pour présenter une partie consacrée aux exercices à la fin d'une section (dans le cas de \TO{secexo}) ou d'un chapitre (dans le cas de \TO{chapexo}). À l'intérieur de ces environnements, on utilise en principe la commande \verb+\exo+.
-
-Le titre, en capitales et centré, est \frquote{EXERCICES} par défaut; l'argument optionnel entre crochets vous permet d'en choisir un autre. Ce titre est ajouté à la table des matières ou au sommaire.
-
-Enfin, ces commandes possèdent des formes étoilées (\verb+\begin{secexo*)+…\verb+\end{secexo*}+) qui vous permettront de composer ces parties consacrées aux exercices dans un corps plus petit (excepté si la taille de la fonte principale du document est 9pt).
-
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{secexo*}[Exemple d'une partie consacrée aux exercices]
-\exo Démontrer que la somme de deux entiers pairs est un entier pair.
-\exo Démontrer que la somme de deux entiers impairs est un entier pair.
-\end{secexo*}
-\end{verbatim}
-\end{tcolorbox}
-\begin{secexo*}[Exemple d'une partie consacrée aux exercices]
-\exo Démontrer que la somme de deux entiers pairs est un entier pair.
-\exo Démontrer que la somme de deux entiers impairs est un entier pair.
-\end{secexo*}
-
-\section{Listes}\label{lists}
-\subsection{Principes généraux}
-En ce qui concerne les marges, les déplacements horizontaux dans tango se font par pas multiples entiers de \verb+\TgoStandardMargin+. Au chargement de la classe, la valeur de ce paramètre est fixée à 1.5em, ainsi que les retraits d'alinéas et les retraits subis par les titres (à moins que ces valeurs ne soient fixées à zéro). les marqueurs successifs des environnements itemize et enumerate sont donc positionnés à 1.5em, 3em, 4.5em, etc. de la marge principale. Il n'est pas forcément recommandé de changer cette configuration (si vous souhaitez le faire, il convient d'utiliser le package \TO{enumitem}).
-
-\subsection{Environnements basés sur l'environnement list}
-Il existe deux façons de configurer les listes dans tango. La première, active par défaut, est obtenue grâce à la commande \verb+\tgostandardlists+; la seconde grâce à la commande \verb+\tgosmartlists+.
-%
-Avec \verb+\tgostandardlists+, le texte correspondant à un niveau donné est décalé vers la droite (d'une quantité égale à \verb+\TgoStandardMargin+...) par rapport au marqueur correspondant.
-%
-Avec \verb+\tgosmartlists+, à l'inverse, le texte correspondant à un niveau donné est décalé vers la gauche (d'une quantité égale à \verb+\TgoStandardMargin+...) par rapport au marqueur correspondant.
-\renewtgolabels*\tgostandardlists
-
-Voici le comportement par défaut de l'environnement \TO{itemize} (de ce point de vue \TO{enumerate} n'est pas différent).
-\begin{itemize}
-\item Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
-\item Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat.
-\begin{itemize}
-\item Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla.
-\begin{itemize}
-\item Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
-\begin{itemize}
-\item Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla.
-\end{itemize}
-\item Donec varius orci eget risus. Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
-\end{itemize}\end{itemize}
-\item Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat.
-\end{itemize}
-
-\bigskip
-
-Et maintenant, avec \verb+\tgosmartlists+ \tgosmartlists
-\begin{itemize}
-\item Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
-\item Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat.
-\begin{itemize}
-\item Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla.
-\begin{itemize}
-\item Donec vehicula augue eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
-\begin{itemize}
-\item Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Praesent eget sem vel leo ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla.
-\end{itemize}
-\item Donec varius orci eget risus. Duis nibh mi, congue eu, accumsan eleifend, sagittis quis, diam.
-\end{itemize}\end{itemize}
-\item Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat.
-\end{itemize}
-
-Notez que \verb+\tgosmartlists+ peut sembler intéressant lorsque l'on utilise essentiellement le premier niveau de ces environnements.
-Dans la mesure où \verb+\tgosmartlists+ supporte assez mal une construction comme
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{enumerate}
-\item\begin{enumerate}\item
-…
-\end{verbatim}
-\end{tcolorbox}
-fréquente dans la numérotation des questions d'exercices,
-les environnements \TO{secexo} et \TO{chapexo} basculent localement vers \verb+\tgostandardlists+. Cela n'est pas le cas de \verb+\exo+ qui, en en tant que commande, n'a pas de contexte propre, contrairement aux environnements. \tgostandardlists
-
-\subsection{Redéfinition de certains marqueurs de liste pour itemize}
-La classe tango fournit la commande \verb+\renewtgolabels+ qui permet de modifier les marqueurs de l'environnement \TO{itemize}. Les arguments des quatre niveaux sont numérotés de 1 à 4 et doivent être utilisés comme ci-dessous.
-
-\begin{example}[Exemples]
-\begin{itemize}
-\item\verb=\renewtgolabels1{\lefthand}= remplace le marqueur du niveau 1 par le symbole \lefthand.
-\renewtgolabels1{\lefthand}
-\item\verb=\renewtgolabels4{\textbullet}1{\openbullet}3{\textemdash}= change les marqueurs des premier, troisième et quatrième niveaux. Le marquer du niveau 2 est inchangé. Comme vous le voyez, l'ordre des arguments est sans importance. \renewtgolabels4{\textbullet}1{\openbullet}3{\textemdash}
-\end{itemize}
-\end{example}
-
-Il existe également une version étoilée, qui restaure l'état initial des marqueurs (tel qu'au chargement de la classe), soit \verb=\textbullet=, \textbullet, pour le niveaul~1, \verb=\textopenbullet=, \textopenbullet, pour le niveau~2, \verb=\starredbullet=, \starredbullet, pour le niveau~3 et \verb=\textperiodcentered=, \textperiodcentered{} pour le niveau~4 (remarquez que ce sont les valeurs par défaut pour tango, mais \emph{non} pour Latex).
-
-\renewtgolabels*
-\begin{example}[Exemples]
-\begin{itemize}
-\item\verb=\renewtgolabels*= restaure toutes les valeurs initiales.
-\item\verb=\renewtgolabels*2{\textendash}= restaure les valeurs initiales, sauf pour le deuxième niveau qui utilisera désormais \textendash.
-\end{itemize}
-\end{example}
-
-
-\section{Autres environnements}
-En plus des environnements définis pour les types d'énoncés, la classe tango offre les quatre environnements suivants.
-
-\subsection{Environnements remark et example}
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{remark}
-Voici une excellente remarque.
-\end{remark}
-\begin{example}
-Voici un très court exemple.
-\end{example}
-\end{verbatim}
-\end{tcolorbox}
-\begin{remark}
-Voici une excellente remarque.
-\end{remark}
-\begin{example}
-Voici un très court exemple.
-\end{example}
-
-Ces deux environnements ont un argument optionnel entre crochets qui permet de définir un titre alternatif. Par exemple:
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{example}[Remarques]
-\begin{enumerate}
-\item Une première (et excellente) remarque.
-\item Une seconde remarque (encore meilleure, si cela est possible).
-\end{enumerate}
-\end{example}
-\end{verbatim}
-\end{tcolorbox}
-\begin{example}[Remarques]
-\begin{enumerate}
-\item Une première (et excellente) remarque.
-\item Une seconde remarque (encore meilleure, si cela est possible).
-\end{enumerate}
-\end{example}
-
-\subsection{Environnement alert}
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{alert}
-Vous ne devriez pas envisager d'utiliser
-\verb+\expandafter\expandafter\expandafter+
-à moins que vous ne soyez un utilisateur expérimenté de
-\TeX{}, car vous pourriez attraper une terrible migraine.
-\end{alert}
-\end{verbatim}
-\end{tcolorbox}
-\begin{alert}
-Vous ne devriez pas envisager d'utiliser \verb+\expandafter\expandafter\expandafter+
-à moins que vous ne soyez un utilisateur expérimenté de \TeX{}, car vous pourriez attraper une terrible migraine.
-\end{alert}
-
-L'environnement \TO{alert} propose lui aussi un argument optionnel entre crochets.
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{alert}[\bomb]
-Vous ne devriez pas envisager d'utiliser
-\verb+\expandafter\expandafter\expandafter+
-à moins que vous ne soyez un utilisateur expérimenté de
-\TeX{}, car vous pourriez attraper une terrible migraine.
-\end{alert}
-\end{verbatim}
-\end{tcolorbox}
-\begin{alert}[\bomb]
-Vous ne devriez pas envisager d'utiliser
-\verb+\expandafter\expandafter\expandafter+
-à moins que vous ne soyez un utilisateur expérimenté de
-\TeX{}, car vous pourriez attraper une terrible migraine.
-\end{alert}
-
-\subsection{Environnement proof}
-L'environnement \TO{proof} est une adaptation de ce que fournit le package \TO{amsthm}. Un titre alternatif est rendu possible grâce à l'argument optionnel entre crochets. La commande \verb+\qedhere+ est également utilisable.
-\renewstatement{thm}{thm}{Théorème}[\itshape]
-\setcounter{thm}{0}
-\begin{tcolorbox}
-\begin{verbatim}
-\begin{thm}
-La somme de deux entiers impairs est un entier pair.
-\end{thm}
-\begin{proof}
-Soit $p$ et $q$ deux entiers impairs. Nous devons
-établir qu'il existe un entier $n$ tel que $p+q=2n$.
-Nous connaissons l'existence d'un entier $p_1$
-et d'un entier $q_1$ tels que
-\[p=2p_1+1\text{ et } q=2q_1+1,\]
-par conséquent
-\begin{align*}p+q&=(2p_1+1)+(2q_1+1)\\
-&=2\underbrace{(p_1+q_1+1)}_{n}\qedhere
-\end{align*}
-\end{proof}
-\end{verbatim}
-\end{tcolorbox}
-\begin{thm}
-La somme de deux entiers impairs est un entier pair.
-\end{thm}
-\begin{proof}
-Soit $p$ et $q$ deux entiers impairs. Nous devons
-établir qu'il existe un entier $n$ tel que $p+q=2n$.
-Nous connaissons l'existence d'un entier $p_1$
-et d'un entier $q_1$ tels que
-\[p=2p_1+1\text{ et } q=2q_1+1,\]
-par conséquent
-\begin{align*}p+q&=(2p_1+1)+(2q_1+1)\\
-&=2\underbrace{(p_1+q_1+1)}_{n}\qedhere
-\end{align*}
-\end{proof}
-
-\section{Figures, tableaux, flottants et légendes}\label{figtable}
-Grâce au package \TO{caption}, les commandes suivantes ont été définies:
-\begin{itemize}
-\item\verb+\tgofigcaption+ (pour les figures);
-\item and \verb+\tgotabcaption+ (pour les tableaux).
-\end{itemize}
-Ces deux commandes permettent d'obtenir des légendes de même apparence que ce que ferait la commande \verb+\caption+, mais fonctionnent également dans le cas d'objets non flottants.
-
-Ainsi il devient possible d'inclure des tableaux et des figures en position fixe, sans que rien ne permette de les distinguer des objets flottants (dont l'usage reste recommandé dans la plupart des cas).
-
-\end{document}