Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

You can double-click the right gutter of a input cell to hide a corresponding output cell or double-click the gutter of the output cell to hide the input cell.

I would like to hide both the input and the output cell. Is this possible to do within the GUI?

share|improve this question
1  
Yes: select both cells, then Menu > Cell > Cell Properties and un-check Open. –  Mr.Wizard Aug 14 '13 at 20:22
    
@Mr.Wizard Why not make that an answer? –  Tyilo Aug 14 '13 at 20:27
    
Alright, I shall. –  Mr.Wizard Aug 14 '13 at 20:41

1 Answer 1

up vote 4 down vote accepted

Yes, you can hide both Input and Output cells, as well as any other type, by setting the Cell expression option CellOpen to False. This is most frequently done by:

  1. Selecting the entire cell or cells using the cell brackets
  2. Following the Menu path: Cell > Cell Properties and un-checking Open.

It can also be done using the Option Inspector (Shift+Ctrl+O on Windows), or programmatically with e.g. SelectionMove and SetOptions.

In addition to closing the cells you can also collapse the cell group as described in your question or by using Ctrl+' to produce a very compact structure with only a minimal bracket remaining for selection.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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