When switching a lot between the German and US keyboard layout (which is much nicer to program),
the switched z
and y
keys cause frequent mistakes.
Therefore, I switch both keys in the German layout.
An easy way to do this is to use the ukelele keyboard
layout editor, essentially following the instructions of this SO thread.
I did the work for you, you can download this bundle
.
Double click on the saved directory/bundle and select Install for current user
. Then head to your keyboard settings and select German standard qwerty
.
Continue reading
Including rst
files into rst
files is easy. But what about a markdown readme
that also lives in a different directory tree?
Continue reading
Quick python script to remove LaTeX output files. This can be done recursively.
There is always a prompt before files get removed.
Continue reading
Oftentimes, we call functions over a wide range of parameter values, e.g. to generate plots for different scenarios. For multiple parameters, this leads to ugly multi-loops and cumbersome boilerplate. With this snippet it becomes one line.
Continue reading
Simple script to find graphics which are not used in a LaTeX project and simple script to rename files which are and also taking care of renaming all references to them in the latex project. While that’s the use case, it’s totally not LaTeX specific (simply searches through all *.tex
files for the path).
Continue reading