asdocx: Export from Stata to Word, Excel, LaTeX & HTML › Forums › asdocx Forum › New line or new paragraph when using text() › Reply To: New line or new paragraph when using text()
You can use the control word \par
to start a new paragraph. Also, you can drop the append
option as append
is optional and is the default option.
asdocx, save(Test) text(Title) replace title asdocx, text(Paragraph1) asdocx, text(Paragraph2) asdocx, text(Cannot have linebreak! Paragraph3 \par)
You can explore other options related to the text()
option here https://asdocx.com/asdocx-adding-text-and-paragraphs-to-word-documents/