References with text in LaTeX

前端 未结 3 1999
情书的邮戳
情书的邮戳 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:20

    Using the hyperref package, you could also declare a new command by using \newcommand{\secref}[1]{\autoref{#1}. \nameref{#1}} in the pre-amble. Placing \secref{section:my} in the text generates: 1. My section.

提交回复
热议问题