Currently Browsing Tips & Tricks

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

Faster LaTeX part 1

Faster LaTeX part I: Compile only parts

As I have been struggling a lot with figuring out tricks on how to make the compilation process in LaTeX faster, I decided to write a series of posts on this topic. If you are like me, you compile your document quite a lot (way too much even..). A lot of time can thus be saved when reducing the compilation

Page numbers in the side margin

Page numbers in the side margin

In books, you mostly see the page numbering printed in the side margin of the page. LaTex prints them in the bottom by default. A few ways to get the page numbering in the side margin of your LaTeX documents have been studied and I picked out the easiest one. In this post, we are going to use the background

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

Horizontal alignment of subfigures

When using subfloats (especially subfigures) in your documents, you probably noticed that two figures next to each other are aligned at the bottom of the figures. The result might be pretty disturbing as it will look chaotic. As always, there are a multiple ways to fix this. In this post, a very simple fix is presented! All we have to

Section numbering in margins

Something you often see in book is that the numbers of the sections are printed in the page margins. This gives a really clean look as the titles are left aligned with the text below. Fortunately in LaTeX, this isn’t very hard to do! As always, there are several ways that lead to the same result and most of them