I am trying to export a collection to an MS Word document where the entire table uses the "Times New Roman" font. I am able to select this font for the table. But, when I use the collect style putdocx command to add a title, the title shows up in a different font and I can't determine how to get the fonts to match.
Here is an example:
Code:
collect clear webuse nhanes2 collect: regress bpsystol age weight collect: regress bpsystol age weight c.age#c.weight collect: regress bpsystol age c.weight##c.weight collect style autolevels result _r_b _r_se collect layout (colname) (cmdset#result) collect style cell, font(Times New Roman,) collect style putdocx, title(Models for systolic blood pressure) layout(autofitcontents) collect style cell, font(Times New Roman, size(11)) collect export regression2.docx, replace
Has anyone run across this and found a solution to display the table with one font?
Sincerely,
Alan
0 Response to Help selecting font with collect style putdocx
Post a Comment