Currently Browsing

Posts Tagged ‘ figures ’


Highlighting in TikZ plots

Elaborating plotted data and drawing conclusions from them in a (scientific) report can be cumbersome and often takes way too many words than necessary. Following the old saying ‘a picture is worth a thousand words‘, this post describes how to highlight certain areas in a TikZ plot. You’ll be able to adjust the color of the highlighted area, its layer

Faster LaTeX part 1

Faster LaTeX part II: External TikZ library

Previously, I wrote a post on how to make the LaTeX compilation process faster by compiling only parts of large documents. This time a tip is given for those who use TikZ figures and experience slow compilation of their documents. This is especially the case when converting figures from MATLAB to TikZ using the matlab2tikz routine (due to the large

Beautiful MATLAB figures in LaTeX

Beautiful MATLAB figures in LaTeX

Probably the most important part of a (scientific) document are the figures. The main reason is that “a picture is worth a thousand words”. On this blog, quite a few post have been dedicated to figures (or floats in general) in LaTeX. Especially the post on how to use Inkscape to create figures with LaTeX fonts. I work a lot

Float control part 3: Floats underneath footnotes

Last week I wrote a new post on float control and today a new problem occurred while I was typesetting a report: A table was placed underneath the footnotes, which is wrong and ugly! Fortunately, the way to fix this is very easy. That’s why this post will be very short :-) We’re going to use a package called footmisc.

Control float placement (Part 2)

If you’re reading this blog, its unnecessary to convince you of the advantages of (La)TeX over typesetting software like Microsoft Word. However, one of the main flaws I always struggle with is the way the LaTeX engine places floats (figure, tables, etc.). When typesetting large documents that contain a lot of figures and tables, I often find figures being placed

Automatic, clever references with cleveref

I recently came into contact with a LaTeX package that saves me quite a bit of time: the cleveref package. This package is very easy to use, so I will start explaining things right away! But first, note that the hyperref package provides something similar with the autoref command, but in my eyes the cleveref package is more sophisticated. Setup

Inkscape images with LaTeX fonts

With the release of Inkscape 0.48, it is now possible to match the font of the text in your images with the font used in your LaTeX document. This includes math environments and references. Hence that this is a very powerful tool that will make your LaTeX documents even prettier! Previously, this integration was also possible, but it was a

Control float placement

If you’ve ever written a report with a lot of (big) pictures in it, you’ve probably also noticed that LaTeX sometimes places floats (e.g. figures, tables) on other pages than intended. Adding options like [h] (i.e. “here”), [t] (i.e. “top”) or [htp] to the float environment will mostly give you enough control. but not always. This is because of the