Latex by Example: Sesfs File Server
Latex by Example: Sesfs File Server
Prospective Students Current Students Faculty & Staff Alumni & Friends
Home About People Departments & Programs Research News Events Resources Enter your search keywords here...
Computing Resources
Table of Contents:
Demonstration of LaTeX features, using example input and output
files
News 1. Features of LaTeX
This demonstration LaTeX file shows both the marked up input text, and the
New Users 2. Basic layout of a LaTeX
document corresponding typeset output. The typeset output is a series of graphic images
Policies and will not display on a text-only browser. Note that the output images shown
3. Required parts of a LaTeX
here are low resolution JPEG files made from capturing screen images. The
Sesfs File Server input file
actual LaTeX output will use the normal resolution of your output device and look
4. Basic LaTeX topics much better.
Web Server
1. LaTeX environments
Computer Labs This demonstration file shows how to use LaTeX markup commands to typeset
2. LaTeX modes
various types of text, including indented lists, tables, and mathematical equations.
CEES Computational 3. Special symbols in the
Clusters input file.
The original input manuscript has been broken into small sections. Each section is
Get Help 4. Running LaTeX
then followed immediately by the corresponding portion of the typeset output.
5. LaTeX by example Horizontal rules separate input and output sections.
Net Connections
6. LaTeX Frequent Questions
Your Macintosh You can also download the complete input manuscript and process it with the
latex program yourself to produce nicely formatted high resolution output.
Your Windows PC
Formatting Text
Printing
Programming
https://pangea.stanford.edu/computing/unix/formatting/latexexample.php 1/5
5/14/2018 LaTeX Example
LaTeX fills lines and adjusts spacing between words to produce an
aesthetically pleasing result.
Completely blank lines in the input file break your text into
paragraphs.
To change the font for a single character, word, or set of words,
enclose the word and the font changing command within braces,
{\em like this}.
A font changing command not enclosed in braces, like the change to \bf
bold here, keeps that change in effect until the end of the document or
until countermanded by another font switch, like this change back to
\rm roman.
\begin{enumerate}
\item
The ``enumerate'' environment numbers the list elements, like this.
https://pangea.stanford.edu/computing/unix/formatting/latexexample.php 2/5
5/14/2018 LaTeX Example
\item Of course, lists can be nested, each type up to at least four levels.
One type of list can be nested within another type.
\begin{itemize}
\item Nested lists of the same type will change style of numbering
or ``bullets'' as needed.
\end{itemize}
\end{itemize}
\item Don't forget to close off all list environments with the
appropriate \verb+\end{...}+ command.
Indenting \verb+\begin{...}+, \verb+\item+, and \verb+\end{...}+
commands in the input document according to their nesting level can help
clarify the structure.
\end{enumerate}
\begin{tabular}{lr}
Macintosh&175\\
DOS/Windows PC&60\\
Unix Workstation or server&110\\
\end{tabular}
\end{center}
Here is a more complicated table that has been boxed up, with a multi-column
header and paragraph entries set in one of the columns.
\begin{center}
\begin{tabular}{|l|c|p{3.5in}|}
\hline
\multicolumn{3}{|c|}{Places to Go Backpacking}\\ \hline
Name&Driving Time&Notes\\
&(hours)&\\ \hline
Big Basin&1.5&Very nice overnight to Berry Creek Falls from
either Headquarters or ocean side.\\ \hline
https://pangea.stanford.edu/computing/unix/formatting/latexexample.php 3/5
5/14/2018 LaTeX Example
Sunol&1&Technicolor green in the spring. Watch out for the cows.\\ \hline
Henry Coe&1.5&Large wilderness nearby suitable for multi-day treks.\\ \hline
\end{tabular}
\end{center}
\end{document}
Comments or Questions?
https://pangea.stanford.edu/computing/unix/formatting/latexexample.php 4/5
5/14/2018 LaTeX Example
Contact Us
https://pangea.stanford.edu/computing/unix/formatting/latexexample.php 5/5