MathGroup Archive 2004

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

Search the Archive

Re: How input stacked characters with vertical bar


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

-- 
Paul Abbott                                   Phone: +61 8 6488 2734
School of Physics, M013                         Fax: +61 8 6488 1014
The University of Western Australia      (CRICOS Provider No 00126G)         
35 Stirling Highway
Crawley WA 6009                      mailto:paul at physics.uwa.edu.au 
AUSTRALIA                            http://physics.uwa.edu.au/~paul


  • Prev by Date: Re: Vector Piecewise in 5.1
  • Next by Date: Re: Plotting a function of an interpolated function
  • Previous by thread: Re: Re: How input stacked characters with vertical bar
  • Next by thread: Re: Re: How input stacked characters with vertical bar