Error: el archivo finalizó mientras se escaneaba el uso de \Gscale@box@dd

Error: el archivo finalizó mientras se escaneaba el uso de \Gscale@box@dd

Ya hay algunas preguntas que tratan sobre esto, pero después de haber incorporado todas las respuestas anteriores en mi archivo tex, todavía no se compila. Cualquier ayuda, muy apreciada.

Editar: se agregó todo el preámbulo, etc. ahora. Gracias por tu tiempo. Editar: Además, esto ha estado funcionando bien, luego, cuando abrí el archivo hoy, ¡nada funcionó!

\documentclass[twoside,fontsize=12pt,
 bibliography=totoc, 
 listof=totoc, 
 index=totoc,
 onehalfspacing]

\usepackage{amsmath}
\usepackage{graphics}
\usepackage[labelfont=footnotesize,textfont=footnotesize]{caption}   
\usepackage{_twoopt}
\usepackage{url}
\usepackage{breakurl}
\usepackage[]{_EuroMasterDiss_sty}
\usepackage[parfill]{parskip}

\begin{document}

\begin{equation} \label{rotmat}
\resizebox{.915\hsize}{!}{%
\begin{array}{ccc}
R_{x}\left(\theta\right) = \left(
\begin{array}{ccc}
1&0&0 \\ 
0&\cos\theta&\sin\theta \\
0&-\sin\theta&\cos\theta\\
\end{array} 
\right),
\ \ \
& R_{y}\left(\theta\right) = \left(
\begin{array}{ccc}
\cos\theta&0&-\sin\theta\\ 
0&1&0 \\
\sin\theta&0&\cos\theta\\
\end{array} 
\right),
\ \ \
& R_{z}\left(\theta\right) = \left(
\begin{array}{ccc}
\cos\theta&\sin\theta&0 \\
-\sin\theta&\cos\theta&0\\
0&0&1\\
\end{array}
\right)
\end{array}%
} 
\end{equation}

\end{document}

EDITAR: Así es como se ve el script de trabajo (tenga en cuenta los signos de dólar adicionales dentro del argumento de \resizebox):

\documentclass[twoside,fontsize=12pt,
bibliography=totoc, 
listof=totoc, 
index=totoc,
onehalfspacing]{article}

\usepackage{amsmath}
\usepackage{graphics}
\usepackage[labelfont=footnotesize,textfont=footnotesize]{caption}   
\usepackage{url}
\usepackage{breakurl}
\usepackage[parfill]{parskip}

\begin{document}

\begin{equation} \label{rotmat}
\resizebox{.915\hsize}{!}{%
$\begin{array}{ccc}
R_{x}\left(\theta\right) = \left(
\begin{array}{ccc}
1&0&0 \\ 
0&\cos\theta&\sin\theta \\
0&-\sin\theta&\cos\theta\\
\end{array} 
\right),
\ \ \
& R_{y}\left(\theta\right) = \left(
\begin{array}{ccc}
\cos\theta&0&-\sin\theta\\ 
0&1&0 \\
\sin\theta&0&\cos\theta\\
\end{array} 
\right),
\ \ \
& R_{z}\left(\theta\right) = \left(
\begin{array}{ccc}
\cos\theta&\sin\theta&0 \\
-\sin\theta&\cos\theta&0\\
0&0&1\\
\end{array}
\right)
\end{array}$%
} 
\end{equation}

\end{document}

Respuesta1

\resizebox{.915\hsize}{!}{%
\begin{array}{ccc} 

generará un error pero no el que muestra, ya que la matriz solo se puede usar en modo matemático

información relacionada