| 1 |
abbr.tex is a file containing some simple macros to support |
| 2 |
abbreviations in plain or latex. |
| 3 |
|
| 4 |
Usage example: |
| 5 |
|
| 6 |
===================================================================== |
| 7 |
\input abbr |
| 8 |
|
| 9 |
\abbr{TEX}{\TeX}{TeX} |
| 10 |
\abbr{LATEX}{\LaTeX}{LaTeX} |
| 11 |
\abbr{TEX4HT}{\TeX4HT}{TeX4ht} |
| 12 |
% more user-defined abbreviations here if needed |
| 13 |
|
| 14 |
I love \<TEX> and \<LATEX>, espciallly when I don't have to pay attention |
| 15 |
whether to espace or not to espace a space after a \<TEX> control sequence. |
| 16 |
I also love \<TEX4HT>, and when using it I prefer to have `TeX' and `LaTeX' |
| 17 |
in the html output intead of `TEX' and 'LATEX'. Using abbr.tex also frees |
| 18 |
me from having to remember whether I defined a \ControlSequence or |
| 19 |
\controlsequence or \Controlsequence, and where. Anytime when I need to use |
| 20 |
some abbreviation, I just write \<FOO> and if it's not defined, I add a new |
| 21 |
definition to abbr.tex. It also saves a lot of typing, because in fact |
| 22 |
what I type is not '\<FOO>' but 'foo' and some shortcut to turn it to |
| 23 |
\<FOO>. |
| 24 |
===================================================================== |