Skip to content

Commit 8a7d094

Browse files
committed
L-more-09 translation
1 parent 08115a4 commit 8a7d094

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

zh-hant/more-09.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
layout: "lesson"
3+
lang: "zh-hant"
4+
title: "更多內容:交叉引用"
5+
description: "本課展示了如何通過載入 `hyperref` 宏包來製作交叉引用的連結。"
6+
toc-anchor-text: "更多內容:交叉引用"
7+
---
8+
9+
## 將交叉引用變成連結
10+
11+
你可以通過使用`hyperref`宏包將交叉引用變成超連結。在大多數情況下,`hyperref`應該在文件導言區中指定的任何其他宏包之後載入。
12+
13+
```latex
14+
% !TEX program=lualatex
15+
16+
\documentclass{ctexart}
17+
\usepackage[hidelinks]{hyperref}
18+
\begin{document}
19+
20+
\section{簡介}
21+
一些令人興奮的文字和一個引用~\ref{sec:next}。
22+
23+
\section{下一件事}
24+
\label{sec:next}
25+
26+
更多文字。
27+
\end{document}
28+
```
29+
30+
我們選擇讓連結與普通文字顏色相同;試試刪除`hidelinks`看看為什麼!

0 commit comments

Comments
 (0)