Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Use CellGroup to open or close specific cells - see <a href="http://reference.wolfram.com/mathematica/ref/CellGroup.html" rel="noreferrer">http://reference.wolfram.com/mathematica/ref/CellGroup.html</a></p> <pre><code>CreateDocument[{ TextCell["Title", "Title"], TextCell["Subtitle", "Subtitle"], CellGroup[{ TextCell["Section 1", "Section"], TextCell["Section 1.1", "Subsection"], TextCell["Section 1.2", "Subsection"], TextCell["Section 1.3", "Subsection"] }, Closed], TextCell["Section 2", "Section"], TextCell["Section 2.1", "Subsection"], TextCell["Section 2.2", "Subsection"], TextCell["Section 2.3", "Subsection"], TextCell["Section 3", "Section"], TextCell["Section 2.1", "Subsection"], TextCell["Section 2.2", "Subsection"], TextCell["Section 2.3", "Subsection"]}] </code></pre> <p>Or you could wrap the entire collection of TextCells in one high-level CellGroup and play with CellGroup's optional second argument. For example, this will open only the first three cell groups:</p> <pre><code>CreateDocument[{ CellGroup[{ TextCell["Title", "Title"], TextCell["Subtitle", "Subtitle"], TextCell["Section 1", "Section"], TextCell["Section 1.1", "Subsection"], TextCell["Section 1.2", "Subsection"], TextCell["Section 1.3", "Subsection"], TextCell["Section 2", "Section"], TextCell["Section 2.1", "Subsection"], TextCell["Section 2.2", "Subsection"], TextCell["Section 2.3", "Subsection"], TextCell["Section 3", "Section"], TextCell["Section 2.1", "Subsection"], TextCell["Section 2.2", "Subsection"], TextCell["Section 2.3", "Subsection"] }, {1, 2, 3}] }] </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload