Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Pdf 在表格块内部使用href时出现LaTeX链接错误_Pdf_Url_Latex_Href_Pdflatex - Fatal编程技术网

Pdf 在表格块内部使用href时出现LaTeX链接错误

Pdf 在表格块内部使用href时出现LaTeX链接错误,pdf,url,latex,href,pdflatex,Pdf,Url,Latex,Href,Pdflatex,我有以下代码: \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} 未定义的

我有以下代码:

\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}
未定义的控制序列。
\href
l、 27\href
{http://www.github.com}{github}\end{tabular}
有人知道为什么吗???

您需要加载才能使用
\href{}{}

您需要加载才能使用
\href{}{}{}


反斜杠是一个控制字符,可能您想使用
\url
而不是
\href
\url会给我同样的错误@karakfaPlease发布一个@yacc这是一个MCVE…反斜杠是一个控制字符,也许你想用
\url
而不是
\href
\url给我同样的错误@karakfaPlease发布一个@yacc这是一个MCVE。。。
\documentclass{article}

\usepackage{hyperref}

\begin{document}

\begin{tabular}[t]{@{}l}
  \small MY ADDRESS \\
  \href{http://www.github.com}{github}
\end{tabular}

\end{document}