E. F. Haghish
Center for Medical Biometry and Medical Informatics
University of Freiburg, Germany
Support further development of Statax (CodeMap Project)
The Statax package aims to provide a quick way to:
Statax package is hosted on SSC server and can be installed by typing the following command in Stata
In order to use Statax for highlighting Stata code, the code should be wrapped with a <pre> tag and sh_stata class as shown below. The <pre> tag preserves the white-space and the sh_stata class refers to the class of CSS style sheet that defines the color of each Stata syntax element.
Statax Package comes with four built in CSS documents. These styles can be specified using the style(name) option. The available styles are stata (default), daring, sunset, and wrangler. A preview of these styles is shown below respectively.