Latex Tutorial 2014

From Advanced Labs Wiki
Revision as of 20:14, 8 February 2014 by Tobias Marriage (talk | contribs) (Created page with 'The LaTeX example begins below with the "\documentclass" directive. You'll also need the figure \documentclass[11pt]{article} \usepackage{amsmath,graphicx,setspace,float} \ne…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The LaTeX example begins below with the "\documentclass" directive. You'll also need the figure


\documentclass[11pt]{article}

\usepackage{amsmath,graphicx,setspace,float}

\newcommand{\pd}[3]{\frac{\partial^{#3} {#1}}{\partial{#2}^{#3}}} \newcommand{\kb}{k_{b}}

\begin{document}

\title{Brownian Motion} \author{Ian Anderson} \maketitle

\abstract{This is an abstract.}

\section{Introduction} \subsection{Einstein}

This guy did a lot of physics. \cite{einstein} \textbf{THIS IS BOLD}. \textit{this is italic} \textbf{\textit{This is both.}}

``This is quote." `This is another quote.'


\begin{equation} \label{eqn:stokes} \iiint_{M} d\omega = \int_{\partial M} \omega \end{equation}


\begin{eqnarray} \label{eqn:first} x=&2+2 \\ =&4 \end{eqnarray}

$\omega$ $\Omega$ $\kb$ $\pd{y}{x}{3}$

If we look at Eqn \ref{eqn:first}

\section{Experiment}

\begin{figure}[H] \begin{center} \includegraphics[width=8.0 cm]{chickenchicken.png} \caption{Chicken chicken chicken.} \label{fig:chicken} \end{center} \end{figure}

In Fig \ref{fig:chicken}

\begin{table}[htdp] \caption{NAME OF CAPTION} \begin{center} \begin{tabular}{|c|c|c|} \hline 5 & 4 & 7 \\ \hline \end{tabular} \end{center} \label{tbl:data} \end{table}%


\begin{thebibliography}{1}

\bibitem{einstein} Einstein. \textit{german german } 1905. \bibitem{einstein} Einstein. \textit{german german } 1906.

\end{thebibliography}

\end{document}