Good day,
I am using the following code:
\documentclass[]{report}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{breqn}
\usepackage{hyperref}
\usepackage{amstext}
\hypersetup{linktocpage}
\usepackage{float}
\usepackage{array}
\usepackage{url}
\usepackage{chngpage}
\usepackage{cleveref}
\usepackage[parfill]{parskip}
\usepackage[labelfont={bf},font=small, margin=0.5cm]{caption}
\begin{document}
\begin{align*}
\left \{ NJ^{-1}T_d \right \}_\text{worst case}=\begin{bmatrix}
0.0016 \\
\pm 0.0003 \\
0.0016
\end{bmatrix}
\end{align*}
\end{document}
I end up with the error:
*Argument of \text@ has an extra } \end{align*}*
Any ideas?
Best Answer
I'm not a fan of
breqn
. If you really want to use it (but I find it strange you usealign*
instead of thebreqn
environments), remember that it redefines many things. In particular,_
has a meaning rather different from the usual one and the redefinition has the consequence that some constructs that are legal without it become illegal.Add braces around
\text{worst case}
:I've removed
\left
and\right
that serve no purpose here; also a one linealign*
doesn't make sense. But these adjustments have nothing to do with the problem.