# Syntax highlighting for TOPAS parameter files

I wrote a package for the Sublime Text editor that understands the grammar of a TOPAS parameter file and will enable syntax highlighting (see image below).
Although it is by no means perfect, it should only be confused by non-standard files. I thought I'd share it, in case it helps TOPAS users who like this text editor: https://github.com/davidchall/topas-syntax
...

# Generating random directions in a beam model

As described here, I'm a developer of the TOPAS Monte Carlo simulation tool for radiotherapy research. To improve our beam source model, I wanted a method to randomly generate uniformly distributed directions that are constrained to a certain region of the unit sphere, centered upon the z-axis (the beam direction). Generated particles are assigned these random directions...