rst files into
rst files is easy. But what about a markdown readme
that also lives in a different directory tree?
Quick python script to remove LaTeX output files. This can be done recursively.
There is always a prompt before files get removed.
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.
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).
Visualizing functions that depend on a complex variable is oftentimes done with either contour plots or with multiple one dimensional
plots where either the real or imaginary part is set to a selection of fixed values. This Mathematica function will combine both
plots to provide the nice overview of the contour plot, while making it easy to compare it with the 1D lines.