Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Inserting Stata output in Beamer presentation

From   Martial Foucault <>
Subject   RE: st: Inserting Stata output in Beamer presentation
Date   Wed, 27 Apr 2011 13:27:11 -0400

Dear Eric,

Thanks for your message. Your pdf output is exaclty what I am trying to
produce with estimation results. 
I have inserted the above tex code in my beamer presentation file. I can
typeset without problem but I cannot fix the scale problem.  

Do you suggest me that I should insert the [shrink] option in the Tex Field
object where the table is placed ?

Thanks a lot.

\caption{OLS estimates\label{tab1}}
Spending            &         .19         &        1.56\sym{**} &
.614\sym{***}&        5.23\sym{***}&        .297\sym{***}&
2.81\sym{*}  &        .299\sym{***}&        5.54\sym{***} \\
                  &      (.106)         &        (.52)        &     (.0536)
&      (.772)         &     (.0562)         &        (1.35)       &
(.0513)         &        (1.29)        \\
Chal. Spending      &      -.0237         &        -2.25        &
-.187\sym{***}&       -2.94\sym{***}&      -.0235\sym{*}  &        -3.79
&      -.0592\sym{***}&          -2.81\sym{**} \\
                  &     (.0312)         &         (1.4)       &     (.0269)
&       (.793)        &    (.00914)         &       (1.95)        &
(.0131)         &          (.972)         \\

\multicolumn{9}{l}{\footnotesize Standard errors in parentheses}\\
\multicolumn{9}{l}{\footnotesize \sym{*} \(p<0.05\), \sym{**} \(p<0.01\),
\sym{***} \(p<0.001\)}\\

-----Message d'origine-----
De :
[] De la part de Eric Booth
Envoyé : mercredi 27 avril 2011 12:30
À : <>
Objet : Re: st: Inserting Stata output in Beamer presentation


 By "it doesn't work" do you mean it doesn't typeset (if so, what is the
error?)?  What code did you try that failed to work?  If my comment below
don't work, we probably need more detail to understand what's going on here.

Below is a beamer .tex file example that includes a large tabout (BTW,
tabout is from SSC) table (created from Ian Watson's help file examples)
inserted into a Beamer presentation.  
You may want to make sure you've got all the right packages referenced
(tabularx, booktabs, etc) and also you might try using the [shrink] option
for your frame and the [compress] option for your document (see below).

Here is a link to the .tex file in my Dropbox:
Here is a link to the tabout file I included for the table:
Here is the resulting PDF:

The .tex code is:

%%%%%%%%%%%%%%begin example
\documentclass[10pt, compress, red]{beamer} \usepackage{ pgf , epstopdf,
graphicx, url, hyperref, amsmath, tabularx, booktabs} \usetheme{Berlin}
\AtBeginSection{  \begin{frame}[shrink]  \frametitle{Contents}
\tableofcontents[currentsection]  \end{frame}  } \title{A  \LaTeX Template}
\author{author here }

\begin{frame}[shrink]{Table of Contents}

\section{Placeholder: My Title Goes Here} \begin{frame}[shrink]{Placeholder
Title Goes Here}

%%%%%%%%%%%%%%end example

- Eric

Eric A. Booth
Public Policy Research Institute
Texas A&M University
Office: +979.845.6754

On Apr 27, 2011, at 11:12 AM, Martial Foucault wrote:

> Dear all,
> I face some serious troubles to insert estimations tables into a Beamer
presentation. Stata tables have been saved using tabout with .tex extension.
> Now I try to display such results into a Beamer presentation. But it
doesn?t work ! In fact, the table doesn?t fit at all with the scale of the
> Is there a relevant procedure to save Stata results before inserting them
into a Beamer presentation ? (Using tabout is fine for a Latex (standard)
> Thanks a lot.
> Best,
> Martial Foucault
> Professeur Agrégé / Associate Prof.
> Département de science politique / Political Science Dept Université 
> de Montréal CP 6128, Succ. centre-ville Montréal H3C3J7 - CANADA

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index