I have the following code:
\documentclass[11pt]{article}
\usepackage{enumerate}
\usepackage{amsmath}
\newenvironment{italic}{\begin{quote}\itshape}{\end{quote}}
\DeclareMathOperator{\rad}{rad}
\begin{document}
\begin{italic}
blablabla
\begin{displaymath}
\rad(R)=\{x\in R\mid x^n=0 \text{ where we consider } n\geq 1\}
\end{displaymath}
more blablabla
\begin{enumerate}
\item $x^n$ with $n=1$
\item $y^m$ with $m=2$
\end{enumerate}
\end{italic}
\end{document}
I'd like the blablabla to be italic, but the text in the mathematical environment (for example "where we consider" and "with") shouldn't be. In my document, I have quite a lot of these blablabla's between mathematical environments, so that's the reason why I use the self-defined italic environment: to save some time and don't have to use \textit
or \itshape
all the time.
How can I solve this? Is this a good approach?
Edit: I've updated my question and changed the title, because the code I gave in the beginning didn't really reflect my situation. My mistake... I've used the tip to declare rad as a mathematical operator.
amsmath
needed to use\text
?