Re: Comments in the front end
- To: mathgroup at smc.vnet.net
- Subject: [mg73400] Re: [mg73366] Comments in the front end
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Thu, 15 Feb 2007 05:04:58 -0500 (EST)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200702141018.FAA18988@smc.vnet.net>
- Reply-to: murray at math.umass.edu
You want to create text cells, title cells, and section cells along with the default input cells (and the output cells that result from evaluating input cells). The (* *) construction should be used sparingly, in places in an input cell where you must point out some particular thing that is better put right there instead of separate, documenting text cells. Put the cursor in a place where you see the vertical line, where Mathematica is ready to create a new cell. From the Format menu select Style, and in the fly-out menu then select the type you want -- Text, Section, etc. Then begin typing. What you type will appear in a cell of that type. It will NOT be an evaluatable cell. To insert a mathematical expression within such a text-style cell, you want to insert an "in-line cell". You may start it by typing Ctrl-( then type the expression then end it with Ctrl-) to get back into the plain text mode. A few hours going through the docs will save you many, many hours of being stumped by such questions as you asked. p at dirac.org wrote: > The front end is driving me batty. I want to do hw using Mathematica, and put the > problem statment at the top of the workbook. > > I put the problem statement within (* *) but the formatting is horrendous, > especially when I insert a matrix within the comments. > > Is there a way to tell Mathematica to leave comment formatting alone? > > Thanks! > Pete > -- Murray Eisenberg murray at 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
- References:
- Comments in the front end
- From: <p@dirac.org>
- Comments in the front end