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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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