[英]LaTeX link error using href inside of tabular block
我有這個LaTeX代碼:
\begin{tabular}[t]{@{}l} \small MY ADDRESS\\
\href{http://www.github.com}{github} \end{tabular}
這給了我這個錯誤,沒有其他細節...
Undefined control sequence.
<recently read> \href
l.27 \href
{http://www.github.com}{github} \end{tabular}
有人知道為什么嗎?
您需要加載hyperref
軟件包才能使用\\href{<url>}{<stuff>}
:
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\begin{tabular}[t]{@{}l}
\small MY ADDRESS \\
\href{http://www.github.com}{github}
\end{tabular}
\end{document}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.