I found graphviz frustrating at times but on the whole it draws clean, symmetrical graphs far beyond anything else I can manage, even if I do use a mouse or tablet. Since I’m not able to use a pointing device on a regular basis, and I’m marking up my presentations in text also, it turned out to be a really good fit. I thought I’d share how I got on with it and some of my own graphs – as much to remind me next time conference season comes around as anything.
Tag Archives: latex
Marking up Tables in LaTeX
I find the default formatting for table output in LaTeX can look a bit … squashed, so I always precede my tables with this:
\renewcommand{\arraystretch}{1.5}
To define a table, you use the tabular
keyword and define your columns using l, r or c depending whether you want each one right, left or centre justified:
\begin{tabular}{l | l}
Slide Markup with LaTeX: First Steps
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.
Creating Presentations with LaTeX
Getting started was a struggle, I’ve never really used anything like it before and if there’s one thing LaTeX doesn’t do well, it’s error messages! The blog post I linked above has a sample presentation in it and I used that as my starting point. The source code goes in a file with a “.tex” suffix, e.g. presentation.tex. I then installed the texlive-latex-extra
, latexmk
, vim-latexsuite
, latex-fonts-recommended
and texlive-fonts-extra
packages from aptitude, and generated a PDF by running:
latexmk -f -pdfps presentation.tex