0

Similar questions have been asked here.. but I cant seem to make the solution work for me. What I'm trying to do is just display the word APPENDIX, which is centred. Then after that, I would like to include some text. However, in the example below, it keeps displaying APPENDIX A.

How do I eliminate the 'A' from the appendix title?

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[title]{appendix}

\title{appendixTest}
\author{Mr. Anderson}
\date{July 2021}

\begin{document}

    \maketitle
    
    \section{Introduction}
    There is no spoon!
    
    \begin{appendices}
        \renewcommand{\appendixname}{APPENDIX}
        \centering\section{}
        
        \textbf{Title Here!}
        \newline
        Some appendix text here!!!!
    \end{appendices}
 
\end{document}
1
  • Doesn't it help to put an asterix for the section? So, \centering\section*{}
    – seaver
    Jul 12 '21 at 15:17
3

I saw that my comment did not help haha. But this does:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[title]{appendix}

\title{appendixTest}
\author{Mr. Anderson}
\date{July 2021}

\begin{document}

    \maketitle
    
    \section{Introduction}
    There is no spoon!
    

    \begin{appendices}
        \centering\section*{APPENDIX}
        
        \textbf{Title Here!}
        \newline
        Some appendix text here!!!!
    \end{appendices}
 
\end{document}
1
  • 1
    That solved the problem. Thanks!!
    – Electrino
    Jul 12 '21 at 15:22
1

This answer is for the article class but would be slightly different for the book or other classes that defined \chapter.

This MWE replaces your appendices environment by a simple \appendix as it appears that you might have only a single appendix.

% appendixprob.tex  SE 604719

\documentclass{article}
%\documentclass{report}  %%% produces different appendices layout
\usepackage[utf8]{inputenc}
\usepackage[title]%  %% title option maybe irrelevant
  {appendix}

\title{appendixTest}
\author{Mr. Anderson}
\date{July 2021}

\begin{document}

    \maketitle
    
    \section{Introduction}
    There is no spoon!
  
\appendix   %% just one so don't need appendices environment
\renewcommand{\appendixpagename}{APPENDIX}
%\appendixpage %% in article class prodes a \part title (left justified)
\begin{center}  %% center APPENDIX
\appendixpagename
\end{center}
       
        \textbf{Title Here!}
        \newline
        Some appendix text here!!!!
%    \end{appendices}
 
\end{document}

However, this version does use the appendices environment.

% appendixprob2.tex  SE 604719

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[title]{appendix}

\title{appendixTest}
\author{Mr. Anderson}
\date{July 2021}

\begin{document}

    \maketitle
    
    \section{Introduction}
    There is no spoon!
  
    \begin{appendices}
\renewcommand{\appendixpagename}{APPENDIX}
%\appendixpage %% in article class prodes a \part title (left justified)
\begin{center}  %% center APPENDIX
\appendixpagename
\end{center}
       
        \textbf{Title Here!}
        \newline
        Some appendix text here!!!!
    \end{appendices}
 
\end{document}

Processing either version produces the same result.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.