Schlagwort-Archiv: Howto

LaTeX Tips and Tricks for Particle Physicists

During the course of writing my thesis I spent quite some time into getting the \(\LaTeX\) stuff right. LaTeX is such a great language1, generating amazing output, and enabling so many cool typesetting possibilities. How could one not!?
I thought it would be nice sharing my meta-research with others. So I held a talk at my institute to show the most important packages and concepts, I drew on while writing my document.

It tackles writing units in LaTeX and writing particle names. It highlights a few other, smaller packages, but also introduces BibLaTeX and glossaries in more detail. The great engine that is latexmk is introduced as well. It is also the first presentation I did in LaTeX Beamer!

You probably want to use the PDF linked after the embed since you can click all the links easily there.

Local PDF


  1. Markup language. Programming language. Whatever. 

Getting FairRoot’s External Packages Prerequisites with Homebrew

Homebrew is an amazing tool: It really is the missing package manager for OS X. I like it better than the older MacPorts. It’s also fully based on GitHub, so in this regard a bit more modern.

I have the idea to write a Homebrew formula for FairRoot’s external packages. This is still a bit away, though.
So first, here the prerequisites you need in order to get the external packages running on your blank OS X.

This is tested on a very clean OS X 10.9 Mavericks installation I specially set up in a VirtualBox1.

  1. Install Homebrew:
    Brew will also install Apple’s needed Developer Tools for you.
  2. Install homebrew-cask (for binaries):
  3. Install XQuartz, the X11 successor thingy:
  4. Install gfortran, the GNU Fortran compiler:

You’re now good to go to svn co https://subversion.gsi.de/fairroot/fairsoft/trunk/ fairsoft.sources and cd fairsoft.trunk; ./configure.sh2. Be sure to choose installing with Clang.

Sidenote: If you’re just interested in CERN’s ROOT – there’s a Formula for this. Just brew install homebrew/science/root and you are done.


  1. Very small OS-X-VirtualBox-Howto: Download Mavericks from the App Store. Install VirtualBox brew cask install virtualbox. Use iESD to generate a dmg file from the OS X Install.app. Create a VBox virtual machine for OS X and use generated bootable dmg to install OS X. Done. 

  2. The first thing I usually do: Opening the configure.sh script and change the install target path so that I can call it with ./configure.sh automatic. Huge time saver.