because LaTeX matters

figure

The animate package allows to include JavaScript driven animations into a pdf created with LaTeX. This can be particularly useful for beamer presentations. The biggest caveat upfront: the animations are only supported by some pdf readers (AcrobatReader, PDF-XChange, acroread, and Foxit Reader). Using ImageMagick to convert an animated gif into several png files The animate … [Read more…]

The R package animation has a function saveLatex() which creates a tex document (and compiles it) with the animation created by your R code. It essentially produces the individual image files and a tex file that uses the LaTeX package animate to create the animation in the pdf. Here is an example of an R … [Read more…]

When writing a scientific paper, one often provides supplementary materials together with the main manuscript. Supplementary materials can be additional figures, tables, or other materials not included in the main manuscript. However, since these materials are usually kept in a different physical file, they can not be referenced in the main manuscript using the standard … [Read more…]

I was working on a presentation and had to place several logos at the end of a slide. Initially, I just added them using includegraphics. However, it looked terrible because each logo was of a different size. Obviously, I wanted to arrange them at least half-decently. For that, I aligned them vertically and added some … [Read more…]

Consider the following scenario: By changing one or more parameters in an experimental method, we produce a series of figures. We then want to include these figures in a research report, manuscript, or thesis. It is often possible to reduce the amount of code/typing through automation of subfigure generation. More specifically, one sub-figure environment is … [Read more…]