Dear all,
This week we will learn how to use \(\LaTeX\) to create presentations and we will explore how to use \(\LaTeX\) for mathematical notation.
Let’s start.
Gerko
We use the beamer package to create presentations with tex. If all is well, you should now be able to create and compile your own tex documents (if not, please ask me for help!). Therefore I refer you to this page and to the Beamer_Userguide.pdf file on this week’s course page. For the more tech-savvy users among you, this discusses fancy stuff with beamer. You can simply ignore the part about linux and focus on the tex code.
beamer themesThe beamer theme matrix gives you an overview of the aesthetics of combinations between default beamer themes and standard color themes. Utrecht University also has a beamer theme (although unofficial), which uses the UU colors (this week’s course page). Let’s say that it is rather yellow and leave it at that. Still, many people use it and it is a well-developed style.
Anything that is presented between $-signs is printed as a mathematical element: the use of $ makes LaTeX enter math mode. Most often, the $ operator is used to denote in-line equations. For example, $y_i = a + \beta x_i + \epsilon_i$ is printed as \(y_i = a + \beta x_i + \epsilon_i\). To find out what the tex code for the mathematical notation elements is (and much more) have a look at the Math Symbols document on this week’s course page
To present mathematical equations, use
\begin{equation}
y_i = a + \beta x_i + \epsilon_i.
\end{equation}
to produce
\[y_i = a + \beta x_i + \epsilon_i.\]
In tex these will be numbered. To omit equation numbering, use \begin{equation*} (which requires the amsmath package - add \usepackage(amsmath) to your document’s preamble).
So far the very brief intro.
AMS example file.pdf and AMS example file.tex to get yourself acquainted with mathematical notation in tex.beamer_exercise.pdf with beamer in \(\LaTeX\).Upload the documents to SurfDrive before the next lecture starts. I will post the code solutions after that lecture. We will discuss the solution next week. As answers, I will give you the tex and markdown (html and pdf) solutions.