everything related to TeX/LaTeX

Using xargs on OS X to rebuild all my tikzdevice images with Rscript

Blog categories: 

The last update of R’s tikzdevice (0.7.0) broke all my manually tuned graphs and now I have way too large margins, symbols and text sizes, etc. Even though this update was actually a fix to the previously broken tikzdevice (it simply needed insane amount of margins compared to the other output devices due to fishy metrics), I had workarounds in each graph which I had to fix now - again - manually.

Using LaTeX 'siunitx' Package With Version 1 and 2

Blog categories: 

I always forget how to configure siunitx correctly in the preemble of a LaTeX document. What makes it worse it that newer TeX distributions deliver version 2 while older distributions still use version 1 and both use different configuration variables. If you use version 1, you’d probably want to use the following configuration: