Skip to content

Instantly share code, notes, and snippets.

@hjst
Created February 3, 2012 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hjst/1728553 to your computer and use it in GitHub Desktop.
Save hjst/1728553 to your computer and use it in GitHub Desktop.
LaTeX article class template
% See http://code.google.com/p/latex-makefile/ for a useful Makefile
% --- BEGIN HEADER
\documentclass[11pt]{article}
\usepackage{graphicx}
\topmargin -1.5cm % read Lamport p.163
\oddsidemargin -0.04cm % read Lamport p.163
\evensidemargin -0.04cm % same as oddsidemargin but for left-hand pages
\textwidth 16.59cm
\textheight 21.94cm
%\pagestyle{empty} % Uncomment if don't want page numbers
\parskip 7.2pt % sets spacing between paragraphs
%\renewcommand{\baselinestretch}{1.5} % Uncomment for 1.5 spacing between lines
\parindent 0pt % sets leading space for paragraphs
% --- END HEADER
% --- BEGIN DOCUMENT
\begin{document}
\title{TITLE}
\author{YOUR NAME}
\date{}
\maketitle
%\pagebreak
%\section*{Introduction} % supress section numbering for this section
\section{Introduction}
\label{Introduction}
Blah blah blah, as seen in The \LaTeX Reference Manual \cite{lamport}.
\begin{list}{\textbullet}{}
\item First item.
\item Second item.
\item Third item.
\end{list}
\begin{description}
\item [First] is the first entry.
\item [Second] is the second entry.
\item [Third] is the third entry. Isn't this fun!?
\end{description}
\begin{figure}[t]
\begin{center}
\includegraphics[width=15cm]{name_of_eps_file.eps}
\caption{Image caption/description.}
\label{sequence}
\end{center}
\end{figure}
\copyright
\texttrademark
\begin{thebibliography}{99}
\bibitem{lamport} Lamport, L., \LaTeX : A Documentation
Preparation System User's Guide and Reference Manual, Addison-Wesley Pub Co., 2nd edition, August 1994.
\bibitem{google} Google homepage\\
\texttt{http://www.google.com/}
\end{thebibliography}
\end{document}
% --- END DOCUMENT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment