Next / Previous / Contents / TCC Help System / NM Tech homepage

3. The myab.tex skeleton file

In this section we present the skeleton file section by section and discuss what content goes where.

The first line tells LaTeX that this is an article, and to use 12-point type. The comment that follows links back to this documentation.

myab.tex
\documentclass[12pt]{article}
%================================================================
% NMT Student Research Symposium Extended Abstract template
% For documentation, see:
%   http://www.nmt.edu/tcc/help/pubs/nmtthesis/srs/
%----------------------------------------------------------------

In a LaTeX document, everything between the \documentclass line and the \begin{document} line is called the preamble. If you are using additional packages, you will need to specify them here using \usepackage commands.

myab.tex
%================================================================
% Preamble
%   Add \usepackage commands here if you are using any LaTeX
%   packages.
%----------------------------------------------------------------

The next \usepackage imports the graphicx package, which you will use to include figures and graphics.

myab.tex
\usepackage{graphicx}

The natbib package is a good choice for bibliographies, since it allows for many different forms of citation. Refer to the online documentation for natbib.

myab.tex
%
% In the next line, select [round] if you want your literature
% citations in (parentheses); select [square] if you want them
% enclosed in [square brackets].
%
\usepackage[round]{natbib}

The next line imports the nmtsrsab2012.sty style file.

myab.tex
%
%  Be sure that the \usepackage{nmtsrsab2012.sty} line
%   is the last \usepackage command.
%
\usepackage{nmtsrsab2012.sty}

Next are two functions you will need to fill out: the registration number of your team and the date of the presentation.

myab.tex
%
% Replace '1889' with your team's registration number.
%
\registrationNumber{1889}%
%
% Replace the date in the next line with the date of your
% final SRS extended abstract presentation.
%
\date{April 13, 2012}%
%================================================================
\begin{document}

The above lines end the preamble and mark the start of the body of the document. Type the full title of your abstract below.

myab.tex
%
% Replace "Your title here" with the full title of your
% presentation, in sentence case.
%
\title%
{%
  Your title here
}%

Next, enumerate the names of your team members.

myab.tex
%
% For multi-person teams, the \correspondingAuthor command
% specifies the email contact for the team.  The optional first
% argument is used only if the team member is not at NMT.
%
% If there is only one author, use one \author command and
% remove the \authorsEnd command.
%
\correspondingAuthor{Author Name 1}{Department Name}{email1@nmt.edu}
\author{Author Name 2}{Department Name}{email2@nmt.edu}
\author[Other Institution]{Author Name 3}{Department Name}{email2@nmt.edu}
\authorsEnd

The \author and \correspondingAuthor commands have three required arguments: the person's name, their department name, and their email address. By default, NMT is shown as the institution's name. If one of your team members is affiliated with another institution, include the name of that institution as an optional first argument in square brackets.

At this point, the rest of the content is up to you, up to the \end{document} line, which must be the last line in the file.

Use \section and \subsection commands to structure your content. Refer to Section 5, “Extended example: the style guide” for the general order of sections.

myab.tex
%================================================================
% Use \section and \subsection commands to structure your
% document.
%
\section{Introduction}

(introduction here)

\section{Methods}

(methods section here)

%%%%\bibliographystyle{apalike}
%%%%\bibliography{myab.bib}
\end{document}

The two lines starting with “%%%%” will include your bibliography; once you have set it up, remove those four % signs. Refer to Section 4, “The bibliography” for more information on bibliographies and citations.