3
$\begingroup$

I notice that presentations have the input cells (the ones with code) often hidden. Specifically in slide shows. This seems like a pretty basic question, but I can't seem to find out how to do this. I need to put together a presentation and show a bunch of results. This is for non-Mathematica users and the code will just make things look unnecessarily confused. When I double click on an input cell bracket it will hide the output cell. If I have sections, subsections, etc., I can do the same thing. I don't know how to hide the complicated code in a presentation.

$\endgroup$
5
  • $\begingroup$ Perhaps the answer mathematica.stackexchange.com/a/194956/45431 will be useful for you. $\endgroup$
    – Carl Woll
    Jul 1, 2021 at 21:07
  • $\begingroup$ See Hide Input in a Notebook $\endgroup$
    – Bob Hanlon
    Jul 2, 2021 at 2:01
  • $\begingroup$ @BobHanlon Ouch - I thought I had tried that. Obviously not. Thanks! $\endgroup$ Jul 2, 2021 at 12:53
  • $\begingroup$ @CarlWoll Nice! I can't use that for my current situation since there will be some input cells that I want open. But that will undoubtedly come in handy for future presentations. Thanks! $\endgroup$ Jul 2, 2021 at 12:57
  • $\begingroup$ @bbgodfrey More complicated than what I need now. But it opens a lot of options. $\endgroup$ Jul 2, 2021 at 13:00

1 Answer 1

4
$\begingroup$

When I double click on an input cell bracket it will hide the output cell.

Double-click the output cell bracket instead. I mean the one that is highlighted here in yellow, not the bracket for the In-Out pair.

enter image description here

This is what will happen:

enter image description here

$\endgroup$

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