Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Center align text table with tabout in a latex document

    Hi all,,

    I wonder if its possible Center align text (or values) for all tables using tabout in latex document.

    I have a big number of tables in the latex document using tabout but none of these have a center alignment text.

    In other way I have problems to center whole table in the latex document when I use caplab option in tabout

    I am using texdoc and Tabout 3 beta for version earlier than stata 13.

    Code:
    sysuse auto, clear
    
    tabout foreign using tablas.tex,  ///
    c(count mpg mean mpg sd mpg median mpg)   ///
    style(tex) sum replace twidth(11) font(bold)   ///
    clab(Obs. Media Desv.Estd. Mediana) f(0 2 2)   ///
    h1(mpg)
    
    texdoc append tablas.tex
    Click image for larger version

Name:	Sin título.png
Views:	1
Size:	22.8 KB
ID:	1567805



    My second problem when I use caplab in tabout:

    Code:
    tabout foreign using test2.tex, c(freq cell cum)  ///
    style(tex) clab(Freq % Cum_%)  replace twidth(11)  ///
    doctype(report) caplab(test)   ///
    f(0 2) title(Ejemplo de tabout )
    
    texdoc append test2.tex
    Click image for larger version

Name:	2.png
Views:	1
Size:	18.8 KB
ID:	1567806



    Thanks in advance
    Regards
    Rodrigo
Working...
X