Creating Appendix Titles in LaTeX: A How-To Guide

  • Context: LaTeX 
  • Thread starter Thread starter philip041
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary

Discussion Overview

The discussion focuses on how to format appendix titles in LaTeX, specifically within the article class environment. Participants are seeking solutions to modify the default labeling of appendices from 'A name1' to 'Appendix A: name1'.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant presents a LaTeX code snippet for creating appendices but notes the default labeling format is not as desired.
  • Another participant suggests modifying the style file to achieve the desired appendix format.
  • A subsequent reply asks for clarification on how to implement the suggested changes.
  • Further replies provide steps to locate and modify the article.cls file, with one participant emphasizing the importance of copying the file before making changes.

Areas of Agreement / Disagreement

There is no consensus on the best method to achieve the desired appendix formatting, with participants offering different approaches and steps.

Contextual Notes

Participants have not fully resolved the specific steps required to modify the appendix format, and there may be dependencies on the LaTeX environment and class file definitions.

philip041
Messages
104
Reaction score
0
I have written

\begin{appendix}
\section{name1}
blah blah
\section{name2}
\subsection{name3}
\end{appendix}

It calls them 'A name1' etc, I want it to write 'Appendix A: name1'

How do I get it to do this?

My class environment is article which I don't want to change because that will change other things like the numbering.

help!
 
Physics news on Phys.org
You have to go into the style file and hack it to ensure that you get Appendix A etc..as opposed to A, B etc...
 
how?
 
philip041 said:
how?

Locate the article.cls file, find the line that defines the appendix layout, and amend it to what you want it to look like.
 
cristo said:
Locate the article.cls file, find the line that defines the appendix layout, and amend it to what you want it to look like.
Noooo! First, COPY article.cls to a file with a different name and a .cls extension. Then, do the hacking.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
9K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 11 ·
Replies
11
Views
9K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
18
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K