Text FormattingImporting Stata results to LaTeX

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
salehin
Posts: 34
Joined: Wed Jun 10, 2009 1:29 am

Importing Stata results to LaTeX

Post by salehin »

I'll have to run quite a few regressions and each will generate a table. I'd like to add them in my appendix, exactly as they appear in Stata 10. Can anyone please suggest how to do it.

I'm attaching a page from a lecture note where a table is included in main section.

Here is the .tex file I'm using (apologies for any newbie mistake)

Code: Select all

\documentclass[a4paper,10pt,final]{article}
\usepackage{hyperref}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{verbatim}
\usepackage{graphicx}
\usepackage[gen]{eurosym} % to produce Euro symbol
\usepackage{graphicx}
\usepackage{tikz}
\hypersetup{colorlinks=true, linkcolor=blue}

\begin{document}

% You must put the output details BEFORE \title
\title{TITLE}\author{MY NAME}
% if you want title use this cmd after '\title'
\maketitle

\begin{abstract}
Yes, think about it once you're done!

\end{abstract}

\Section*{Issues we are dealing with}

\section{Introduction}

\section{Data description}

\subsection{Data ``cleaning''}

\section{Econometric Model}

\section{Results}
Here we analyse the relevant results.

\subsection{Limitations}

\section{Conclusion}

\pagebreak

\appendix
\section{Regression tables}
We post all relevant regression results here in original form, provided by Stata (or whichever software we use).

\section{References}

\end{document} 
Thanks for your help. :-)
Attachments
Lecture5 21.pdf
(50.97 KiB) Downloaded 360 times
Last edited by salehin on Fri Nov 27, 2009 4:16 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Importing Stata results to LaTeX

Post by josephwright »

Can you not just use a verbatim-like environment (the listings package is the most likely candidate here)?
Joseph Wright
Post Reply