How would one make a symbol, say \circ in a symbol separated set of letters i.e. A_{\circ} B appear at the top between the letters i.e. A^{\circ} B, but to an arbitrary height (not just using _ or ^)?


  • 2
    What's the difference between a comma at the top and an apostrophe? – Bernard Jan 15 '17 at 2:25
  • @Bernard That's what I was wondering. Is the concern with searching, perhaps? (But why not use an apostrophe anyway, since that is what it will look like?) – cfr Jan 15 '17 at 2:44
  • Its name is typographical apostrophe and it corresponds to unicode U2019. Can't you have it on your keyboard? With UTF8 input encoding, it would be very simple. – Bernard Jan 15 '17 at 2:51
  • I some font families -- including Computer Modern -- the apostrophe character is identical to a raised comma character. In other font families, the two characters can look quite different from each other. Even within the Computer Modern family, when using \ttfamily the , (comma) and ' (apostrophe) characters don't look at all the same. – Mico Jan 15 '17 at 4:37
  • @Bernard U+2019 is RIGHT SINGLE QUOTATION MARK. – egreg Jan 15 '17 at 12:08

Something like this?


$A_{\circ} B$ 

$A{\raisedcirc[0.1ex]} B$
$A{\raisedcirc[0.5ex]} B$
$A{\raisedcirc[1ex]} B$
$A{\raisedcirc[1.5ex]} B$
$A{\raisedcirc[2ex]} B$
$A{\raisedcirc[2.5ex]} B$ 
$A{\raisedcirc[-0.1ex]} B$
$A{\raisedcirc[-0.3ex]} B$
$A{\raisedcirc[-0.5ex]} B$
$A{\raisedcirc[-0.7ex]} B$
$A{\raisedcirc[-0.9ex]} B$
$A{\raisedcirc[-1.1ex]} B$

enter image description here

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