Announcement

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

  • esttab Font Size Not Changing

    Hi everyone,

    I’d appreciate any help with an issue I’m facing. I ran the following syntax to generate a table with 10-point Times New Roman font using esttab. The table was generated successfully, but the font size ended up being 12-point instead of 10-point, despite the syntax running without any errors.

    Here’s the code I used:

    Code:
    esttab using droughtrem.rtf,  title({\b Table 1. Estimation Results for Difference in Difference }) star(* 0.1 ** 0.05 *** 0.01) se replace label nogap onecell nonumbers mlabels(,depvars)   stats(N N_clust r2 r2_a F p, labels( "Number of observations" "Number of clusters" "R-Square" "Adjusted R-Square" "F statistic" "p-value" )) fonttbl(\f0\fnil Times New Roman; \fs10)
    Any insights on why the font size isn’t changing to 10 would be greatly appreciated!

    Thanks in advance!

  • #2
    estout is from SSC (FAQ Advice #12). The option -fonttbl()- changes the font type. Here is the description from the documentation:

    fonttbl(string) defines a custom font table in RTF. The default is "\f0\fnil Times New Roman;". For example, typing

    . esttab using example.rtf, ti("\f1 The Auto Data") ///
    fonttbl(\f0\fnil Times New Roman;\f1\fnil Arial

    would add a title in Arial.
    Unless I am missing something, there is no scope to change the font size using this option.

    Comment

    Working...
    X