This website recently got a major rebuild; if you're missing something, let Lorna know.

Slide Markup with LaTeX: First Steps



Since starting to create (a large number of) presentations using LaTeX, I've been impressed at how easy this is to pick up and also how quick it is to work with marked up content rather than dragging objects around in Impress or equivalent. With that in mind, I thought I'd outline the very basics of the markup (with probably more snippets to follow as I discover them).

Start at the very beginning

First of all, LaTeX templates are fussy things, start with someone else's outline (for example the one Dave posted, which I use), or one you made earlier. There is some preamble and then the main contents of the presentation go between the \begin{document} and \end{document} bits.

My talks consist entirely of sections and slides, for example, here's a snippet:

\section{Inheritance}

\begin{slide}{Inheritance}
    OOP supports inheritance
    \begin{itemize}
        \item similar classes can share a parent and override features
        \item improves modularity, avoids duplication
        \item classes can only have one parent (unlike some other languages)
        \item classes can have many children
        \item there can be as many generations of inheritance as we need
    \end{itemize}

    \begin{center}
        \includegraphics[width=0.4\slidewidth]{images/family-tree.eps}
    \end{center}
\end{slide}

Which results in PDF slides like this:

The section element gives me a slide with that as its title. Each slide has a title area itself at the top, and we can add things to the body. This slide includes both bullet points (the itemize elements can be nested) and an image, included using the includegraphics command.

I am using vim to create these slides, and there's a plugin which makes swift creation of this syntax quick and easy to do, and so far I'm finding this a very intuitive way to work with content to mark it up and generate consistently styled materials later on. The style you see in the example presentation is one very generously made for me by Dave Ingram, based on the paintings style which ships in various different colours with powerdot, cheers Dave :)


In: tech
Tags: #latex #speaking #tech