Currently Browsing Tips & Tricks
How to create table cells of multiple rows in LaTeX
- May 14, 2013 |
- No Comments
You may have encountered the problem where you wanted to merge multiple cells in a table column. Especially in the table headers (the leftmost column), this is not unthinkable. In this post, a simple way to realize this is described. We will be using the multirow package to do this.
Highlighting in TikZ plots
- Mar 26, 2013 |
- No Comments
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
Adding PDF metadata in LaTeX
- May 29, 2012 |
- 4 Comments
When working on a LaTeX project of some value, you might want to add your credentials to the PDF metadata. This way, readers of the document will know who made the document and what its about without actually opening the document. Adding metadata might also be a good idea for copyright reasons, etc. As always, there are multiple ways of
Faster LaTeX part IV: Use a precompiled preamble
- Apr 6, 2012 |
- 7 Comments
After the third part in this series on how to speed up the LaTeX compilation part I ran out of ideas. Fortunately, Stefan Kottwitz and Frakturfreund reminded me of one more thing: precompiled preambles. The idea is quite simple: Every time you compile a LaTeX document, it first reads all packages that are called in the preamble with the \usepackage{}
Change margins of a single page
- Mar 30, 2012 |
- 4 Comments
Once in a while I write a document with a lot of large figures in it. It then may occur that you want to change the margins of a single page in order to fit a number of figures in one page. This can be done with the geometry package (from version 5 and later) and the \newgeometry command. A
Faster LaTeX part III: Check syntax only
- Feb 26, 2012 |
- 4 Comments
This is the third post in a series on how to speed up the process of ‘LaTeXing’. Part 1 was on how to make the LaTeX compilation process faster by compiling only parts of large documents and in part 2 I wrote about an external TikZ library. Today’s post is a little different. Mostly, the reason I compile my document
Faster LaTeX part II: External TikZ library
- Jan 27, 2012 |
- 2 Comments
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 I: Compile only parts
- Jan 7, 2012 |
- 3 Comments
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