# How to type left/right quotes in mathmode?

I want to type "left-quotes" and "right-quotes" in an equation. I tried

$P(x): \forall x \in \mathbb{R}, \, x^2 > 4 \Rightarrow x > 2. $


I get

The end sign is not correct. How to typeset?

-

\documentclass[preview,border=12pt]{standalone}
\usepackage{amsmath,amssymb}
\begin{document}
$P(x):\text{$\forall x \in \mathbb{R}, \, x^2 > 4 \Rightarrow x > 2$.''}$
\end{document}


## Suggestion

It is just my personal preference.

Add a space after  and before ''.

\documentclass[preview,border=12pt]{standalone}
\usepackage{amsmath,amssymb}
\begin{document}
$P(x):\text{~$\forall x \in \mathbb{R}, \, x^2 > 4 \Rightarrow x > 2$~'' is true.}$
\end{document}


-
\documentclass{article}
\usepackage{amsmath,amsfonts}
\begin{document}
$P(x): \forall x \in \mathbb{R}, \, x^2 > 4 \Rightarrow x > 2."$
\end{document}


-
But I wouldn't put math in quotes. – Harish Kumar Sep 30 '13 at 4:20
I can not get as your output. – minthao_2011 Sep 30 '13 at 4:34
@minthao_2011: Did you run the above code as it is? – Harish Kumar Sep 30 '13 at 5:19

The easiest one will be,

$P(x):\forall x \in \mathbb{R}, \, x^2 > 4 \Rightarrow x > 2."$


Or if you want to use two single quotes,

$P(x): \forall x \in \mathbb{R}, \, x^2 > 4 \Rightarrow x > 2. \text{''}$


The output (for both of them) looks like,

For the later case, the right quotes need to be displayed as text, otherwise the output looks rather weird.

And trying to be pedantic, in LaTeX, opening and closing double quotes are treated as different. Left quotes are coded as  (it will the left-most key on the upper row below ~ in many keyboards). Right quotes are given by the two symbols ' ' (or you may want to use the single symbol "). Thus we have quote, unquote' '. The same goes for single quotes, or `quote, unquote'.

You may want to see this for further details.

-