Generalwhat is the header style for contents, lof, lot

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Gatemaze
Posts: 2
Joined: Wed May 28, 2008 4:54 pm

what is the header style for contents, lof, lot

Post by Gatemaze »

Hi,

Does someone know what is the header "style" for the contents, list of figures, list of tables headers? What I am trying to do is make a List of Symbols after it, and it would be nice if the formatting, margins, etc were the same for all the preface sections. The closest is the \chapter* but still there is a small difference on the margins. Oh yes, we are talking about a report documentclass. Thanks.

gm

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

what is the header style for contents, lof, lot

Post by Stefan Kottwitz »

Hi Gatemaze,

you could look into the file report.cls on your computer, then you will see what's actually done. For example concerning the list of figures:

Code: Select all

\newcommand\listoffigures{%
    \if@twocolumn
      \@restonecoltrue\onecolumn
    \else
      \@restonecolfalse
    \fi
    \chapter*{\listfigurename}%
      \@mkboth{\MakeUppercase\listfigurename}%
              {\MakeUppercase\listfigurename}%
    \@starttoc{lof}%
    \if@restonecol\twocolumn\fi
    }
Indeed \chapter* is used. What difference on the margins do you mean? Vertical, horizontal? Be sure to use the same pagestyle, plain pagestyle is set by default on pages where chapter start. If there is really a difference, could you post a minimal working example showing that?

Stefan
LaTeX.org admin
Gatemaze
Posts: 2
Joined: Wed May 28, 2008 4:54 pm

Re: what is the header style for contents, lof, lot

Post by Gatemaze »

Thanks... I will look into the file.... The difference is like 4-6pt I think as I printed it out the two pages and compared them, so there might be an error in my measurement. Apologies, but an example might be difficult as it is from a long document :), but looking at the file should answer my question. Thanks again.
Post Reply