MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: How input stacked characters with vertical bar


Ah ... SpanMaxSize!  Now I remember somebody (you?) telling me about 
that once before.

Thank you (again?).

Murray

Paul Abbott wrote:
> In article <cq8tl2$h1h$1 at smc.vnet.net>,
>  Murray Eisenberg <murray at math.umass.edu> wrote:
> 
> 
>>OK, that does stack th subscript and superscript -- but they are not 
>>placed where proper mathematical notation says they should appear with 
>>such a vertical bar.
>>
>>I've tried both the | key on the keyboard as well as the 
>>VerticalSeparator symbol (on the Complete Characters palette).  And 
>>those symbols do (almost) automatically expand to the height of what's 
>>immediately to their left, e.g., a stacked:
>>
>>      2
>>     x
>>    ---
>>     2
>>
>>But the subscript and superscript I type then are NOT located near the 
>>top and bottom of the vertical bar, where they ought to appear.  Rather, 
>>they are quite close together vertically, as if they were the subscript 
>>and superscript on a single letter.
> 
> 
> To get this to work, you _still_ need to select the VerticalSeparator, 
> open the Option Inspector, type in span, hit return, and set the 
> SpanMaxSize to Infinity. 
> 
> Here is an example of such a cell:
> 
>    Cell[BoxData[FormBox[RowBox[
>      {        
>       FractionBox[SuperscriptBox["x", "2"], "2"],         
>       SubsuperscriptBox[
>          StyleBox["\[VerticalSeparator]", SpanMaxSize->Infinity], 
>             "a", "b"]
>       }
>      ], TraditionalForm]], 
>    "Input"
>    ]
> 
> Cheers,
> Paul
> 

-- 
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


  • Prev by Date: Re: How input stacked characters with vertical bar
  • Next by Date: Re: Mathematica is destroying my sanity....
  • Previous by thread: Re: How input stacked characters with vertical bar
  • Next by thread: Re: How input stacked characters with vertical bar