sysuse auto, clear tabout foreign rep78 using table12.tex, replace /// style(tex) font(bold) twidth(13) sum npos(tufte) /// c(mean mpg mean weight mean length median price /// median headroom) f(1c 1c 1c 2cm 1c) h2(Mean Median) /// h2c(3 2) clab(MPG Weight_(lbs) Length_(in) Price /// Headroom_(in)) title(Table 12: Oneway summary table /// \\ with multiple summary measures) fn(Source: auto.dta)