我没有发现 latex 显示的错误,这是我的代码。
\documentclass{beamer}
\usepackage{beamerthemeshadow}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{amsmath,amssymb}
\usepackage{comment}
\usepackage[figurename=Fig]{caption}
\usepackage{amsfonts}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows}
\usepackage{float}
\usepackage{verbatim}
\usepackage{array}
\begin{document}
\begin{frame}
\begin{align}
\dot{X}_1&=\dot{v}_c(t)\\
\dot{X}_2 & = -\frac{1}{LC}X_1- \frac{R}{L}X_2+v_i(t)\\
\end{align}
Ahora escribimos las ecuaciónes de forma matricial:
\begin{equation}
\left[\begin{array}{c}
\dot{X}_1\\
\dot{X}_2
\end{array}\right]
\left[\begin{array}{cc}
0 & 1\\
-1\frac{1}{LC} & -\frac{R}{L}
\end{array}\right]
\left[\begin{array}{c}
X_1\\
X_2
\end{array}\right]+
\left[\begin{array}{c}
0\\
\frac{1}{LC}
\end{array}\right] v_i(t)
\end{equation}•
\end{frame}
\end{document}
答案1
不能有空行,equation
删除三行空行,错误就会消失。