How to autoref an appendix in IEEE template











up vote
2
down vote

favorite












I need to autoref an appendix but I need the autoref to appear as Appendix A not section A. I use an IEEE conference template. It has a specific command for appendices and to add appendices under it, it uses section command. Here is my minimal script to illustrate the issue:



documentclass[conference]{IEEEtran}
IEEEoverridecommandlockouts
usepackage[noadjust]{cite}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithmic}
usepackage{graphicx}
usepackage{textcomp}
usepackage{xcolor}
usepackage{hyperref}

begin{document}
title{Title Here}
maketitle
begin{abstract}
Abstract here.
end{abstract}

section{Introduction}label{sec:intro}
Some text here. See this (autoref{app:cc}). I want it to appear as Appendix but it appears as section.
clearpage
appendices
section{Title(1) here}label{app:cc}
Some text here.


end{document}


Here is a screenshot:
enter image description here



EDIT:



Please note that I do not want to override the section command with appendix. I use autoref to sections in other places.










share|improve this question




























    up vote
    2
    down vote

    favorite












    I need to autoref an appendix but I need the autoref to appear as Appendix A not section A. I use an IEEE conference template. It has a specific command for appendices and to add appendices under it, it uses section command. Here is my minimal script to illustrate the issue:



    documentclass[conference]{IEEEtran}
    IEEEoverridecommandlockouts
    usepackage[noadjust]{cite}
    usepackage{amsmath,amssymb,amsfonts}
    usepackage{algorithmic}
    usepackage{graphicx}
    usepackage{textcomp}
    usepackage{xcolor}
    usepackage{hyperref}

    begin{document}
    title{Title Here}
    maketitle
    begin{abstract}
    Abstract here.
    end{abstract}

    section{Introduction}label{sec:intro}
    Some text here. See this (autoref{app:cc}). I want it to appear as Appendix but it appears as section.
    clearpage
    appendices
    section{Title(1) here}label{app:cc}
    Some text here.


    end{document}


    Here is a screenshot:
    enter image description here



    EDIT:



    Please note that I do not want to override the section command with appendix. I use autoref to sections in other places.










    share|improve this question


























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I need to autoref an appendix but I need the autoref to appear as Appendix A not section A. I use an IEEE conference template. It has a specific command for appendices and to add appendices under it, it uses section command. Here is my minimal script to illustrate the issue:



      documentclass[conference]{IEEEtran}
      IEEEoverridecommandlockouts
      usepackage[noadjust]{cite}
      usepackage{amsmath,amssymb,amsfonts}
      usepackage{algorithmic}
      usepackage{graphicx}
      usepackage{textcomp}
      usepackage{xcolor}
      usepackage{hyperref}

      begin{document}
      title{Title Here}
      maketitle
      begin{abstract}
      Abstract here.
      end{abstract}

      section{Introduction}label{sec:intro}
      Some text here. See this (autoref{app:cc}). I want it to appear as Appendix but it appears as section.
      clearpage
      appendices
      section{Title(1) here}label{app:cc}
      Some text here.


      end{document}


      Here is a screenshot:
      enter image description here



      EDIT:



      Please note that I do not want to override the section command with appendix. I use autoref to sections in other places.










      share|improve this question















      I need to autoref an appendix but I need the autoref to appear as Appendix A not section A. I use an IEEE conference template. It has a specific command for appendices and to add appendices under it, it uses section command. Here is my minimal script to illustrate the issue:



      documentclass[conference]{IEEEtran}
      IEEEoverridecommandlockouts
      usepackage[noadjust]{cite}
      usepackage{amsmath,amssymb,amsfonts}
      usepackage{algorithmic}
      usepackage{graphicx}
      usepackage{textcomp}
      usepackage{xcolor}
      usepackage{hyperref}

      begin{document}
      title{Title Here}
      maketitle
      begin{abstract}
      Abstract here.
      end{abstract}

      section{Introduction}label{sec:intro}
      Some text here. See this (autoref{app:cc}). I want it to appear as Appendix but it appears as section.
      clearpage
      appendices
      section{Title(1) here}label{app:cc}
      Some text here.


      end{document}


      Here is a screenshot:
      enter image description here



      EDIT:



      Please note that I do not want to override the section command with appendix. I use autoref to sections in other places.







      appendices ieeetran ieee-style ieeeconf autoref






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 6 at 16:08

























      asked Nov 6 at 16:00









      None

      1263




      1263






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I think the problem is due to IEEEtran using appendices rather than the more commonly used appendix.



          Hopefully someone can offer a better solution but in the mean time I have a hacky solution... I've made a new command for referencing appendices, that offers the same output as if autoref could detect the appendices section properly.



          MWE:



          documentclass[conference]{IEEEtran}
          IEEEoverridecommandlockouts
          usepackage[noadjust]{cite}
          usepackage{amsmath,amssymb,amsfonts}
          usepackage{algorithmic}
          usepackage{graphicx}
          usepackage{textcomp}
          usepackage{xcolor}
          usepackage{hyperref}

          newcommand{refappendix}[1]{hyperref[#1]{Appendix~ref*{#1}}}
          begin{document}
          title{Title Here}
          maketitle
          begin{abstract}
          Abstract here.
          end{abstract}

          section{Introduction}label{sec:intro}
          Some text here. See this (refappendix{app:cc}). I want it to appear as Appendix but it appears as section.
          clearpage

          appendices
          section{Title(1) here} label{app:cc}
          Some text here.

          end{document}





          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "85"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458671%2fhow-to-autoref-an-appendix-in-ieee-template%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            I think the problem is due to IEEEtran using appendices rather than the more commonly used appendix.



            Hopefully someone can offer a better solution but in the mean time I have a hacky solution... I've made a new command for referencing appendices, that offers the same output as if autoref could detect the appendices section properly.



            MWE:



            documentclass[conference]{IEEEtran}
            IEEEoverridecommandlockouts
            usepackage[noadjust]{cite}
            usepackage{amsmath,amssymb,amsfonts}
            usepackage{algorithmic}
            usepackage{graphicx}
            usepackage{textcomp}
            usepackage{xcolor}
            usepackage{hyperref}

            newcommand{refappendix}[1]{hyperref[#1]{Appendix~ref*{#1}}}
            begin{document}
            title{Title Here}
            maketitle
            begin{abstract}
            Abstract here.
            end{abstract}

            section{Introduction}label{sec:intro}
            Some text here. See this (refappendix{app:cc}). I want it to appear as Appendix but it appears as section.
            clearpage

            appendices
            section{Title(1) here} label{app:cc}
            Some text here.

            end{document}





            share|improve this answer

























              up vote
              0
              down vote













              I think the problem is due to IEEEtran using appendices rather than the more commonly used appendix.



              Hopefully someone can offer a better solution but in the mean time I have a hacky solution... I've made a new command for referencing appendices, that offers the same output as if autoref could detect the appendices section properly.



              MWE:



              documentclass[conference]{IEEEtran}
              IEEEoverridecommandlockouts
              usepackage[noadjust]{cite}
              usepackage{amsmath,amssymb,amsfonts}
              usepackage{algorithmic}
              usepackage{graphicx}
              usepackage{textcomp}
              usepackage{xcolor}
              usepackage{hyperref}

              newcommand{refappendix}[1]{hyperref[#1]{Appendix~ref*{#1}}}
              begin{document}
              title{Title Here}
              maketitle
              begin{abstract}
              Abstract here.
              end{abstract}

              section{Introduction}label{sec:intro}
              Some text here. See this (refappendix{app:cc}). I want it to appear as Appendix but it appears as section.
              clearpage

              appendices
              section{Title(1) here} label{app:cc}
              Some text here.

              end{document}





              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                I think the problem is due to IEEEtran using appendices rather than the more commonly used appendix.



                Hopefully someone can offer a better solution but in the mean time I have a hacky solution... I've made a new command for referencing appendices, that offers the same output as if autoref could detect the appendices section properly.



                MWE:



                documentclass[conference]{IEEEtran}
                IEEEoverridecommandlockouts
                usepackage[noadjust]{cite}
                usepackage{amsmath,amssymb,amsfonts}
                usepackage{algorithmic}
                usepackage{graphicx}
                usepackage{textcomp}
                usepackage{xcolor}
                usepackage{hyperref}

                newcommand{refappendix}[1]{hyperref[#1]{Appendix~ref*{#1}}}
                begin{document}
                title{Title Here}
                maketitle
                begin{abstract}
                Abstract here.
                end{abstract}

                section{Introduction}label{sec:intro}
                Some text here. See this (refappendix{app:cc}). I want it to appear as Appendix but it appears as section.
                clearpage

                appendices
                section{Title(1) here} label{app:cc}
                Some text here.

                end{document}





                share|improve this answer












                I think the problem is due to IEEEtran using appendices rather than the more commonly used appendix.



                Hopefully someone can offer a better solution but in the mean time I have a hacky solution... I've made a new command for referencing appendices, that offers the same output as if autoref could detect the appendices section properly.



                MWE:



                documentclass[conference]{IEEEtran}
                IEEEoverridecommandlockouts
                usepackage[noadjust]{cite}
                usepackage{amsmath,amssymb,amsfonts}
                usepackage{algorithmic}
                usepackage{graphicx}
                usepackage{textcomp}
                usepackage{xcolor}
                usepackage{hyperref}

                newcommand{refappendix}[1]{hyperref[#1]{Appendix~ref*{#1}}}
                begin{document}
                title{Title Here}
                maketitle
                begin{abstract}
                Abstract here.
                end{abstract}

                section{Introduction}label{sec:intro}
                Some text here. See this (refappendix{app:cc}). I want it to appear as Appendix but it appears as section.
                clearpage

                appendices
                section{Title(1) here} label{app:cc}
                Some text here.

                end{document}






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 6 at 17:10









                Jon

                35816




                35816






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458671%2fhow-to-autoref-an-appendix-in-ieee-template%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                    ComboBox Display Member on multiple fields

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?