Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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

Suppose that I use Graphics, Text, and Style to type one letter in the subscript of a letter and one in the superscript of the same letter. In the Writing Assistant in Mathematica 9, I click the button button to help typeset the string in this command:

Graphics[Text[
  Style["\!\(\*SubsuperscriptBox[\(A\), \(B\), \(C\)]\)", 30, 
   FontFamily -> "Arial"]]]

The graphical output is the following.

example

Why do the letters A, B, and C appear italic, even though I did not specify them as such? I want the letters to all be regular font. The italicization does not happen if I take out the Graphics directive, and just use Text and Style. But I have to use Graphics because I will ultimately include it in a plot.

share|improve this question
2  
check out SingleLetterItalics – chuy Apr 16 '14 at 16:27
1  
you can change the single letter italics, referenced in the previous comment, like this: Graphics[Text[Style["...", 30,FontFamily -> "Arial",SingleLetterItalics -> False]]] – Mike Honeychurch Apr 16 '14 at 22:12
Graphics[Text[
  Style[Subsuperscript["A", "B", "C"], 30, FontFamily -> "Arial", 
   SingleLetterItalics -> False]]]

enter image description here

or

Graphics[Text[
  Style[Subsuperscript[Style["A", Italic], "B", "C"], 30, 
   FontFamily -> "Arial", SingleLetterItalics -> False]]]

enter image description here

share|improve this answer

Your Answer

 
discard

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.