%0 Journal Article %T On the importance of syntax coloring for teaching statistics %A E. F. Haghish %J The Stata Journal %@ 1536-8734 %D 2019 %R 10.1177/1536867X19830892 %X In this article, I underscore the importance of syntax coloring in teaching statistics. I also introduce the statax package, which includes JavaScript and LATEX programs for highlighting Stata code in HTML and LATEX documents. Furthermore, I provide examples showing how to implement this package for developing educational materials on the web or for a classroom handout %K pr0070 %K statax %K syntax highlighting %K statistical education %K JavaScript %K LATEX %U https://journals.sagepub.com/doi/full/10.1177/1536867X19830892