In Gmail all messages are displayed with a variable-width font by default. This can make Statalist messages hard to read if they contain tables that only lign up properly with a fixed-width font. Here is a typical Stata table:
Variable | Obs Mean Std. Dev. Min MaxIn Gmail the same table would be displayed like this:
-------------+--------------------------------------------------------
age | 11258 10.46394 2.277534 7 14
school | 11209 .7712552 .4200433 0 1
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
age | 11258 10.46394 2.277534 7 14
school | 11209 .7712552 .4200433 0 1
Gmail has no setting to change the font but users of the Firefox browser can overcome this limitation by editing the file userContent.css in their Firefox profile. If the file userContent.css does not exist you can create a text file with that name and save it in your profile folder. This and other profile files can also be edited easily with the chromEdit extension for Firefox.
Adding the lines below to userContent.css overrides the Gmail settings for non-HTML mail and all simple text messages are then displayed with a fixed-width font.
div.msg div.mb {The procedure is described in more detail on the site of Michael Gauthier, where I learned about this approach.
font-family: monospace !important;
font-size: 12px !important;
}
textarea.tb {
font-family: monospace !important;
font-size: 12px !important;
}
td.ct {
font-family: monospace !important;
font-size: 12px !important;
}
Update (22 June 2008)
As of June 2008, the instructions above are obsolete. Google has added a "Fixed width font" option to Gmail. To activate this feature, follow these steps:
- In Gmail, click on "Settings".
- In the Settings menu, click on "Labs".
- Look for the "Fixed width font" option and select "Enable".
- Click on "Save Changes".
Related articles
- Guide to integrating Stata and external text editors
- Creating maps with Stata
- Creating PNG images with Stata
2 comments:
Chris, thank you for the links.
The old feed isn't working. I created a new one simply go to http://statalistrss.blogspot.com
The associated google group works better than gmail - try it..
Lars
Post a Comment