I found when I use the article
class and hyperref
package, the % can be printed by \href{url}{text}
but things changes when I use beamer, for example
% Works fine
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\href{www.google.com}{google}
\href{http://www.google.com%some site}{google}
\end{document}
and
% Doesn't work
\documentclass{beamer}
\begin{document}
\begin{frame}{test page}
\href{www.google.com}{google}
\href{http://www.google.com%some site}{google}
\end{frame}
\end{document}
How can I include the % in the url link? Thanks a lot.
\%
) work? – chan1142 Oct 15 '16 at 2:39\%
works. But I want to know why it failed in beamer. – Ice0cean Oct 15 '16 at 3:20