How do I refer Appendix in latex so as to display 'A' or 'B' in my paper












15














I want to refer appendix in my paper.



Here is my sample latex code:



section{hello1}
label{h1}
bala.......

section{hello2}
label{h2}
bala.....

appendix
label{appendix}
section{}
bala....


Here is what the appendix displays:



enter image description here



I use ref to link sections and eqref to refer equations, and autoref to refer figs and tables. How do I refer appendix to display 'A' in papers?



Thanks so much.










share|improve this question


















  • 2




    Use appendixsection{foo}label{sec.foo} and then call its label ref{sec.foo}.
    – Sigur
    Jul 23 '14 at 2:23












  • label should be placed after the "counter-stepping mechanism" (the sectional unit in your case). See Understanding how references and labels work.
    – Werner
    Jul 23 '14 at 2:43










  • Thanks. I think I have to leave the section{} empty. But this time ref{sec.foo} displays 'Appendix A'. But I only want it to display 'A'. How could I do it?
    – Zizhao
    Jul 23 '14 at 13:12










  • I suppose you are using specialized package for references?
    – Christian Hupfer
    Jul 23 '14 at 23:13










  • Yes. I use hyperref package, but I only use it to ref table and fig by autoref.
    – Zizhao
    Jul 24 '14 at 4:05
















15














I want to refer appendix in my paper.



Here is my sample latex code:



section{hello1}
label{h1}
bala.......

section{hello2}
label{h2}
bala.....

appendix
label{appendix}
section{}
bala....


Here is what the appendix displays:



enter image description here



I use ref to link sections and eqref to refer equations, and autoref to refer figs and tables. How do I refer appendix to display 'A' in papers?



Thanks so much.










share|improve this question


















  • 2




    Use appendixsection{foo}label{sec.foo} and then call its label ref{sec.foo}.
    – Sigur
    Jul 23 '14 at 2:23












  • label should be placed after the "counter-stepping mechanism" (the sectional unit in your case). See Understanding how references and labels work.
    – Werner
    Jul 23 '14 at 2:43










  • Thanks. I think I have to leave the section{} empty. But this time ref{sec.foo} displays 'Appendix A'. But I only want it to display 'A'. How could I do it?
    – Zizhao
    Jul 23 '14 at 13:12










  • I suppose you are using specialized package for references?
    – Christian Hupfer
    Jul 23 '14 at 23:13










  • Yes. I use hyperref package, but I only use it to ref table and fig by autoref.
    – Zizhao
    Jul 24 '14 at 4:05














15












15








15


4





I want to refer appendix in my paper.



Here is my sample latex code:



section{hello1}
label{h1}
bala.......

section{hello2}
label{h2}
bala.....

appendix
label{appendix}
section{}
bala....


Here is what the appendix displays:



enter image description here



I use ref to link sections and eqref to refer equations, and autoref to refer figs and tables. How do I refer appendix to display 'A' in papers?



Thanks so much.










share|improve this question













I want to refer appendix in my paper.



Here is my sample latex code:



section{hello1}
label{h1}
bala.......

section{hello2}
label{h2}
bala.....

appendix
label{appendix}
section{}
bala....


Here is what the appendix displays:



enter image description here



I use ref to link sections and eqref to refer equations, and autoref to refer figs and tables. How do I refer appendix to display 'A' in papers?



Thanks so much.







cross-referencing appendices






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 23 '14 at 2:21









Zizhao

76114




76114








  • 2




    Use appendixsection{foo}label{sec.foo} and then call its label ref{sec.foo}.
    – Sigur
    Jul 23 '14 at 2:23












  • label should be placed after the "counter-stepping mechanism" (the sectional unit in your case). See Understanding how references and labels work.
    – Werner
    Jul 23 '14 at 2:43










  • Thanks. I think I have to leave the section{} empty. But this time ref{sec.foo} displays 'Appendix A'. But I only want it to display 'A'. How could I do it?
    – Zizhao
    Jul 23 '14 at 13:12










  • I suppose you are using specialized package for references?
    – Christian Hupfer
    Jul 23 '14 at 23:13










  • Yes. I use hyperref package, but I only use it to ref table and fig by autoref.
    – Zizhao
    Jul 24 '14 at 4:05














  • 2




    Use appendixsection{foo}label{sec.foo} and then call its label ref{sec.foo}.
    – Sigur
    Jul 23 '14 at 2:23












  • label should be placed after the "counter-stepping mechanism" (the sectional unit in your case). See Understanding how references and labels work.
    – Werner
    Jul 23 '14 at 2:43










  • Thanks. I think I have to leave the section{} empty. But this time ref{sec.foo} displays 'Appendix A'. But I only want it to display 'A'. How could I do it?
    – Zizhao
    Jul 23 '14 at 13:12










  • I suppose you are using specialized package for references?
    – Christian Hupfer
    Jul 23 '14 at 23:13










  • Yes. I use hyperref package, but I only use it to ref table and fig by autoref.
    – Zizhao
    Jul 24 '14 at 4:05








2




2




Use appendixsection{foo}label{sec.foo} and then call its label ref{sec.foo}.
– Sigur
Jul 23 '14 at 2:23






Use appendixsection{foo}label{sec.foo} and then call its label ref{sec.foo}.
– Sigur
Jul 23 '14 at 2:23














label should be placed after the "counter-stepping mechanism" (the sectional unit in your case). See Understanding how references and labels work.
– Werner
Jul 23 '14 at 2:43




label should be placed after the "counter-stepping mechanism" (the sectional unit in your case). See Understanding how references and labels work.
– Werner
Jul 23 '14 at 2:43












