New answers tagged


I use the Code cell style rather than the Input cell style when I want complete control over indentation and formatting. On a Mac, it is Command-8 for Code and Command-9 for Input.


You can set the option "ShowGroupOpener" to True for the first cell of a cell group to add an Opener to open/close the cell groups. Alternatively, set the option "WholeCellGroupOpener" to True to make the whole cell a behave like a toggler button. You can do this in two ways: Manually: Right-click the cell bracket and select Properties to open the ...


You could use a button like this: Button["Toggle cell below", SetOptions[NextCell[], CellOpen -> ! CurrentValue[NextCell[], CellOpen]]]

Top 50 recent answers are included