Generalmake headings appendix-headings

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Aurora
Posts: 17
Joined: Thu Jun 28, 2007 3:42 pm

make headings appendix-headings

Post by Aurora »

hi there,

in my current project I want to have the \listoffigures in the appendix-section. (this means, there should be a big letter in front of "list of figures").
I don't know how to do that. hope you can help me.

regards, aurora

ps. I'm using the scrreprt class.

Recommended reading 2024:

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

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

User avatar
pumpkinegan
Posts: 91
Joined: Thu May 03, 2007 10:29 pm

make headings appendix-headings

Post by pumpkinegan »

Here is a rough method (remember to change it back if you want the list of figures in the preface):

Edit line 3027 in scrreprt.cls (\tex\latex\koma-script) from

Code: Select all

\newcommand*\lof@heading{\float@listhead{\listfigurename}}
to be

Code: Select all

\newcommand*\lof@heading{\float@listhead{\chapter{\listfigurename}}}
Another thing to consider is the liststotocnumbered option

Code: Select all

\documentclass[a4paper,liststotocnumbered]{scrreprt}
but this will cause all lists to have a chapter number (for example, if you have a table of contents in the preface)
Aurora
Posts: 17
Joined: Thu Jun 28, 2007 3:42 pm

Re: make headings appendix-headings

Post by Aurora »

liststotocnumbered does exactly what I wanted to have. Thank you!

Am I right, that I have to change the code of the bibtex package to integrate my sources page into appendix?
User avatar
pumpkinegan
Posts: 91
Joined: Thu May 03, 2007 10:29 pm

make headings appendix-headings

Post by pumpkinegan »

I am not sure exactly what you mean, but if you want the bibliography heading numbered like an appendix, then change line 3073 of scrreprt.cls from

Code: Select all

  \chapter*{\bibname}%
to be

Code: Select all

  \chapter{\bibname}%
Then just put your bibliography in the appendix and use BiBTeX as normal

Code: Select all

\appendix
\chapter{An appendix}
\listoffigures
\bibliographystyle{plain}
\bibliography{ReportBib}
Post Reply