Example. For many math papers, you will need to use blackboard bold letters to represent the integers, the complex numbers, etc. Typing \mathbb{} every time can get tedious, so it is useful to write a macro like this.
| \def\C{\mathbb{C}} | |
| The complex numbers, $\C$. |
Exercise 5. Using newcommand, write macros for your own commands that will display the following when given the argument A. Here is a hint for number 2.
Example. In-text references are use with the label and ref commands. In short, ref is used to refer to an object that is labeled with label, as shown.
|
\begin{equation} \label{TriIneq} \|x+y\| \leq \|x\| + \|y\| \end{equation} |
|
|
The triangle inequality is given in equation \ref{TriIneq}. |
Citations of other articles is a little (not much) more complicated. LaTeX has an environment called thebibliography for your list of references. Within this environment, you can list your references using the bibitem command, and then refer to them in your text with the command cite.
Exercise 6. Reproduce this paper, using the above commands. Here is a tex document to get you started, which requires this image in either pdf or jpg form.
Note.This figure is from Dr. Edward N. Lorenz's '63 paper, which is available in full here.
Exercise 7. This is not really an exercise, but I would strongly recommend that you keep a running bibliography of all the interesting papers you read while doing research. Since you will probably need to write your CSUMS thesis/presentation/journal article in LaTeX, it is easiest just to write this bibliography in LaTeX as well. Here is a blank template that you can use for a full-length journal article, and there is a spot at the end to keep your bibliography.
First, new slides are called 'frames,' and each slide is generated with the following commands.
\begin{frame}
...
Frame content here
...
\end{frame}
Next, the command \pause is used to add 'effects,' by pausing the next item displayed until the mouse is clicked. For example, the following text displays a list one item at a time, pausing between each item until the mouse is clicked.
\begin{itemize}
\item A
\pause
\item B
\pause
\item C
\pause
\end{itemize}
For more information about Beamer, see the user guide here.
Exercise 8. Create a short (5-6 frame) presentation in Beamer about anything. Here is a blank template that you can use to get started.
Note 1. In order to get this template to compile, you will need the
associated style and image files, available in a zipped package
here.
Note 2. For some reason, I can only get Beamer presentations
to work with the pdflatex compiler, so be warned.
Exercise 9. Create a Bash script that removes all unwanted AUX files. Here is a skeleton to get started.
Created in 2009 by Taylor Hines. Not for general distribution; some of this content is borrowed from other sources.