
\usepackage{amsmath}
\begin{document}
\begin{align}
E= \textbf{I_{1}} \cdot R_{1} + \textbf{I_{1}}
\end{align}
\end{document}
Respuesta1
El problema con su código es que \textbf
establece su argumento en modo texto y no existe notación de subíndice _
en modo texto.
Si desea resaltar ciertos componentes de una ecuación, o usarnegritadentro del modo matemático, considere usar \mathbf
o \bm
(debm
):
\documentclass{article}
\usepackage{amsmath,bm}
\begin{document}
\begin{align*}
E &= \textbf{I\textsubscript{1}} \cdot R_1 + \textbf{I\textsubscript{1}} \\
E &= \mathbf{I}_1 \cdot R_1 + \mathbf{I}_1 \\
E &= \bm{I}_1 \cdot R_1 + \bm{I}_1 \\
E &= \bm{I_1} \cdot R_1 + \bm{I_1}
\end{align*}
\end{document}
Respuesta2
Además de proporcionar la llave de cierre requerida, le sugiero que cambie de \textbf
a \mathbf
. Es decir, algo como
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
E &= \mathbf{I}_{1} \cdot R_{1} + \mathbf{I}_{1}
\end{align}
\end{document}
Tenga en cuenta que no pondría los 1
subíndices en negrita.