I'm getting Bad math environment delimiter error for the entry below. It is also telling me that I have missing \endgroup inserted, <inserted text>. The output is typeset correctly, but the error is still showing??? Can anyone assist?
\documentclass[11pt]{article}
\newcommand{\Rho}{\mathrm{P}}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\begin{document}
\begin{equation}
\boldsymbol{\dot{\hat\rho}}=\[[\boldsymbol\omega\times]\boldsymbol{\hat\rho}_0}
\end{equation}
\end{document}
Math & Science ⇒ Bad math environment error
NEW: TikZ book now 40% off at Amazon.com for a short time.
Bad math environment error
Hello and Welcome aboard 
Your
The last closing brace has no partner, either.
BTW: you're defining \Rho, but you're using \rho. Since (La)TeX is case-sensitive, the definition of \Rho is superfluous at best.
should work without error.
KR
Rainer

Your
\[
(just after the equal sign) tries to start a new (displayed) math environment, but you're already in math mode.The last closing brace has no partner, either.
BTW: you're defining \Rho, but you're using \rho. Since (La)TeX is case-sensitive, the definition of \Rho is superfluous at best.
Code: Select all
\documentclass[11pt]{article}
%\newcommand{\Rho}{\mathrm{P}}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\begin{document}
\begin{equation}
\boldsymbol{\dot{\hat\rho}}=[\boldsymbol\omega\times]\boldsymbol{\hat\rho}_0%}
\end{equation}
\end{document}
KR
Rainer