MathGroup Archive 2004

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

Search the Archive

Re: Re: How input stacked characters with vertical bar

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53086] Re: [mg53070] Re: How input stacked characters with vertical bar
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Thu, 23 Dec 2004 07:58:18 -0500 (EST)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <cpekge$74l$1@smc.vnet.net> <200412201135.GAA02676@smc.vnet.net> <cq8tl2$h1h$1@smc.vnet.net> <200412220953.EAA04495@smc.vnet.net>
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

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