2

I am using Mathematica 12 and I am trying to set up some global preferences. What I am looking for is a way to set up globally (i.e. once and for all), for the Cells of Chapter, Subchapter styles that I create, to make the their GroupOpener visible.

Is there a way to configure it once and for all?

Silvia
  • 27,556
  • 3
  • 84
  • 164
hal
  • 783
  • 3
  • 14
  • I do not understand what "the opening of different chapters" means. – Szabolcs Mar 18 '20 at 18:19
  • When one sets a title, a section or a subsection (or anything else), then this subdivision of the nb has a title, i.e. it is like a chapter. I know that there is a way to configure globally, by double click in the cell on the right or next to the section, the "opening" or "closing" of that section/subsection etc. – hal Mar 18 '20 at 18:43
  • @Szabolcs I think OP is looking for a way to setup keyboard bindings for opening / closing cell subgroups. e.g. ALT + 1 would toggle open / close of all Title style cells. – Rohit Namjoshi Mar 18 '20 at 19:52
  • @RohitNamjoshi Actually, Alt+1 creates a title cell, Alt+2 a subtitle, etc. hal: I still do not understand, sorry ... – Szabolcs Mar 18 '20 at 19:53
  • @Szabolcs Sorry, I should have been more specific. On MacOs, Cmd+1 creates title, etc. – Rohit Namjoshi Mar 18 '20 at 19:56
  • Are you referring to Cell GroupOpener? – Silvia Mar 18 '20 at 20:14
  • @Silvia Yes, I am referring to that. In the "Options for Global Preferences", there is no option that makes the cell on the right to have a little arrow and therefore facilitating its opening/closing. This used to be a feature in e.g. Mathematica 11.1. – hal Mar 19 '20 at 08:20
  • Now it's clear. Please edit that into the question. – Szabolcs Mar 19 '20 at 09:00
  • 1
    @Szabolcs I have edited the question according to OP's comment. – Silvia Mar 19 '20 at 09:05
  • It appears that the option is present (ShowGroupOpener), but the notebook setting does not always inherit the global setting by default. Instead, it checks whether the stylesheet has a setting. If yes, it uses that, otherwise, it inherits the global setting. The default stylesheet does happen to have this set, so it prevents the global setting from taking effect. (Sorry, I don't know how to work around with this.) – Szabolcs Mar 19 '20 at 09:10
  • Hey, no problem and thank you! The thing is that if I choose CellOptions->DisplayOptions->ShowGroupOpener : Inline, I can open and close sections but after I evaluate a cell with multiple lines, I can't put the cursor at an arbitrary point of the expression by just clicking (in that point) with the mouse. I can only navigate with the keyboard arrows! – hal Mar 19 '20 at 09:18
  • @hal Hi there, I don't understand the cursor part in your last comment, neither do I observed that kind of issue here. Could it be operating system related? Could you please clarify it further? – Silvia Mar 19 '20 at 09:30
  • @Silvia No it's not because yesterday it was perfectly fine. Me trying to find a solution for the above, somehow broke staff. Is there a way to wipe clean all the global configurations? Now its even worse, I can't see the cursor at all in the cell. – hal Mar 19 '20 at 09:32
  • Without ability to reproduce it, we can hardly help. But I think that sounds like some serious issue in the FrontEnd. I would suggest you make sure your work is saved safely and then contact Wolfram's service. – Silvia Mar 19 '20 at 09:37
  • I don't think so. I just selected a preference that messed things up. Is there a way to reset global preferences? – hal Mar 19 '20 at 09:51
  • Hey, I just put the ShowGroupOpener : None and everything went back to normal. I don't know what is the issue or why it behaves like that. Thanks for the help. – hal Mar 19 '20 at 10:02

0 Answers0