1

I have a beamer document and this is an example of the code that generates the frame:

\begin{frame}
    \frametitle{Some title}
    \begin{itemize}
        \item Some random text in the bullet point \hyperlink{website address}{website name}
    \end{itemize}
\end{frame}

That results in an error. So I tried using the the hyperref package as in an article class document, changed the \hyperlink to \href, but I get the same mistake. I want to get a clickable link within the \item text.

Thank you.

1 Answer 1

3

Use \href{<url>}{<site description>}

b

\documentclass[11pt]{beamer}

\usepackage{lmodern}
\usetheme{default}
\begin{document}


\begin{frame}
    \frametitle{Some title}
    \begin{itemize}
        \item Some random text in the bullet point \href{https://stackexchange.com/}{The StackExchange}
    \end{itemize}
\end{frame}

\end{document}
1
  • I thought the href command needed the hyperref package, silly me. By the way, It also seems that special characters like #, can't go inside the url unless you also use the \ before them. I forgot that rule.
    – Jvet
    Commented Dec 3, 2021 at 19:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .