Consistent typography
Define commands for common structures; for instance, even if keywords will be typeset with \textsf
, it's better to define
\newcommand\keyword{\textsf}
and use \keyword{mykey}
. This not only adds visual clues when writing and reading the TeX document, but makes possible to change the typographical aspect at once everywhere.
Similarly, define environments for common logical units that might deserve particular typographical treatment.
Put structured comments around things like \enlargethispage
or \pagebreak
used during the final revision (which often turns out not to be really definitive). Make liberal use of comments in general.
For ellipses, do not only use \ldots
, but also load the ellipsis
package. Package description:
This is a simple package that fixes a problem in the way LaTeX handles ellipses: it always puts a tiny bit more space after
\dots
in text mode than before it, which results in the ellipsis being off-center when used between two words.
\documentclass{article}
% \usepackage{ellipsis}% Remove comment sign and compare
\begin{document}
\Huge
Some text \ldots\ and some more.
\end{document}
Note that ellipsis
must be loaded after hyperref
. (The ellipsis
documentation doesn't mention this, but the hyperref README does.)
There are some situations in spacing, where the author has to make TeX
/LaTeX
aware of an exception. Make a difference between 'full stop' and 'full stop after an abbreviation' as in this example:
I like BASIC\@. What about you?
The \@
enforces end-of-sentence period even if the precedent character was a capital letter, it is not part of an acronym. Also, I usually set a fixed space between the number and the unit, when a quantity is given, e.g.:
switching frequency of 1\ MHz
\
inserts a normal inter-word space.