38 lines
1.2 KiB
TeX
38 lines
1.2 KiB
TeX
\newpage
|
|
\subsection{Tables}
|
|
\textit{Included in \texttt{most} and up}
|
|
|
|
You can set up nice looking tables using the \texttt{booktab} and \texttt{tabulary} environments.
|
|
|
|
\begin{minted}{latex}
|
|
\begin{tables}{ll}{Left & Right}
|
|
Left content & Right Content\\
|
|
\end{tables}
|
|
\end{minted}
|
|
|
|
This outputs as
|
|
\begin{tables}{ll}{Left & Right}
|
|
Left content & Right Content \\
|
|
\end{tables}
|
|
|
|
This doesn't use the \texttt{table} environment, so no captions are possible, as to why there is also
|
|
\begin{minted}{latex}
|
|
\begin{fullTable}{ll}{Left & Right}{This is a caption}
|
|
Left content & Right Content\\
|
|
\end{fullTable}
|
|
\end{minted}
|
|
|
|
This outputs as
|
|
|
|
\begin{fullTable}{ll}{Left & Right}{This is a caption}
|
|
Left content & Right Content\\
|
|
\end{fullTable}
|
|
|
|
|
|
|
|
\subsection{Index}
|
|
\textit{Included in \texttt{most} and up}
|
|
|
|
If you want to use index, add \verb|\prepareIndex| to the preamble. Using \verb|\addIndexBold|\{\textit{string}\}, you can add entries to the index. They are printed in bold typeface in your document.
|
|
Using \verb|\addIndex|\{\textit{string}\}, you can do the same, but the text remains normal and using \verb|\addIndexItalic|\{\textit{string}\}, it is printed in italics
|