Bookmark and Share

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


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

Re: st: Inserting Stata output in Beamer presentation


From   Eric Booth <[email protected]>
To   "<[email protected]>" <[email protected]>
Subject   Re: st: Inserting Stata output in Beamer presentation
Date   Wed, 27 Apr 2011 16:29:55 +0000

<>

 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:  http://dl.dropbox.com/u/428249/example_template_with_tabout.pdf
Here is a link to the tabout file I included for the table:  http://dl.dropbox.com/u/428249/mytabouttable.tex
Here is the resulting PDF:  http://dl.dropbox.com/u/428249/example_template_with_tabout.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{document}
\frame{\titlepage}
\begin{frame}[shrink]{Table of Contents}
    \frametitle{Contents}
\tableofcontents[currentsection]
\end{frame}


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


\end{document}
%%%%%%%%%%%%%%end example


- Eric

__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
[email protected]
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 document.
>  
> Is there a relevant procedure to save Stata results before inserting them into a Beamer presentation ? (Using tabout is fine for a Latex (standard) document).
>  
> 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:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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