I'm using the \enquote
command from the csquotes
package for setting quotes.
When I invoke quotations inside math mode,
either by hand
``<some math>''
or by enquote
\enquote{<some math>}
it renders differently than in text mode.
Here's an example:
Can someone explain why this behavior occurs?
For adjusting the quotation marks by hand, I found this workaround by egreg.
How can I adjust the quotation marks invoked by enquote in math mode?
Here's a MWE, the one from above:
\documentclass[preview]{standalone}
\usepackage{csquotes}
\begin{document}
In text mode:\\
Quote by hand: ``Blub''\\
Quote by enquote: \enquote{Blub}
In math mode:\\
Quote by hand: $``a^2+b^2=c^2''$\\
Quote by enquote: $\enquote{a^2+b^2=c^2}$
\end{document}
\enquote{$formula$}
rather than$\enquote{formula}$
, unless your quotes are part of the math. Are they?$\ldots \enquote{\ldots} \ldots$
. Do you have an idea what to do?