Closing double quote in math mode

math-modepdftex

I would like to have a closing double quote in a mathematical expression in LaTeX. I found this answer which appears to explain how, so I tried the following:

\documentclass{article}

\begin{document}
$C = `` \textrm{dad} ''$

\end{document}

Unfortunately in my case this is the result:

enter image description here

As you can see the closing double quote is not correct. How can I get proper closing double quotes for my math expressions in LaTeX?

Best Answer

Using CMR font, you can get the opening and closing double quotation mark symbol by using the keyboard character itself,

\documentclass{article}

\begin{document}

$C = ``\text{dad}"$

\end{document}

enter image description here

Definitely the same will not work for all fonts, hence should use as per standard structure, i.e., $C = \text{``dad''}$