GeneralAppendix page font style does not match KOMA style

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
gg026
Posts: 2
Joined: Sat Sep 06, 2008 2:27 pm

Appendix page font style does not match KOMA style

Post by gg026 »

Hello,

I need to insert a separate appendix page before my appendices chapters. Therefore, I am using \appendixpage from the appendix package. However, the font style of the 'Appendices' headline on the appendix page does not match the headline style of the KOMA class scrreprt (which I want to keep).

Below is a minimum working example for demonstration:

Code: Select all

\documentclass {scrreprt}
\usepackage{appendix}
\begin{document}
\chapter{Chapter}
Text1
\appendix
\appendixpage
\chapter{Appendix}
Text2
\end{document}
According to the appendix package the style of the headline is \part. I have tried \setkomafont{part}{\normalcolor\sffamily\bfseries}
but it does not have any effect. Please help !

(P.S. Its my first post here)

Recommended reading 2024:

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

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

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Appendix page font style does not match KOMA style

Post by gmedina »

Hi,

Code: Select all

\documentclass{scrreprt}
\usepackage{appendix}

\begin{document}
\chapter{Chapter}
Text1

\renewcommand\appendixpagename{\usekomafont{disposition}Appendices}

\appendix
\appendixpage
\chapter{Appendix}
Text2

\end{document}
Refer to the KOMA-Script documentation, subsection 3.2.1 Changing fonts.
Last edited by gmedina on Sat Sep 06, 2008 3:26 pm, edited 1 time in total.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Appendix page font style does not match KOMA style

Post by localghost »

You can try to redefine the resulting output of the \appendixpage command.

Code: Select all

\renewcommand{\appendixpagename}{\sffamily Appendices}
For more information see the documentation of appendix (Section 2 - The appendix package, p. 2ff).


Best regards and welcome to the board
Thorsten¹


Edit: The solution of gmedina is the more flexible one.
gg026
Posts: 2
Joined: Sat Sep 06, 2008 2:27 pm

Re: Appendix page font style does not match KOMA style

Post by gg026 »

Thank you so much !!!!
Post Reply