Statalist


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

Re: st: latex sidewaystable with estout?


From   Ben Jann <[email protected]>
To   [email protected]
Subject   Re: st: latex sidewaystable with estout?
Date   Fri, 11 Sep 2009 23:18:53 +0200

Try  option  -substitute({table} {sidewaystable})-. If you have
variable names with underscores, such as _cons, type -substitute(_ \_
{table} {sidewaystable})- .
ben

On Thu, Sep 10, 2009 at 9:52 PM, Bert Jung <[email protected]> wrote:
> Dear Statalisters,
>
> I am looking for an easy way to output rotate tables with estout.  The
> latex command -sidewaystables- is well suited but I can't see how to
> specify it in -estout-.  Short of specifying the options -prehead- and
> -postfoot- with a full set of latex table commands, is there a more
> transparent way?  What does not work is
>
> prehead("\begin{sidewaystable}") postfoot("\begin{sidewaystable}")
>
> since the outputted tex file would be missing essential commands like
> \begin{tabular}.  One option would be to substitute only the
> \begin{table} with \begin{sidewaystable} and keep the other latex
> commands.  But how to achieve that?
>
> Many thanks,
> Bert
> *
> *   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/
>

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index