Tag: tex

Down with Type 3 Fonts

I recently found myself needing to excise all of the type 3 fonts from a TeX document. I believe that type 3 fonts are actually just embedded postscript, which is less than ideal for a nice PDF. Obviously, I would never intentionally include a type 3 font, so some other tool in my toolchain must have been adding them. Eventually, I figured out that they were sneaking in through some matplotlib graphs. I found a nice description of the problem. The solution I chose was to tell matplotlib to us…

Fragile LaTeX Beamer Slides

I am currently working on the talk slides for my thesis proposal. My preferred presentation medium is LaTeX Beamer -- a documentclass for generating slides. It gives you access to the usual selection of excellent LaTeX tools. Many argue that most of what LaTeX gives you is exactly what you do not want in a presentation: Ease of content generation without worrying about formatting Easy abuse of well-typeset math Lots of bullet points While it is true that you can use these tools to make the …

TeX crossref Package

A few days ago I was looking for a more robust type-aware cross-reference helper macro for LaTeX. This type of macro lets you specify something like: \autoref{fig:tuna} Assuming fig:tuna is the fifth figure, this macro will produce "figure 5". This is very convenient if the type of a reference might change. Previously I had used hyperref but it was a bit of a pain to customize and it was not obvious how to get good list output. I was pointed to cleveref, which is easily customiza…