Background of  asdoc

I started working on asdoc back in 2016. At that time, I wanted to make a program that has it all. I was so ambitious that I tried to make asdoc usable with all Stata commands. I went beyond this and added routines that will make tables row by row and bits by bits. The flexibility and simplicity of asdoc could hardly be ignored. It quickly became one of the top downloaded programs on SSC [You can see the download history of asdoc here].

Why was asdocx then written?

Over the period of time, asdoc users felt a need for improvement and additional features, including myself. However, many of the asdoc routines are highly customized and hard-coded. Therefore, adding support for Microsoft Excel tables or LaTeX tables was not possible. Similarly, asdoc was written to produce tables in rich text format (RTF). This did not allow to produce tables in native open XML (docx) format. And there were other issues that could not be easily fixed such as accessing and modifying individual elements of a table, adding columns to a table, etc. I needed to take a fresh perspective of the whole framework on how to structure the new program and how to make it more flexible.

How is asdocx then different from asdoc




RTF Format
MS Excel
Native docx
Export Graphs
Unicode / Chinese Language
Custom Templates
Flexmat Support
tabmany command
table1 for patient baseline characteristics
Portable options
Works with putdocx


Order asdocx

asdocx’s annual license is available for $9.99. Its life-time license is available for $49.99. With the asdocx membership, you get :

  • Life-time license to use
  • All future updates
  • All premium templates / plugins.


Order asdocx