Group Abstract Group Abstract

Message Boards Message Boards

2
|
44.7K Views
|
12 Replies
|
7 Total Likes
View groups...
Share
Share this post:

Comment out whole sections / make them un-executable?

Posted 12 years ago
Hi there,

ocasionally I would like to comment out whole sections, containing several execution groups, from a notebook. Or even better would be to make them un-executable while maintaining their layout.

The usual commenting with (* ... *) cannot do that, since it is limited to comments within one execution group only. On the internet I read that one solution would be to change the section input to Text. But this messes up the fonts, and makes everything hard to read, and is especially cumbersome when one wants to revert is back to usual input to make changes.

Is there a smart way to do what I'd like to do?

I am on Mathematica 9.

Cheers!
POSTED BY: Gernot H
12 Replies
POSTED BY: Lou D'Andria
POSTED BY: Ben Murdin
Posted 3 years ago
POSTED BY: Regan Lowrey
POSTED BY: Daniel Lichtblau
Leave the focus on the cell or cell group you want to deactivate. Look at the Function Menu bar for Cell > Cell Properties and find the check mark next to the property, Evaluatable. Remove that check mark and the selected cells will no longer have the commands sent to the kernel for evaluation. The process is reversable.
Posted 6 years ago
POSTED BY: Regan Lowrey
POSTED BY: Ben Murdin
Posted 3 years ago
POSTED BY: Rohit Namjoshi
POSTED BY: Ben Murdin
Posted 3 years ago
POSTED BY: Rohit Namjoshi
POSTED BY: Ben Murdin
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard