\documentclass[12pt]{article} \usepackage{mine} \begin{document} \tableofcontents \section{My first document}\label{intro} This is a short example of a \LaTeX\ document I wrote on \today. \hspace{2in} It shows \textit{a few simple features} of {\Large automated typesetting}, including \begin{itemize} \item setting the default font size to 12pt; \item specifying `article' type formatting; \item using the Palatino typeface; \item adding special formatting for URLs; \item formatting a heading in `section' style; \item using the \LaTeX\ logo; \item generating today's date; \item formatting a list of items; \item centering and italicizing \begin{inparaenum}[\itshape a\upshape)] \item Indian food is available from any Indian\index{food!Indian} restaurant. There are many of these in Cork and elsewhere. \item You get Italian food in Italian\index{food!Italian} restaurants \end{inparaenum}; \item autonumbering the pages \footcite{mathguide} \end{itemize} \begin{figure} \caption{Example diagram} \label{blah} \begin{center} \includegraphics[width=3in]{diagram} \end{center} \end{figure} \subsection{More information} This example was taken from `Formatting Information' (see Figure~\ref{blah} on p.\pageref{blah} of \S\ref{intro}), which you can download from \url{http://www.ctan.org/tex-archive/info/beginlatex/peter/flynn/ucc/demo/blah} and use as a teach-yourself guide. You can type the \verb`\section{boo}` command\index{verbatim text} \begin{verbatim} \itshape Have a nice day! Where do you want to go tomorrow? \end{verbatim} \bibliographystyle{jurabib} \bibliography{beginlatex} \printindex \end{document}