1
$\begingroup$

I have the problem that my changes to the display style of cells doesn't save with the notebook. When I convert a cell to text-display and check before saving I can see that the style is set as text-display. When I save and reopen the notebook, the cell is back to being an inputform Display. Is there a way to save these cell styles so I won't have to change all the styles every time I open the notebook?

$\endgroup$
3
  • 1
    $\begingroup$ What do you mean by "convert to text-display". Could you give a step-by- step sequence of your actions to convert it? Further, what is the notebook style you work with? $\endgroup$ Jun 30, 2017 at 10:07
  • $\begingroup$ To convert the cell to a Text Display, I click on the cell bracket on the right, then click on cell in the top bar and select Convert to -> Text Display, which changes the cell from an Input Form to a text Display. Then I click on Save and close and reopen the notebook. After this the cell I changed is back to being an Input form and not a text display. This is in a standard notebook, by just creating a new notebook and then saving. $\endgroup$
    – Kevin
    Jun 30, 2017 at 10:36
  • $\begingroup$ Kevin, this your procedure works for me (Min7, Mma 11.1). The reopened notebook contains converted cells. $\endgroup$ Jun 30, 2017 at 10:49

1 Answer 1

2
$\begingroup$

I have tried this myself and have a partial solution.

It seems that the Style of the cell overrides the display properties. So, if the cell's Style is set to "Input", then the display will revert to Input Form.

The partial solution is then to set the Style of the cell to "Text". That way, the display remains as Text Display.

One downside is that the font style is different between Input Style + Text Display, and Text Style + Text Display. The former has a serif font, while the later is sans serif. Also, it doesn't resolve the original issue of why the display should revert in the first place.

$\endgroup$
1
  • $\begingroup$ Your workaround works, but the problem is still there in versions 13.2, 13.0, 12.3 and 11.3 of Wolfram Mathematica. $\endgroup$ Feb 27, 2023 at 10:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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