|
|
Line 1: |
Line 1: |
| ====Latex 1==== | | ====Latex 1==== |
| [@
| |
| \documentclass[12pt]{article}
| |
| \usepackage{fullpage}
| |
| \usepackage{verbatim}
| |
| \usepackage[dvips]{graphicx}
| |
|
| |
|
| \begin{document}
| | [[media:Math Arpit.txt]] |
| | |
| %%%%%%%%%%%%%
| |
| \title{ \LaTeX tutorial}
| |
| \author{Arpit Gupta \\ \small{JHU}}
| |
| \maketitle
| |
| %%%%%%%%%%%%%%
| |
| \begin{abstract}
| |
| Learning \LaTeX.
| |
| \end{abstract}
| |
| %%%%%%%%%%%%%%%5
| |
| \section{Introduction}\label{sec_1}
| |
|
| |
| Footnotes are at the bottom of the page.\footnote{Footnote}
| |
| | |
| \begin{comment}
| |
| \begin{figure}[h]
| |
| \includegraphics{fig1.eps}
| |
| \label{Fig_1}
| |
| \end{figure}
| |
| \end{comment}
| |
| %%%%%%%%%%%%%%
| |
| | |
| %\newpage
| |
| %\clearpage
| |
| | |
| %%%%%%%%%%%%%%%%%%%%%%
| |
| \section{Theory}\label{sec_2}
| |
| | |
| Introduction was in Section \ref{sec_1} % on page~\pageref{sec_1} \\
| |
| | |
| Second footnote\footnote{Foot}\\
| |
| | |
| %%%%%%%%%%%%%%%%%%%%%%%%%
| |
| | |
| \begin{tabular}{c r @{.} l}
| |
| Pi expression &
| |
| \multicolumn{2}{c}{Value} \\
| |
| \hline
| |
| $\pi$ & 3&1416 \\
| |
| $\pi^{\pi}$ & 36&46 \\
| |
| $(\pi^{\pi})^{\pi}$ & 80662&7 \\
| |
| \end{tabular}
| |
| | |
| %%%%%%%%%%%%%%%%%%%%%%%%
| |
| \section{Discussion}
| |
| Theory was already discussed in Section \ref{sec_2} on page~\pageref{sec_2}\\
| |
| | |
| \begin{tabular}{|l|r|}
| |
| \hline
| |
| 7C0 & hexadecimal \\
| |
| 3700 & octal \\
| |
| \cline{2-2}
| |
| 11111000000 & binary \\
| |
| \hline \hline
| |
| 1984 & decimal \\
| |
| \hline
| |
| \end{tabular}
| |
| \\
| |
| %%%%%%%%%%%%%%%%%%%
| |
| | |
| \section{Conclusions}
| |
| | |
| To get a better understanding, read \cite{ref_1}.\\
| |
| Also, take a look at \cite{ref_2} posted on wiki.
| |
| | |
| %%%%%%%%%%%%%%%%%%%%%%%%
| |
| | |
| \begin{thebibliography}{10}
| |
| @]
| |
| \bibitem{ref_1}L. Lamport:\emph{\LaTeX}, A Document Preparation System (1994)
| |
| \bibitem{ref_2}Presentation
| |
| \end{thebibliography}
| |
| | |
| | |
| \end{document}
| |