sysuse auto, clear tabout rep78 foreign using table10.docx, /// replace style(docx) font(italic) /// c(mean weight) f(0c) sum /// h1(Car type (mean weight in lbs.)) h3(nil) /// title(Table 10: Simple twoway summary /// table of means) fn(auto.dta) open