Professional Documents
Culture Documents
Latex
Latex
http://en.wikibooks.org/wiki/LaTeX/Theorems
\usepackage{amsthm}
\newtheorem{defn}{Definition} %this will start a definition section that can be used
\newtheorem{theorem}{Theorem} %this will start a theorem section that can be used
\begin{defn}
Here is a new definition
\end{defn}
\begin{defn}
Here is yet another definition
\end{defn}
\begin{theorem}
Prime numbers are infinite.
\end{theorem}
\begin{proof}
So why to prove this statement... open up G. H. Hardys Mathematicians Apology ;-)
\end{proof}
\end{document}
*********************************************************************
TO INCLUDE AN ALGORITHM
\usepackage{algorithmic}
\usepackage{algorithm}
\begin{algorithm}
\caption{The preprocessing component}
\begin{algorithmic}
\renewcommand{\algorithmicrequire}{\textbf{Input:}}
\renewcommand{\algorithmicensure}{\textbf{Output:}}
\REQUIRE G(V,E)
\ENSURE
\WHILE {$i<10$}
\STATE HIP HIP HURRAY
\STATE $i++$
\ENDWHILE
\end{algorithmic}
\end{algorithm}
\bibliographystyle{plain}
4. When you need to cite a paper.. just say \cite{robertson:96} in your main document
\documentclass[12]{article}
\begin{revnumerate}[\value{totalnumpubs}]
\item Sudarshan
\item Megha
\end{revnumerate}
\end{document}
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************