I just discovered this myself and thought it might be useful to some
others, so I'm passing it along....

When I'm trying to figure out how to do something in LaTeX, I have often
found it useful to look at the LaTeX source in latex.ltx. (For example,
the other day I was digging around in the definitions of sectioning
commands to figure out how "*" commands work.) Unfortunately, there is
no documentation there, and the source makes for hard reading. I knew
the original source would be well documented, but that wasn't included
in my distribution. Well, I finally went and found it:
    http://www.ctan.org/tex-archive/macros/latex/base/
The source is in the .dtx files (as usual), and they are heavily
commented. There are a lot of them that, when processed, together
produce latex.ltx, so finding exactly what you want can take some
grepping. But the names of these files are actually quite descriptive.
E.g., ltfntcmd.dtx---that's an old-school, 8.3 filename for
you---contains the code for font commands. What's best of all is that,
once you have one of these files, you can LaTeX it (e.g., latex
ltfntcmd.dtx) and get a nice DVI file with fully commented source code.

By the way, there are other times I've found that documentation is not
provided with my distribution. Thus, I do not seem to have documentation
for the nameref package. Again, it's easy to find this kind of thing on
ctan.

Richard

-- 
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto

Reply via email to