KOMA Script Chapter / Appendix

  • Follow


I am using KOMA scrreprt style. If I set

\appendix
\chapter{foo}

then I see in the output

Appendix A
foo

but in the TOC

Chapter A foo

How can I change this, i.e. also in the TOC I would like to see
Appendix A instead of Chapter A.

Ulrich
0
Reply Ulrich 3/31/2010 1:30:30 PM

Am 31.03.2010 15:30, schrieb Ulrich:
> I am using KOMA scrreprt style. If I set
> 
> \appendix
> \chapter{foo}
> 
> then I see in the output
> 
> Appendix A
> foo
> 
> but in the TOC
> 
> Chapter A foo
> 
> How can I change this, i.e. also in the TOC I would like to see
> Appendix A instead of Chapter A.
> 

Please provide a minimal but complete example document which shows the
problem. This works like expected:

%---------------------------
\listfiles
\documentclass[fontsize=11pt,paper=a4,pagesize]{scrbook}

\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}

\pagestyle{headings}

\begin{document}

\tableofcontents

\chapter{xxx}
\section{aaa}

\chapter{yyy}
\section{aaa}

\appendix
\chapter{foo}

\end{document}
%---------------------------
*File List*
 scrbook.cls    2010/02/15 v3.05 KOMA-Script document class (book)
scrkbase.sty    2010/02/15 v3.05 KOMA-Script package
(KOMA-Script-dependent bas
ics and keyval usage)
 scrbase.sty    2010/02/15 v3.05 KOMA-Script package
(KOMA-Script-independent b
asics and keyval usage)
  keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
scrlfile.sty    2009/03/25 v3.03 KOMA-Script package (loading files)
tocbasic.sty    2010/01/05 v3.04b KOMA-Script package (handling toc-files)
scrsize11pt.clo    2010/02/15 v3.05 KOMA-Script font size class option
(11pt)
typearea.sty    2010/02/15 v3.05 KOMA-Script package (type area)
inputenc.sty    2008/03/30 v1.1d Input encoding file
  latin1.def    2008/03/30 v1.1d Input encoding file
 fontenc.sty
   t1enc.def    2005/09/27 v1.99g Standard LaTeX file
  t1cmss.fd    1999/05/25 v2.5h Standard LaTeX font definitions
 ***********
%---------------------------

....Rolf


0
Reply Rolf 3/31/2010 2:48:58 PM


Rolf, thank you. O worked through my files and recognized, that I am
using in one of my style-files
\usepackage[dotinlabels]{titletoc}
\usepackage{titlesec}
with some modifications of chapter etc. Deleting this solved the
problem.

I have to rework through my installation and learn more of KOMA (e.g.
how to color the chapter titels etc.)

Thanks for the help.

Ulrich

> Please provide a minimal but complete example document which shows the
> problem. This works like expected:
>
> %---------------------------
> \listfiles
> \documentclass[fontsize=11pt,paper=a4,pagesize]{scrbook}
>
> \usepackage[latin1]{inputenc}
> \usepackage[T1]{fontenc}
>
> \pagestyle{headings}
>
> \begin{document}
>
> \tableofcontents
>
> \chapter{xxx}
> \section{aaa}
>
> \chapter{yyy}
> \section{aaa}
>
> \appendix
> \chapter{foo}
>
> \end{document}
> %---------------------------
> *File List*
0
Reply Ulrich 3/31/2010 4:22:23 PM

2 Replies
569 Views

(page loaded in 0.117 seconds)

Similiar Articles:

7/28/2012 5:26:42 AM


Reply: