|
[Date Index]
[Thread Index]
[Author Index]
Re: "pretty printing" input cells
- To: mathgroup at smc.vnet.net
- Subject: [mg6141] Re: [mg6121] "pretty printing" input cells
- From: Allan Hayes <hay at haystack.demon.co.uk>
- Date: Sun, 23 Feb 1997 00:10:55 -0500
- Sender: owner-wri-mathgroup at wolfram.com
murray at math.umass.edu (Murray Eisenberg)
in [mg6121] "pretty printing" input cells
> Mathematica 3.0 (in contrast to 2.x) by default makes it very
> difficult to type an input cell in a "pretty printed" way,...
> ... it tries to fit multiple statements from a compound statement
> on the same line and, when it does skip to the next line, it
> indents only one character width. How does one overcome this?
Murray:
Here are some suggestions:
Make new notebook.
Display the style sheet:
- Format > Edit Style Sheet ... > [for a test use Import Private Copy],
In style sheet, select cell bracket of cell given by
Styles for Input/Output > Prototype for style : "Input":
Now display the option inspector:
Format > Option Inspector ... >
- in Cell Options > New CellDefaults >
set where necessary
DefaultFormatType ----->DefaultInputFormatType
DefaulInlinetFormatType--->DefaulIInputInlineFormatType
and in
CommonDefaultFormatTypes
set where necessary
Input ----> InputForm
TextInline ----> TraditionalForm
InputInline ----> StandardForm
Click "Apply" button at top
- make a input cell:
Check that in it:
1. tabbing and indentation work
2. two dimensional formatting does not work
To deal with 2.:
- select the cell bracket;
- in the Option Inspector find
Cell Options > EdittingOptions >
set
AllowInlineCells ----> True
Click"Apply" button at top
We should be able to set AllowInlineCells in the style sheet but I
have not
succeeded.
We can adjust the default style in this way or make an extra style sheet.
Allan Hayes
hay at haystack.demon.co.uk
http://www.aystack.demon.co.uk
Prev by Date:
Re: selecting from lists
Next by Date:
Re: Graphing with Mmm2.0
Previous by thread:
Re: selecting from lists
Next by thread:
Re: Graphing with Mmm2.0
|