Hello,
A colleague of mine writes an article for a journal. The style guide for
sections and subsections in the appendix is like
APPENDIX A: Title
1. Subtitle for A
He managed to get the uppercase APPENDIX and the colon and final dot.
But now the references look bad (like see B: or see 1.. at the end of a
sentence). I found some approaches, but couldn't make them work.
https://tex.stackexchange.com/a/413816
https://tex.stackexchange.com/q/22435 (first two answers)
The document with the bad references is below. It would look better if
the colon and the dot would not appear in the references. Any help is
appreciated.
Holger
%%%%%%%%%%%%%%%%%%%%%%
\documentclass[showpacs,preprintnumbers,amsmath,reprint,aps,prx,superscriptaddress]{revtex4-2}
\usepackage[colorlinks]{hyperref}
\usepackage[T1]{fontenc}
\usepackage[title]{appendix}
\begin{document}
\title{Best paper ever}
\author{My Name}
\affiliation{Institute}
\date{\today}
\maketitle
\section{Introduction}
\label{sec:intro}
This is a short introduction to the topic.
\begin{appendices}
\renewcommand*{\appendixname}{APPENDIX}
\renewcommand*{\thesection}{\Alph{section}:}
\renewcommand*{\thesubsection}{\arabic{subsection}.}
\section{Boosting the signals}
\label{sec:boost}
This is an appendix section.
More details are given in section \ref{sec:REMPI} and \ref{sec:REMPI1}.
\section{The next appendix}
\label{sec:REMPI}
Here are more details.
\subsection{Subsection in second appendix}
\label{sec:REMPI1}
Even more stuff.
\end{appendices}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%