Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

TEXSAVE: save dataset in LaTeX format.


Overview:

texsave is a Stata command that outputs the dataset currently in memory to a file in LaTeX format. It uses the LaTeX packages booktabs, tabularx, and geometry to produce publication-quality tables. The syntax is described in the Stata help file included in this package.

Julian Reif's Stata Coding Guide provides a tutorial.

Installation:

Type which texsave at the Stata prompt to determine which version you have installed. To install the most recent version, copy and paste the following line of code:

net install texsave, from("https://raw.githubusercontent.com/reifjulian/texsave/master") replace

To install the version that was uploaded to SSC, copy and paste the following line of code:

ssc install texsave, replace

After installing, type help texsave to learn the syntax.

Update History:

  • November 2, 2020

    • Added support for aligning numeric values at the decimal point using the siunitx package
  • July 1, 2020

    • texsave now outputs en dash's instead of hyphens for negative numbers. Specifying noendash restores previous behavior.
  • December 11, 2019

    • Added headersep() option, with new default: \addlinespace[\belowrulesep]
  • January 17, 2019

    • Added preamble() option

Author:

Julian Reif
University of Illinois
jreif@illinois.edu

About

Save Stata dataset in LaTeX format

Topics

Resources

License

Releases

No releases published

Packages

No packages published