[Doc] Add table of contents.

This commit is contained in:
Gaetano Geck 2018-04-29 12:54:01 +02:00
parent a89006f91c
commit fa83015aa9
1 changed files with 7 additions and 0 deletions

View File

@ -22,9 +22,14 @@
This package implements a \verb#\newnotation# command that allows definition of macros in the style of \verb#\newcommand#. The table of all macros defined this way can be printed by \verb#\tableofnotation# or, with additional information, by \verb#\detailedtableofnotation#. For relation symbols, there is a designated \verb#\newrelation# command. Tables can be grouped, saved, loaded and reset. This package implements a \verb#\newnotation# command that allows definition of macros in the style of \verb#\newcommand#. The table of all macros defined this way can be printed by \verb#\tableofnotation# or, with additional information, by \verb#\detailedtableofnotation#. For relation symbols, there is a designated \verb#\newrelation# command. Tables can be grouped, saved, loaded and reset.
\end{abstract} \end{abstract}
\tableofcontents
\newpage
\section{Example} \section{Example}
\label{sec:example} \label{sec:example}
%========================================================================== %==========================================================================
\subsection{Example code: define groups and notation}
Consider the following \LaTeX-file. Consider the following \LaTeX-file.
\begin{Verbatim}[frame=single,fontsize=\footnotesize,tabsize=4,commandchars=+()] \begin{Verbatim}[frame=single,fontsize=\footnotesize,tabsize=4,commandchars=+()]
\documentclass{article} \documentclass{article}
@ -58,7 +63,9 @@ then $\interpretation+paren(x_2)=1$ or $\interpretation+paren(x_1) \neq
+decorate(\detailedtableofnotation) +decorate(\detailedtableofnotation)
\end{document} \end{document}
\end{Verbatim} \end{Verbatim}
\newpage \newpage
\subsection{Example output (with detailed table of notation)}
The \LaTeX-code above results in the following output (displayed in brown). The \LaTeX-code above results in the following output (displayed in brown).