# LaTeX – a simple example for an assignment

Usually for assignments, I just put my title in my header since that saves paper.  If the paper needs an actual title at the top, I use the “article” style in LaTeX since it only uses half a page and not a full page – again saving paper.  In the example below I use \maketitle which then makes a half page header.  Of course, this is not a requirement (unless the assignment calls for it).

exampledoc

exampledoc.tex:

\documentclass[12pt]{article}
% I use this for putting header and footer info but it has more features as well.
% Both instructions below are needed to get headers (plus the actual heading info also is below
\usepackage{fancyhdr}
\pagestyle{fancy}

% I found this apa format useful this semester. You can also do annotated bibliography with it.
% Though, it is a bit of learning curve for the annotated bibliography
\usepackage{apacite}

% This is example header and footer

\title{My Title}
\author{My Name}

\begin{document}

\section{Section One}
This is just a test document using \LaTeX

\section{Section Two}
This is my second section.

% This will include all my bib entries even if I don’t actually cite them. Usually, this is not needed. % But in this case, I don’t have any citations.
\nocite{*}

% note that apacann is the annotated bibiography style. I always put annotations in my bibtex file whether or not an annotated bibliography is needed. Good notes for later of course. This will pull those out into a pdf for me.
%\bibliographystyle{apacann}
% this is the non-annotated style when I don’t want to include those.
\bibliographystyle{apacite}

% I name my bibliography file the same. not sure that is necessary or not.
\bibliography{exampledoc}{}

\end{document}

————BibTex File—–
exampledoc.bib

%% This BibTeX bibliography file was created using BibDesk.
%% http://bibdesk.sourceforge.net/
%% Created for at 2012-12-06 14:58:03 -0600
%% Saved with string encoding Unicode (UTF-8)

@article{CambridgeJournals:7185876,
Annote = {This is an example Annotation.},
Author = {Bickenbach,Jerome E.},