
Table of Contents
To add a subsection:
% sections/overview.tex
% Overview of the technique...
\subsection{Schemas}
\label{subsec:schemas}
% Subsection text...
To add a subsubsection:
% sections/overview.tex
% Overview of the technique...
\subsection{Schemas}
\label{subsec:schemas}
% Overview of schemas...
\subsubsection{GXL Schemas}
\label{subsubsec:gxl-schemas}
% GXL schemas...
To add an ordered list:
\begin{enumerate}
\item First item
\item Second item
\end{enumerate}
To add an unordered list:
\begin{itemize}
\item First item
\item Second item
\end{itemize}
To add a description list:
\begin{description}
\item[first] A definition for the first item.
\item[second] A definition for the second item.
\end{description}
Using the tabbing environment:
\begin{tabbing}
if \= condition is true \\
\> then \= do something,
\> \> do another something; \\
\> else \> do something else. \\
endif
\end{tabbing}
Using the tabular environment:
\begin{tabular}{|l|c|c|}
\hline
{Row 1,Col1} & {Row1,Col2} & {Row1,Col3} \\
\hline
{Row 2,Col1} & {Row2,Col2} & {Row2,Col3} \\
\cline{2-3}
{Row 3,Col1} & {Row3,Col2} & {Row3,Col3} \\
\hline
\end{tabular}
Using the tabular environment with multicolumns:
\begin{tabular}{|l|c|c|}
\hline
{Row 1,Col1} & {Row1,Col2} & {Row1,Col3} \\
\hline
{Row 2,Col1} & \multicolumn{2}{c}{Row2,Col2-3} \\
\cline{2-3}
{Row 3,Col1} & {Row3,Col2} & {Row3,Col3} \\
\hline
\end{tabular}
Using the table environment:
{\protect
\begin{table}[t]
% Table body
\caption{Caption title. {\it The caption text.}}
\label{tab:schema}
\end{table}
}
Including a tabular environment:
{\protect
\begin{table}[t]
\centering
\footnotesize
\begin{tabular}{|l|c|c|}
\hline
{Row 1,Col1} & {Row1,Col2} & {Row1,Col3} \\
\hline
{Row 2,Col1} & {Row2,Col2} & {Row2,Col3} \\
\cline{2-3}
{Row 3,Col1} & {Row3,Col2} & {Row3,Col3} \\
\hline
\end{tabular}
\caption{Caption title. {\it The caption text.}}
\label{tab:schema}
\end{table}
}
Using the figure environment:
\begin{figure}[t]
% Body of figure
\caption{Caption title. {\it The caption text.}}
\label{fig:schema}
\end{figure}
Including an image:
\ifx\pdfoutput\undefined
\usepackage[dvips]{graphicx}
\usepackage[dvips,dvipsnames]{color}
\else
\usepackage[pdftex]{graphicx}
\usepackage[pdftex,dvipsnames]{color}
\fi
% ...
\begin{figure*}[t]
\centerline{\includegraphics[width=0.8\textwidth]{figures/schema}}
\caption{Caption title. {\it The caption text.}}
\label{fig:schema}
\end{figure*}
Note that in a two column document, `figure' defines a one column figure,
and `figure*' defines a two column figure.
Example math text:
Given a class $C$ with methods $M_{1},M_{2},\dots,M_{n}$, weighted
with cyclomatic complexity $c_{1},c_{2},\dots,c_{n}$, respectively, the metric
is computed as \[WMC(C) = \sum_{i=1}^{n} c_{i}\]
% ...
Given a class $C$ with a set of base classes $BC$, the metric is computed as
\[DIT(C) = \left\{ \begin{array}{ll}
0 & \mbox{if $|BC| = 0$} \\
max(\{DIT(B_{i}): B_{i} \in BC\})+1 & \mbox{if $|BC| > 0$}
\end{array}
\right.\]
See wikibooks.org for more detail.
\vspace{5mm}
\vspace{-2.5mm}
\hspace{3.5mm}