Re: Re: How input stacked characters with vertical bar

*To*: mathgroup at smc.vnet.net*Subject*: [mg53038] Re: [mg53031] Re: How input stacked characters with vertical bar*From*: Murray Eisenberg <murray at math.umass.edu>*Date*: Tue, 21 Dec 2004 05:19:14 -0500 (EST)*Organization*: Mathematics & Statistics, Univ. of Mass./Amherst*References*: <cpekge$74l$1@smc.vnet.net> <200412201135.GAA02676@smc.vnet.net>*Reply-to*: murray at math.umass.edu*Sender*: owner-wri-mathgroup at wolfram.com

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. Paul Abbott wrote: > In article <cpekge$74l$1 at smc.vnet.net>, > Murray Eisenberg <murray at math.umass.edu> wrote: > > >>In a text cell, as part of an in-line mathematical expression, how do I >>type a stacked pair of expressions, both the same size. For example, >>the stacked b above a, next to a long vertical bar, as you would see in >>a statement of the Fundamental Theorem of Calculus that expresses the >>definite integral as F(b) - F(a). > > > Just as you do for an integral or a sum. Use > > \[ControlKey] - > > (subscript) for the lower limit and toggle to the upper limit using > > \[ControlKey] 5 > > These are in the > > Edit | Expression Input > > menu. > > >>And which is the appropriate symbol for that vertical bar? > > > \[VerticalSeparator] > > The keyboard shortcut is > > esc | esc > > >>Is there some way to force it to expand vertically to the extent of the >>stacked expressions next to it, or must one do so manually. > > > 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[{RowBox[{"F", "(", "x", ")"}], > 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

**References**:**Re: How input stacked characters with vertical bar***From:*Paul Abbott <paul@physics.uwa.edu.au>