-
@paulgp @_bbdaniels @causalinf @ben_golub The listings package does code formatting directly in LaTeX, but doesn’t (natively) support Stata. But it could! Not sure how easy it is to get a Stata code formatter into the required format; @kylebarron2 might have an idea. ctan.org/tex-archive/macros/latex/contrib/listings/