Thanks. I think I have to leave the section{} empty. But this time ref{sec.foo} displays 'Appendix A'. But I only want it to display 'A'. How could I do it?
– Zizhao
Jul 23 '14 at 13:12




Thanks. I think I have to leave the section{} empty. But this time ref{sec.foo} displays 'Appendix A'. But I only want it to display 'A'. How could I do it?
– Zizhao
Jul 23 '14 at 13:12












I suppose you are using specialized package for references?
– Christian Hupfer
Jul 23 '14 at 23:13




I suppose you are using specialized package for references?
– Christian Hupfer
Jul 23 '14 at 23:13












Yes. I use hyperref package, but I only use it to ref table and fig by autoref.
– Zizhao
Jul 24 '14 at 4:05




Yes. I use hyperref package, but I only use it to ref table and fig by autoref.
– Zizhao
Jul 24 '14 at 4:05










2 Answers
2






active

oldest

votes


















16














usepackage[toc,page]{appendix}


Then in the body of the text.



This is a reference to the graph appendix ref{appendix:graph}

begin{appendices}

section{Graph Appendix}
label{appendix:graph}
This is the graph appendix...

section{Another Appendix}

end{appendices}


Result in body of text:



reference to appendix latex



Appendix:



appendix for graph






share|improve this answer

















  • 1




    There is no necessity to load appendix.
    – Werner
    Oct 1 '15 at 5:26



















0














You don't necessarily need to import any packages. You can have appendices defined like the following:



appendix

section{Appendix: Rule Tables for Chapter 2}
label{appendix:a}


And refer to them using:



ref{appendix:a}




share








New contributor




eLeMeNOhPi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















    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',
    autoActivateHeartbeat: false,
    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%2f192769%2fhow-do-i-refer-appendix-in-latex-so-as-to-display-a-or-b-in-my-paper%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    16














    usepackage[toc,page]{appendix}


    Then in the body of the text.



    This is a reference to the graph appendix ref{appendix:graph}

    begin{appendices}

    section{Graph Appendix}
    label{appendix:graph}
    This is the graph appendix...

    section{Another Appendix}

    end{appendices}


    Result in body of text:



    reference to appendix latex



    Appendix:



    appendix for graph






    share|improve this answer

















    • 1




      There is no necessity to load appendix.
      – Werner
      Oct 1 '15 at 5:26
















    16














    usepackage[toc,page]{appendix}


    Then in the body of the text.



    This is a reference to the graph appendix ref{appendix:graph}

    begin{appendices}

    section{Graph Appendix}
    label{appendix:graph}
    This is the graph appendix...

    section{Another Appendix}

    end{appendices}


    Result in body of text:



    reference to appendix latex



    Appendix:



    appendix for graph






    share|improve this answer

















    • 1




      There is no necessity to load appendix.
      – Werner
      Oct 1 '15 at 5:26














    16












    16








    16






    usepackage[toc,page]{appendix}


    Then in the body of the text.



    This is a reference to the graph appendix ref{appendix:graph}

    begin{appendices}

    section{Graph Appendix}
    label{appendix:graph}
    This is the graph appendix...

    section{Another Appendix}

    end{appendices}


    Result in body of text:



    reference to appendix latex



    Appendix:



    appendix for graph






    share|improve this answer












    usepackage[toc,page]{appendix}


    Then in the body of the text.



    This is a reference to the graph appendix ref{appendix:graph}

    begin{appendices}

    section{Graph Appendix}
    label{appendix:graph}
    This is the graph appendix...

    section{Another Appendix}

    end{appendices}


    Result in body of text:



    reference to appendix latex



    Appendix:



    appendix for graph







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Oct 1 '15 at 4:57









    David

    317310




    317310








    • 1




      There is no necessity to load appendix.
      – Werner
      Oct 1 '15 at 5:26














    • 1




      There is no necessity to load appendix.
      – Werner
      Oct 1 '15 at 5:26








    1




    1




    There is no necessity to load appendix.
    – Werner
    Oct 1 '15 at 5:26




    There is no necessity to load appendix.
    – Werner
    Oct 1 '15 at 5:26











    0














    You don't necessarily need to import any packages. You can have appendices defined like the following:



    appendix

    section{Appendix: Rule Tables for Chapter 2}
    label{appendix:a}


    And refer to them using:



    ref{appendix:a}




    share








    New contributor




    eLeMeNOhPi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0














      You don't necessarily need to import any packages. You can have appendices defined like the following:



      appendix

      section{Appendix: Rule Tables for Chapter 2}
      label{appendix:a}


      And refer to them using:



      ref{appendix:a}




      share








      New contributor




      eLeMeNOhPi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





















        0












        0








        0






        You don't necessarily need to import any packages. You can have appendices defined like the following:



        appendix

        section{Appendix: Rule Tables for Chapter 2}
        label{appendix:a}


        And refer to them using:



        ref{appendix:a}




        share








        New contributor




        eLeMeNOhPi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        You don't necessarily need to import any packages. You can have appendices defined like the following:



        appendix

        section{Appendix: Rule Tables for Chapter 2}
        label{appendix:a}


        And refer to them using:



        ref{appendix:a}





        share








        New contributor




        eLeMeNOhPi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.








        share


        share






        New contributor




        eLeMeNOhPi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 7 mins ago









        eLeMeNOhPi

        11




        11




        New contributor




        eLeMeNOhPi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        eLeMeNOhPi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        eLeMeNOhPi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            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%2f192769%2fhow-do-i-refer-appendix-in-latex-so-as-to-display-a-or-b-in-my-paper%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

            Entries order in /etc/network/interfaces

            新発田市

            Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)