This page assumes you know the basics about LaTeX - what it is, its benefits over WYSIWYG editors and so on - and that you just want to get started with making LaTeX documents. If you want some more introductory information concerning LaTeX, check out the resources page. To get more out of LaTeX, you should read up on some more thorough and detailed LaTeX material (again, this is just to get you started). So, make sure to make use of the other resources listed.
First things first: the software. To run LaTeX, you first need to install the appropriate software, which includes a TeX distribution as well as a good text editor. Refer to the resources page for a listing of some software links for various platforms. Most of the software is either open source or shareware (i.e., free or pretty cheap)
LaTeX is much like HTML - you define the structure of your
document via commands. Commands are preceded by a backslash, and
are made up of lowercase letters (e.g., "\clearpage").
Many LaTeX commands take one or more arguments. Arguments are
placed in curly braces (e.g.,
"\chapter{Introduction}"). You can make a LaTeX
document with any standard text editor, such as GNU emacs (for
Linux) or WinEdt (for Windows), and save it as a .tex
document.
Further introductory info:
You begin the latex document with a document class declaration:
\documentclass{argument}. There are four default
classes available:
You can also add other options here (all options in brackets "[ ] and separated by commas) such as:
a4paper), you could do that heretwoside - default for books and
reports) or single-sided (oneside - default for
articles and letters) printingtitlepage - default for books
and reports)After your document class declaration, you enclose your document
within the commands: \begin{document}...\end{document}
Right after your \begin{document} declaration, you can
put your document title, author, and date. So, a sample LaTeX
document would start out looking like this:
\documentclass[12pt,a4paper,twoside]{article}
\begin{document}
\title{My Brilliant Article}
\author{Sally Bright}
\date{February 2004}
\maketitle
\end{document}
You can add a table of contents here if you want - LaTeX uses to
information from your sectioning commands to automatically generate
one. Just use the following command after \maketitle:
\tableofcontents
You can also include an abstract at the beginning of your
document (a summary of your article or whatnot). You enclose your
abstract within the commands:
\begin{abstract}...\end{abstract}.
Note that you can also include comments in your LaTeX document:
LaTeX ignores anything on a line after the "%" symbol.
back to top
You define a new paragraph via a blank line in the LaTeX document (note: the finished document will not include an actual blank line in it!)
LaTeX has several levels of sectioning to help structure your document:
\part\chapter\section\subsection\paragraph\subparagraphThe title of each of these sections goes in curly braces after
the command (e.g., \chapter{The Very Long Journey
Home}). You also have the option of citing an alternate name
(perhaps a shorter one) that would appear in the table of contents.
Put the alternate name in brackets (e.g., \chapter[Journey
Home]{The Very Long Journey Home}. LaTeX automatically
numbers your sections - there are arguments for different options
concerning numbering, but I won't include them here. To learn more
about these options, please check out the further resources
listed.
back to top
LaTeX automatically sets the font for you, but you can specify these additional font styles within your document (putting your styled text in the curly braces):
\emph{...}: italics\texttt{...}: fixed-width teletype-like font (like
the code font on this page)\textsf{...}: sans-serif font...don't know what
you would use that for, but here it is\textbf{...}: boldface fontThere are four different types of lists in LaTeX:
\begin{itemize}...end{itemize}, and preface each item
with: \item .\begin{enumerate}...\end{enumerate}, and preface each
list item with: \item.\begin{description}...\end{description}
and preface each list item with: \item.\usepackage{paralist}.
Then, within your paragraph, you enclose your inline list in
\begin{inparaenum}...\end{inparaenum} (you can also
put optional formatting specifications in brackets = e.g.,
\begin{inparaenum}[\itshape a\upshape)]). Preface each
list item with a \item.Note that you can also make nested lists by defining another
list environment within a list environment. LaTeX will
automatically nest the list for you and make an alternate bullet or
numbering scheme. There are default number schemes that you can
change if you'd like, but I'm not going to be getting into that
here.
go to page 2