[lug] LaTeX, article, headers and footers
Timothy C. Klein
teece at silverklein.net
Thu Feb 21 17:50:41 MST 2002
I think you can do \pagestyle{myheadings}, and
then \markright{your Header}
in the preamble. I don't immediately see how to do footers. Latex
actually tries to decide on a header and footer automatically, and for
an article I think the foot is the page number, and the header is empty.
Vague and brief, sorry, but I am not LateX/TeX expert.
HTH,
Tim
* D. Stimits (stimits at idcomm.com) wrote:
> Ok, I have a specific question on how to add headers and footers within
> a LaTeX article class. My TeX book (way out of date) shows
> "\headline={whatever}" and "\footline={whatever}". I have an example two
> column article, but have been unable to figure out exactly how the
> syntax works to add this TeX command within a LaTeX document (compiling
> with pdfelatex).
>
> Now as an example of something I'd like to be able to do, in reading the
> article.cls file, I see several lines that seem to define macros, and
> some other lines that seem to be used for display of macros previously
> defined. A sample of one that is for display of title via an earlier
> definition of title:
> \def\@maketitle{%
> ...snip...
>
> I am thinking that an article class probably has some form of header and
> footer display macro, but if not, then the TeX \headline or \footline
> should be possible. How would I figure out where or how I can add
> headers and footers, based on the document class file? And is there some
> simple trick in syntax to allow me to add TeX commands in directly for
> header or footer?
>
> D. Stimits, stimits at idcomm.com
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
>
--
==============================================
== Timothy Klein || teece at silverklein.net ==
== ---------------------------------------- ==
== "Hello, World" 17 Errors, 31 Warnings... ==
==============================================
More information about the LUG
mailing list