error de doble subíndice $}

error de doble subíndice $}

ingrese la descripción de la imagen aquí

Hola, estoy intentando encajar esta ecuación matricial grande en los márgenes de la página, pero sigo recibiendo un error de subíndice doble. Cualquier sugerencia es bienvenida, ¡gracias!

Aquí está el código:

\begin{equation}\\
%\renewcommand*{\arraystretch}{1.1}
\resizebox{1 \textwidth}{!} 
{$
\begin{bmatrix}
V_{A} \\
V_{B} \\
V_{C} \\
0\\
0\\
0\\
\end{bmatrix}
=
\begin{bmatrix}
R_A+X_{AA} & X_{AB} & X_{AC} & X_{AN_1} & X_{AN_2} & R_{AG}+X_{AG} \\
X_{BA} & R_B+X_{BB} & X_{BC} & X_{BN_1}& X_{BN_2} & R_{BG}+X_{BG} \\
X_{CA} & X_{CB} & R_C+X_{CC} & X_{CN_1}  & X_{CN_2} & R_{CG}+X_{CG} \\
X_{N_1A} & X_{N_1B} & X_{N_1C} & R_N_1 +X_{N_1N_1} & X_{N_1N_2} & R_{N_1G}+X_{N_1G} \\
X_{N_2A} & X_{N_2B} & X_{N_2C} & X_{N_2N_1} & R_{N_2}+X_{N_2N_2} & R{N_2G}+ X_{N_2G} \\
* &* &* &* &* &*\\
\end{bmatrix}
\begin{bmatrix}
I_{A} \\
I_{B} \\
I_{C} \\
I_{N_1} \\
I_{N_2}\\
I_G\\
\end{bmatrix}
$}
\end{equation}

Respuesta1

Además de cambiar R_N_1a R_{N_1}, también debes cambiar R{N_2G}a R_{N_2G}.

Un tema aparte: en lugar de usar \resizeboxcalzador la ecuación en el espacio disponible, considere emplear un\small directivaafuerael equationentorno. Si realmente quieres usar \resizebox, deberías usar0.94\textwidth como ancho del diseño,no 1\textwidth. ¿Por qué? Porque necesitas reservar algo de espacio para escribir el número de la ecuación.

ingrese la descripción de la imagen aquí

\documentclass{article}
\usepackage{amsmath,geometry}
\begin{document}
\begingroup % localize scope of the "\small" directive
\small
\begin{equation}
   \setlength\arraycolsep{2.5pt} % default: 5pt
    \begin{bmatrix}
    V_{A} \\
    V_{B} \\
    V_{C} \\
    0\\
    0\\
    0
    \end{bmatrix}
    =
    \begin{bmatrix}
    R_A+X_{AA} & X_{AB} & X_{AC} & X_{AN_1} & X_{AN_2} & R_{AG}+X_{AG} \\
    X_{BA} & R_B+X_{BB} & X_{BC} & X_{BN_1}& X_{BN_2} & R_{BG}+X_{BG} \\
    X_{CA} & X_{CB} & R_C+X_{CC} & X_{CN_1}  & X_{CN_2} & R_{CG}+X_{CG} \\
    X_{N_1A} & X_{N_1B} & X_{N_1C} & R_{N_1} +X_{N_1N_1} & X_{N_1N_2} & R_{N_1G}+X_{N_1G} \\
    X_{N_2A} & X_{N_2B} & X_{N_2C} & X_{N_2N_1} & R_{N_2}+X_{N_2N_2} & R{N_2G}+ X_{N_2G} \\
    * &* &* &* &* &*
    \end{bmatrix}
    \begin{bmatrix}
    I_{A}   \\
    I_{B}   \\
    I_{C}   \\
    I_{N_1} \\
    I_{N_2} \\
    I_G 
    \end{bmatrix}
\end{equation}
\endgroup
\end{document}

información relacionada