Basic and generic LaTeX notes

Some basic stuff I came across while writing on LaTeX:

  • Subscript, Greek letters, special character in mathematical form
\begin{center}
\( H_{0} \): ${\mu}$\( _0 \) = ${\mu}$\( _1 \)
\\
\( H_{1} \): ${\mu}$\( _1 \) ${\neq}$ ${\mu}$\( _1 \)
\end{center}
  • Chapters definitions etc
\tableofcontents
\abstract
\chapter{one}
\section{one}
\subsection{one}
\subsubsection{one}
  • Two graphics side by side
\begin{minipage}[b]{0.5\linewidth}
\centering
\includegraphics[scale=0.3] {graphics/figure1}
\caption{{\bf label}}
\end{minipage}
\hspace{0.5cm} % Space between the figures
\begin{minipage}[b]{0.5\linewidth}
\centering
\includegraphics[scale=0.3] {graphics/figure2}
\caption{{\bf label2}}
\end{minipage}
\end{figure}
  • Single image
\begin{figure}[htbp]
\begin{center}
\includegraphics[scale=0.5] {graphics/figure3}
\caption{{\bf label3}}
\label{default}
\end{center}
\end{figure}
  • Bulletpoint list
\begin{itemize}
\item
item1
\item
item2
\item
item 3
\item
item 4
\end{itemize}
  • Text formation: italics

\textit{behaviour}

  • Special characters (such as % and & for instance)

\% \&

  • Plain text format

\texttt{text}

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s