asdocx: Export from Stata to Word, Excel, LaTeX & HTML › Forums › asdocx Forum › Indent in Specific Cells Using Flexmat? › Reply To: Indent in Specific Cells Using Flexmat?
This is one of the un-documented directive. When asdocx tries to convert flexmat file into MS Word or other formats, it examines each cell of the matrix for the \indent_# directive. Here, # represents the number of spaces that should be added before the text in that cell. For example, if a cell starts with \indent_4 , it will add four spaces before the text.
You may also like to check text directors to format text, see this page.
Example
flexmat reset asdocx setfile, save(indent.html) replace flexmat addrow, data(Variables, Frequencies) flexmat addrow, data(Gender :) row(2) flexmat addrow, data(\indent_4 Male, 655) row(3) flexmat addrow, data(\indent_4 Female, 745) row(4) asdocx exportTable: Results
Variables Frequencies Gender : Male655 Female745 Notes: