Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Common are references and labels for chapters, sections, tables and figures

Code Block
\chapter{ASample sampleCosting ChapterGuidelines\label{sid:chapter_sample_costing}}
as can be seen in Chapter~\ref{{sid:chapter_sample_costing}
Panel

(warning) Please consult the FAQ (https://confluence.slac.stanford.edu/display/ilc/Editors+FAQ#EditorsFAQ-WhatisthenamingconventionforLaTeX\labels) on naming conventions for labels in the DBD

Tables

A LaTeX table environment has the following structure:

...

the actual image is include with the \includegraphics command. It has some useful options to scale an image

...

  • \[scale=0.8\] will scale the picture by a factor of 0.8
  • Wiki Markup\[width=0.5\textwidth\]will make the picture width to be 80 % of the total text widthpicture width to be 80 % of the total text width

there are preferrable to giving absolute sizes

  • [width=10cm]
  • [height= 3in]

So including a figure looks like:

Code Block

\begin{figure}
\includegraphics[width=0.6\textwidth]{image2.pdf}
\caption{\label{sid:chapter_sample_figure2} This is a second sample figure for a document}
\end{figure}

Details can be found here

Note:

  • If the Figure file isn't available, LaTeX will complain but usually continue building. It is important to specify the path of the file location relative to the build directory.
  • Concerning file formats, check the FAQ

Special Characters

Seehttp://en.wikibooks.org/wiki/LaTeX/Accents with a whole summary of Accents and special charactersDetails can be found here

Citations

will be handled using BibTeX, hence it needs some additional steps. In the LaTeX document you refer to the article book, etc.with

...