Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'how to exclude input cells from notebook->pdf' topicStudent Support Forum > General > "how to exclude input cells from notebook->pdf"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
yehuda
09/18/12 6:37pm

Hi Brad,
Make a little modification to the post you quoted
There is another option that determines the height of the cell when it is closed
In the new Mathematica versions you do not need to go to the style file, you can make changes locally :

1. Format->Edit Style Sheet
2. Click on the "Choose a Style button" and select Input
3. select the input cell you generated and then CTRL+SHIFT+E (or Command + Shift + E on a Mac) and change
Cell[StyleData["Input"]]
into
Cell[StyleData["Input","Printout"]]
4. CTRL+SHIFT+E again
5. CTRL + SHIFT + O (or Format -> Option Inspector) -> Cell Options -> Display Options -> Cell Element Spacing -> Closed Cell Height
change it to 0
6. Close the Option inspector
7. Cell -> Properties -> Cell Open : unselect it

Close the Private style definitions
now you are done. To see the effect before printing, or even converting to PDF, just change the screen environment to Printout and see the cells closed and not occupying place

Best
yehuda


URL: ,

Subject (listing for 'how to exclude input cells from notebook->pdf')
Author Date Posted
how to exclude input cells from notebook->pdf Brad 09/16/12 8:00pm
Re: how to exclude input cells from notebook->pdf yehuda 09/18/12 6:37pm
< Previous CommentHelp | Reply To Comment | Reply To Topic