[Docs] Complete restructure
This commit is contained in:
37
docs/parts/reference/tables-index.tex
Normal file
37
docs/parts/reference/tables-index.tex
Normal file
@@ -0,0 +1,37 @@
|
||||
\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
|
Reference in New Issue
Block a user