URL에 #이 포함되어 있어 오류가 발생했습니다.

URL에 #이 포함되어 있어 오류가 발생했습니다.
\begin{frame}{Triphala Churn}
     \begin{enumerate}
     \item  Three fruits – Amalaki [Indian Gooseberry – Emblica officinalis], Haritaki [Myrobalan – Terminalia chebula], and Vibhatika [Belleric Myrobalan – Terminalia belerica]
    \item Laxative 
    \item result in allergic reaction including anaphylaxis 
     \end{enumerate}
     Ref: http://www.stylecraze.com/articles/harmful-side-effects-of-triphala-churna/#gref
    \end{frame}

#gref 때문에 오류가 발생했을 수 있습니다. 해결 방법이 무엇입니까. 나는 $..$를 수학 기호로 포함하려고 시도했습니다.

답변1

패키지는 특수 문자를 처리하는 를 url제공합니다 . \url또한 fragile프레임에 옵션이 필요할 수도 있습니다.

\usepackage{url}% (shold be already loaded by `hyperref`, which is loaded by `beamer`)

\begin{frame}[fragile]
  ...
  \url{http://www.example.org/index.html#gref}
\end{frame}

관련 정보