Document ClassesChanging Size of the \appendixpage headline

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
Florian
Posts: 16
Joined: Sat Mar 15, 2008 7:14 pm

Changing Size of the \appendixpage headline

Post by Florian »

Dear friends,

I am using the elsart5p.cls. Unfortunately, in the elsart class' manual is written nothing about the option to add an appendix to an article. If I now use the appendix package together with the appendixpage-command, Latex creates an appendix headline which is way too large (it is even larger than the title of the article, as it is displayed in the elsart5p class). Is there any way to change the size of the headline "Appendix" manually?

In the manual to the appendix package, unfortunately I did not find anything about chaging the font size of the appendix headline.

Thank you very much and best regards,
Florian

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
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Changing Size of the \appendixpage headline

Post by Stefan Kottwitz »

Hi Florian,

the appendix package is using \Huge or \huge, depending on the existence of \chapter.
A quick hack would be to use another font size command inside \appendixpage, it should work even it's expected to be just text:

Code: Select all

\expandafter\def\expandafter\appendixpagename%
\expandafter{\expandafter\Large\appendixpagename}
Or, avoiding plain TeX:

Code: Select all

\renewcommand*\appendixpagename{\Large Appendices}
Stefan
LaTeX.org admin
Florian
Posts: 16
Joined: Sat Mar 15, 2008 7:14 pm

Re: Changing Size of the \appendixpage headline

Post by Florian »

Hi Stefan,

many thanks for your reply. As always, your suggestion solved my problem perfectly. Just adjusting the fontsize through the \renewcommand was a simple idea and did not demand me to change anything in the appendix package code.

Best regards,
Florian
Post Reply