Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Change Font of rtf-Files using Esttab

From   Bert Lloyd <>
To   statalist <>
Subject   Re: st: Change Font of rtf-Files using Esttab
Date   Thu, 13 Feb 2014 16:44:17 -0500

On Mon, Dec 17, 2012 at 4:37 AM, "Rita Frühwald" <> wrote:

> I am using esttab to export tables to an rtf-File.
> Is it possible to change the font (to "Verdana") of my exported tables with a command?

I just ran into this problem and came up with a possible solution
using the substitute() option (not explicitly noted in the esttab
help, but as an estout option it is available).

If you use notepad or another text editor to open an .rtf table
produced by esttab, you'll see the first line looks like this:

{\rtf1\ansi\deff0 {\fonttbl{\f0\fnil Times New Roman;}}

which suggests the following:

substitute("\fonttbl{\f0\fnil Times New Roman" "\fonttbl{\f0\fnil Verdana")

This has worked for me although I have not tested it extensively.


PS -

estout and esttab from SSC

. which estout
*! version 3.13  06aug2009  Ben Jann

. which esttab
*! version 2.0.5  09mar2009  Ben Jann
*! wrapper for estout

. about

Stata/SE 12.1 for Windows (64-bit x86-64)

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index