TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I define a new command that will surround given text with Quine corners?

I'm looking for something that will take me from:

$\qquote{Ixy}$ %Where "\qquote" is the name of the new command


$\ulcorner Ixy \urcorner$
share|improve this question
up vote 5 down vote accepted





enter image description here

Notice that I didn't use $...$ in the definition to avoid possible errors when trying to write the command inside another math-mode expression such as in $a=\qquote{b}$, for example. Some people would then opt for a definition using \ensuremath:


so you can use \qquote both in math and text modes. I personally prefer not to use \ensuremath and to "force" the use of \qquote only in math-mode.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.