Version française

Vincent Lefèvre's TeX/LaTeX Page

Space After Period

Due to traditional sentence spacing rules, TeX normally generates a large space after a period (and some other punctuation marks), but disables this behavior when the letter preceding the period is a capital letter: TeX assumes that such a period is used as part of an acronym, thus does not usually end a sentence. This supposition no longer tends to be true nowadays, since periods are almost no longer used in acronyms.

Now one needs to correct this behavior when TeX's guess is wrong. There are two cases:

I've done some tests. Here's the LaTeX source space-after-period.tex and the generated PDF file (zoom in to better see the differences).

Tilde Character

Information about the ae and aeguill packages below is obsolete as these packages have drawbacks and thus should no longer be used. To get real accented characters and correct hyphenation nowadays, a solution is to use the Latin Modern fonts:


The tilde \textasciitilde from the Computer Modern fonts (used via the ae or aeguill package) is too high. To get a tilde at a better height, one can define virtual fonts, as described below. Thanks to Josselin Noirel for his help.

Such virtual fonts based on the ae package can be created from this simple shell script. Then the generated files must be installed in standard directories or directories listed in the environment variables TFMFONTS (for the *.tfm) and VFFONTS (for the *.vf).

To use these virtual fonts, install the ltae.sty file in a standard directory or a directory listed in the environment variable TEXINPUTS, and add to your LaTeX file: \usepackage{ltae}. Note: ltae automatically includes ae and can be used in addition to aeguill.