EconPapers    
Economics at your fingertips  
 

Creating LaTeX documents from within Stata using texdoc

Ben Jann

No 14, University of Bern Social Sciences Working Papers from University of Bern, Department of Social Sciences

Abstract: This paper discusses the use of -texdoc- for creating LaTeX documents from within Stata. Specifically, -texdoc- provides a way to embed LaTeX code directly in a do-file and to automate the integration of results from Stata in the final document. The command can be used, for example, to assemble automatic reports, write a Stata Journal article or a Stata Press book, prepare slides for classes, or put together solutions for homework assignments. An earlier version of this paper has been published in The Stata Journal 16(2): 245-263 (see: http://www.stata-journal.com/article.html?article=pr0062).

Keywords: Stata; texdoc; LaTeX; weaving; Stata output; Stata log; reproducible research (search for similar items in EconPapers)
JEL-codes: C87 C88 (search for similar items in EconPapers)
Pages: 26 pages
Date: 2015-09-02, Revised 2016-11-27
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (5)

Downloads: (external link)
https://boris.unibe.ch/81524/8/jann-2015-texdoc.pdf Revised version, 2016 (application/pdf)
https://www.stata-journal.com/article.html?article=pr0062 Published version, 2016 (text/html)

Related works:
Journal Article: Creating LaTeX documents from within Stata using texdoc (2016) Downloads
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:bss:wpaper:14

Access Statistics for this paper

More papers in University of Bern Social Sciences Working Papers from University of Bern, Department of Social Sciences
Bibliographic data for series maintained by Ben Jann ().

 
Page updated 2025-04-03
Handle: RePEc:bss:wpaper:14