sysuse auto, clear tabout foreign rep78 using table12.docx, /// replace style(docx) font(bold) /// 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 /// illustrating multiple summary measures) /// fn(Source: auto.dta) open ptotal(none)