Forgot password?
 Create new account
View 1674|Reply 4

关于撸题集中的超链接

[Copy link]

2

Threads

4

Posts

48

Credits

Credits
48

Show all posts

热爱生命 Posted at 2018-2-20 18:48:25 |Read mode
撸题集中,整个“定理1.1.1”都是超链接是怎么做到的?用\(\verb|\ref{}|\)的话只有数字是超链接。

701

Threads

110K

Posts

910K

Credits

Credits
94177
QQ

Show all posts

kuing Posted at 2018-2-20 23:52:06
用 hyperref 宏包的 \autoref 命令。

举个栗子:
  1. \documentclass{ctexart}
  2. \usepackage{hyperref}
  3. \newtheorem{problem}{题目}
  4. \newcommand\problemautorefname{题目}
  5. \begin{document}
  6. 下面引用\autoref{test} 看看:
  7. \begin{problem}\label{test}
  8. 内容内容内容
  9. \end{problem}
  10. \end{document}
Copy the Code

2

Threads

21

Posts

131

Credits

Credits
131

Show all posts

aipotuo Posted at 2019-2-15 01:05:24
Last edited by aipotuo at 2019-2-15 01:25:00<del>那么, cases环境(有左花括号)中有编号的公式是如何弄label与ref的呢?<\del>
另外, \usepackage[fleqn]{amsmath}中的fleqn对cases宏包中的numcases环境没有效果. @kuing

65

Threads

414

Posts

3556

Credits

Credits
3556

Show all posts

Tesla35 Posted at 2019-2-26 00:17:51
人教论坛没了。好多链接废了。诶

701

Threads

110K

Posts

910K

Credits

Credits
94177
QQ

Show all posts

kuing Posted at 2019-2-26 01:26:09
回复 4# Tesla35

你收到确切消息了?[发抖]

手机版Mobile version|Leisure Math Forum

2025-4-20 22:20 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list