In Mathematica 11.1 and earlier it was possible to select just part of the text in a cell, and apply a different style to it using Format → Style. For example, we could type "One two three four" in a "Text" cell, select "three" and apply the "Program" style:
The cell expression would look like this:
Cell[TextData[{
"One two ",
StyleBox["three", "Program"],
" four."
}], "Text"]
In Mathematica 11.2, using Format → Style when only part of a cell is selected changes the style of the entire cell. Performing the same steps results in:
Cell["One two three four.", "Program"]
How can I change the style of just part of a cell in M11.2?
Related:
Style
font end token was exactly the same thing as the Style menu item in the Format menu. $\endgroup$Alt-0
as we are typing along (without first creating a format box). 3. I consider the new behavior buggy and have reported it to Support. If you hear any debate over this, please ask the debaters to go through the process of typing a long text cell with many formatted text fragments. As soon as they reach for the mouse, put them in time out. $\endgroup$ctrl-(
before usingAlt-8
. But we should not have to usectrl-(
. Additionally, doing so will create an entire inlineCell
wrapping aFormBox
that wraps aStyleBox
. I just want to insert aStyleBox
, likeAlt-8
does in Mma 11.1 under Win 10. Bottom line: it should be as easy as possible to type with style, and the new (11.2) behavior is apparently breaking this. $\endgroup$