Skip to main content
6 votes
Accepted

Renaming appendix numbers to S1 and S2 instead of A and B

Appendices must follow the naming format “Appendix S1,” Appendix S2,” and so on. The elsarticle document class contains the following, rather ill-conceived instructions regarding appendix sections ...
Mico's user avatar
  • 519k
6 votes
Accepted

Why does \appendix reset the counter of the level below the main sectioning level?

It's not documented but it's been that way forever. I assume it's because otherwise the section counter would only be reset if there was a numbered \chapter but often you only have one appendix so ...
David Carlisle's user avatar
5 votes

Renaming appendix numbers to S1 and S2 instead of A and B

I concur with Mico's analysis that the code for \appendix in elsarticle.cls is dreadful. However, I don't agree with complicated code in the middle of the document. Also, some changes to Mico's ...
egreg's user avatar
  • 1.2m
3 votes
Accepted

How can I reference a section in an appendix as "section A.1" using cleveref?

Adaptations add \crefalias{subappendix}{section} to your preamble (reduced code) Code \documentclass[twoside=off]{scrbook} \usepackage{hyperref} \usepackage{cleveref} \crefalias{subappendix}{...
dexteritas's user avatar
  • 9,371
3 votes
Accepted

Number subappendices using lowercase small caps in memoir

Both can be solved using a single line \renewcommand{\setthesection}{\thechapter.\alph{section}} At the start of subappendices we run this command \newcommand{\@resets@ppsub}{ \par \setcounter{...
daleif's user avatar
  • 55.5k
2 votes

Renaming appendix numbers to S1 and S2 instead of A and B

\appendix \setcounter{section}{18}%. is R, next will be S \renewcommand{\thesection}{\Alph{section}}
user187802's user avatar
  • 17.6k
2 votes
Accepted

Adjust IEEE Appendix Numbering and Ensure Accurate Cross-Referencing

\thesubsectiondis controls how the counter is displayed with \subsection, but \thesubsection still controls the display when referenced. So just redefine \thesubsection to match. \documentclass[...
mbert's user avatar
  • 4,951
2 votes
Accepted

Wrong autoref chapter name after appendix

For some unknown reason the appendix package redefines a hyperref command globally and so the change is still in effect after the end of the environment. \documentclass[a4paper,12pt,twoside]{book} \...
Ulrike Fischer's user avatar
2 votes
Accepted

Theorem numbering in \appendix includes "Appendix" just before the counter

Without knowing the full definitions set by the class, you can redefine the commands that print the numbers in the appendix: \appendix \renewcommand{\thetheorem}{\Alph{chapter}.\arabic{theorem}} \...
jlab's user avatar
  • 4,191
2 votes
Accepted

amsbook and subappendixes: the word "Appendix" appears twice

The problem is that appendix assumes that \@seccntformat is the same as in standard classes, which it isn't with amsbook. \documentclass{amsbook} \usepackage{appendix} \usepackage{lipsum} \...
egreg's user avatar
  • 1.2m
1 vote

Forcing table on even page in memoir's subindices messes with amsmath's \numberwithin

A long comment. Try adding this to your preamble \AddToHook{env/subappendices/begin}{\typeout{begin subapp}} \AddToHook{env/subappendices/end}{\typeout{end subapp}} \AddToHook{env/table/begin}{\...
daleif's user avatar
  • 55.5k
1 vote
Accepted

Table of Contents - How to add the "Chapter" label

IMHO you want something like: \documentclass[numbers=noenddot,listof=totoc]{scrbook} \usepackage[onehalfspacing]{setspace}% instead of \renewcommand{\baselinestretch}{1.2} \usepackage[top=2.5cm, ...
cabohah's user avatar
  • 15.4k
1 vote
Accepted

Table Reference points to the first table not to the right one, why is that happeneing?

The issue turns out not to be with the visual appearance of the cross-references to tables in the appendix, but with the hyperlink embedded in the cross-reference. I didn't perform a deep dive into ...
Mico's user avatar
  • 519k
1 vote
Accepted

Right aligning all page numbers in overleaf bibliography footer and appendix

Since you're using the book class, you have twosided output. Thus, you have to define the pagenumber for odd (R) and even (L) pages: change the line \fancyfoot[RO]{\thepage} to \fancyfoot[LE,RO]{\...
lukeflo's user avatar
  • 1,597
1 vote

Appendix Incorrect Format

As John already told in a comment, you are using \backmatter before the appendix heading. From the KOMA-Script manual, documentation of \frontmatter, \mainmatter, \backmatter (currently section “3.15. ...
cabohah's user avatar
  • 15.4k
1 vote

Is it possible to independently customize "Chapter 1" and/or "Appendix A" in chapter heading, page header and TOC?

Forgive me for chiming in one year late, but I found this lurking in my INBOX. Although I guess you don't need this anymore I still supply a solution for posterity. A couple of observations: With the ...
Pieter van Oostrum's user avatar
1 vote

Custom labelling of equations in appendix section

The easiest way is to add the section Appendix for equation numbering after you declare the start of \appendix. Like this \appendix \numberwithin{equation}{section} Then all equations after that will ...
teddi's user avatar
  • 41
1 vote

Nomenclature Package and Appendices

First, add the following to your preamble \makenomenclature \makeatletter \def\thenomenclature{% \chapter{\nomname} \nompreamble \list{}{% \labelwidth\nom@tempdim \leftmargin\labelwidth ...
Yves Adou's user avatar
1 vote

Change figure numbering for appendix

A solution that doesn't break hyperref and doesn't require additional packages is as follows: \documentclass{article} \usepackage{hyperref} \begin{document} Text. \begin{figure} \centering ...
nmaclaren's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible