When I add a sub- or superscript to a letter in a "Text" cell using the "Writing Assistant" palette this letter becomes Italic:

Moreover the letter "v" in the subscript is wrongly formatted as being a variable. How to typeset it as Plain?
|
When I add a sub- or superscript to a letter in a
Moreover the letter "v" in the subscript is wrongly formatted as being a variable. How to typeset it as |
|||
|
You can compute in a separate cell this expression:
and then paste the output in your in-line text where you need it. Many things will work, including ideas from comments, - compare the difference in the outlook:
To understand the difference click in any version and press CTRL+SHIFT+E. I guess you need to choose the version more suitable for your case. While j-- idea is neat and preferable for simple cases, while dealing with complex in-line expressions with many indexes and other italicized forms - it is better compute desirable style at once for the whole expression. To address programatically issue mentioned by Jens - the gab between characters in the subscript - one could use
|
||||
|
|
|
You could take the approach of defining a custom style to make the text look however you like, within the bounds of Mathematica's formatting capabilities. For example, in the private style sheet I paste:
Now in a new text cell enter my subscript and select it:
Then I press Alt+0 and enter As you can see this also addresses the spacing concern that Jens discussed. You can keep multiple styles for different purposes, each with potentially extensive customization. |
|||||
|
|
Stylistically, the
and not this:
I'm using the version 8 default style, but the argument is the same in version 9. And how do I get the correct output? Unfortunately, it requires several additional key presses:
I wish I had an easier answer, but if you want the "right" look this appears to be the shortest path. I tried doing the It may be best to define such textual subscripts as "macros" if you plan on re-using them. |
|||
|
|
|
You could, for example, type the sentence and the subscript part just as you did using the Writing Assistant pallette. Then, you can highlight the letter C and switch it to |
|||
|
|
|
One satisfactory workaround is to represent as
I think that such option should be included in the "Writing Assistant" palette. At this moment there is not too many assistance from it... |
|||
|
|
SingleLetterItalics -> False? – rm -rf♦ Feb 10 at 7:12TraditionalFormstyle with"Text". Addition ofSingleLetterItalics -> Falseitself does not work if the style isTraditionalForm. Is it possible to make"Text"the default style for inline cell when it is automatically created while editing a"Text"cell using a palette? – Alexey Popkov Feb 10 at 7:56TraditionalFormwhen dealing with complex in-line math expressions. That probably deserves a separate post. – Vitaliy Kaurov Feb 10 at 8:07