[texhax] Insert chapter and section heading into document header
Neal H. Walfield
neal at walfield.org
Tue Dec 18 12:59:15 CET 2012
At Tue, 18 Dec 2012 06:24:52 -0500,
Jerry wrote:
> By the way, your remark, "If you want to include the actual
> title in any of the header marks, use "#1" in the definition of the
> relevant mark command", is the first I have seen of that.
In section 9 of the fancyhdr manual:
if “Section 2.2. First steps” is the current section, then
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
will give “2.2. First steps”
> Finding
> accurate, concise documentation in a centralized location appears to
> be as hard as finding a virgin in a whore house.
You've said you're frustrated, but I'm not sure your analogy helps.
Indeed, it sounds childish.
> At least that has been
> my experience so far. I would love to find an all encompassing book,
> but have not been able to locate such an item. Do you have any
> suggestions?
The texdoc command will pull up the manual for a package. For
instance:
$ texdoc fancyhdr
starts a pdf reader with the fancyhdr manual.
Compared to other code bases I've worked with, LaTeX packages are very
well documented. If you need an introduction to LaTeX, the not so
short guide to LaTeX and Lamport's book are both excellent.
Neal
More information about the texhax
mailing list