Re: typesetting piecewise function
- To: mathgroup at smc.vnet.net
- Subject: [mg19830] Re: typesetting piecewise function
- From: Paul Abbott <paul at physics.uwa.edu.au>
- Date: Sun, 19 Sep 1999 01:20:20 -0400
- Organization: University of Western Australia
- References: <7rnkf4$elv@smc.vnet.net> <7rsgqb$3fu@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Allan Hayes wrote: > We need to deal with two problems: color and size of the brackets > . Color (indicating unmatched brackets) > - select the expression > - Format>Option > Inspector>EditingOptions>PrivateEditingOptions>AutoStyleEditingOptions>AutoS > tyleOptions >"UnmatchedBracketStyle""UnmatchedBracket" > click box on right > and choose "None" > (this could have been done for individual brackets or for the whole cell) There is another solution to this problem (from Neil Soiffer <soiffer at wolfram.com>): In TraditionalForm, you can close off '{' with \[AutoRightMatch] (or ESC\right.ESC) to keep things properly bracketed. (This won't work for StandardForm unless you set DelimiterMatching->None for the cell (or larger scope).) > . Size > Parentheses ( , ) automatically extend to span the related expression - > they are spanning or extensible characters. > Curly brackets {,} and square brackets [,] span by default only to a limited > size. > Spanning is controlled by Edit>Expression Input>SpanningCharacters, and in > more detail by Format>Option Inspector>FormattingOptions>Expression > Formatting>Spanning Character Options > > - select the expression (including all brackets) or select the cell bracket. > - choose Edit > Expression Input >SpanningCharacters > Expand Indefinitely > > (From next issue of Mathematica in Education and Research) Again from Neil: Because very large brackets and braces for their common uses in Mathematica (function call, lists) can look silly, in UnicodeFontMapping.tr they are set to grow to at most '2.01' (factor of two, with a fudge factor for sloppy arithmetic) their normal size when SpanMax is set to Automatic. You can set SpanMax around the character, at the cell level, notebook level, or globally. You may not be happy with what the brackets and braces look like for function call and lists though. You could also change the value in UnicodeFontMapping.tr, but then handing the notebook to someone else and having them see the large brace would also require you handing them modified UnicodeFontMapping.tr, AND it would allow all list braces to grow large. Cheers, Paul ____________________________________________________________________ Paul Abbott Phone: +61-8-9380-2734 Department of Physics Fax: +61-8-9380-1014 The University of Western Australia Nedlands WA 6907 mailto:paul at physics.uwa.edu.au AUSTRALIA http://physics.uwa.edu.au/~paul God IS a weakly left-handed dice player ____________________________________________________________________