References with text in LaTeX

前端 未结 3 1997
情书的邮戳
情书的邮戳 2021-01-30 19:21

In LaTeX you can easily reference a section by using \\label{} next to a section and then \\ref{} to create the reference. However, the reference only

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-30 20:01

    Have a look to this wiki: LaTeX/Labels and Cross-referencing:

    The hyperref package automatically includes the nameref package, and a similarly named command. It inserts text corresponding to the section name, for example:

    \section{MyFirstSection}
    \label{marker}
    \section{MySecondSection} In section \nameref{marker} we defined...
    

提交回复
热议问题