asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum Put title of the table on multiple lines in asdocx Stata

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Chanh Bao Lam
    Post count: 3

    I would like to make a table title of two lines or more using asdocx. For example:

    Mid-Term Test Score Summary
    Test Code: 1234
    Passing Score: 15
    [Table here]

    I tried to use putdocx to make the title and append it to the asdocx table made by row(), yet it automatically put the default title “Table 1” in. I tried option title(\i) but it put “\i” in place of the title instead of hiding it.

    Could you please advise me on this? Thank you so much!

    Look forward to hearing from you,

    Dr. Attaullah Shah
    Post count: 106

    I have updated asdocx. The table title can now be split into multiple lines. To do so, add the control word \cr in the table title

    asdocx sum ri B1 B2 B3 , title(First title \cr Second title \cr Third Title) replace title_align(center)
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.