![框架中的描述环境](https://linux22.com/image/373541/%E6%A1%86%E6%9E%B6%E4%B8%AD%E7%9A%84%E6%8F%8F%E8%BF%B0%E7%8E%AF%E5%A2%83.png)
文档beamer
没有编译,我找不到原因;这是一个平均能量损失
\documentclass{beamer}
\usetheme{Berlin}
%\usecolortheme{whale}
\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\begin{document}
%\chapter{Introduction}
\section{Introduction}
\begin{frame}{languaje}
\begin{description}
\item hello \rightarrow comunicate.
\item aja \rightarrow again.
\end{description}
\end{frame}
\end{document}
终端只输出:
! Missing $ inserted.
<inserted text>
$
l.25 \end{frame}
有什么帮助吗?
答案1
\rightarrow
需要处于数学模式,正如错误消息告诉您的那样。
\documentclass{beamer}
\usetheme{Berlin}
\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\begin{document}
\section{Introduction}
\begin{frame}{languaje}
\begin{description}
\item hello $\rightarrow$ comunicate.
\item aja $\rightarrow$ again.
\end{description}
\end{frame}
\end{document}