
\usepackage{amsmath}
\begin{document}
\begin{align}
E= \textbf{I_{1}} \cdot R_{1} + \textbf{I_{1}}
\end{align}
\end{document}
Responder1
O problema com o seu código é que ele \textbf
define seu argumento no modo texto e não existe notação de subscrito _
no modo texto.
Se você quiser destacar certos componentes de uma equação ou usarnegritodentro do modo matemático, considere usar \mathbf
ou \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}
Responder2
Além de fornecer a chave de fechamento necessária, sugiro que você mude de \textbf
para \mathbf
. Ou seja, algo como
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
E &= \mathbf{I}_{1} \cdot R_{1} + \mathbf{I}_{1}
\end{align}
\end{document}
Observe que eu não renderizaria os 1
subscritos em negrito.