Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Printing Notebooks without Input/Output cells

210 views
Skip to first unread message

Brentt

unread,
Apr 4, 2012, 4:32:35 AM4/4/12
to

Is there any way when printing a notebook to print only
text/figure/Formula/...etc cells, but not print input/output cells, that
does not involve going through the notebook and hiding them by hand?

Kevin J. McCann

unread,
Apr 5, 2012, 5:48:28 AM4/5/12
to
Try the menu: Cell->Delete All Output

Kevin

Murray Eisenberg

unread,
Apr 5, 2012, 5:49:29 AM4/5/12
to
Method 1: select _one_ of a particular type of cell you want to print
with Alt+click (Mac: Option+click); that will select _all_ cells of the
same type. Now use File > Print Selection.

Problem: what about "figures" that are in fact the contents of Output cells?

Method 2 (silly): using the same selection method as in Method 1, but
select the types you do _not_ want to print. Delete all those and save
the nb under another name. Now print it.

On 4/4/12 4:30 AM, Brentt wrote:
> Is there any way when printing a notebook to print only
> text/figure/Formula/...etc cells, but not print input/output cells, that
> does not involve going through the notebook and hiding them by hand?
>

--
Murray Eisenberg mur...@math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305

Brentt

unread,
Apr 5, 2012, 5:52:34 AM4/5/12
to
Method 2 actually seems like a good solution.

Yea, I thought of the issue with figures too, sometimes I do want output
cells with figures to be printed. I've thought about trying to remedy this
by copying graphics from output cells into "figure" cells, but those cells
(perplexingly) don't appear to accept graphics being pasted into them (or
maybe it's an issue with dynamic content?).

Am I missing something in the docs? Mathematica has a nice WYSIWYG
typsetting system, but it seems to be not as well documented as the rest of
the system (e.g. I can't find anything on how to use these "figure" cells
available in some stylesheets). Am I missing some hidden recesses of the
documentation?

Barrie Stokes

unread,
Apr 5, 2012, 5:58:42 AM4/5/12
to
ShowCellLabel can be set to False (i.e., unticked) in a tick box in the Option Inspector.

>>> On 04/04/2012 at 6:30 pm, in message <2012040408...@smc.vnet.net>,

Nigel King

unread,
Apr 6, 2012, 5:54:31 AM4/6/12
to
The area you need to explore is the Notebook Options. You can specify
whether any type of cell is printed. You can effectively preview your
printed output by using
Format->Screen Environment->Printout
The help text on the whole of this subject is sometimes obscure but you
need to go to
"tutorial/DisplayingAndPrintingMathematicaNotebooks" in the help
I haven't found it but I am sure you can close the input and output
cells fro printing
--
Nigel King
0 new messages