MathGroup Archive 2003

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

Search the Archive

Re: Vertical alignment of cell frame label

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41376] Re: Vertical alignment of cell frame label
  • From: Paul Abbott <paul at physics.uwa.edu.au>
  • Date: Fri, 16 May 2003 06:46:46 -0400 (EDT)
  • Organization: The University of Western Australia
  • References: <b9ibs5$pdb$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <b9ibs5$pdb$1 at smc.vnet.net>,
 Heikki Rantanen <hrantane at cc.hut.fi> wrote:

> I have defined an automatic numbering cell style for bibliography items:
> 
> Cell[StyleData["SourceBook"],
> .
> .
> .
> CellFrameLabels->{{Cell[
>            TextData[ {"[",
>              CounterBox[ "SourceBook"], "]"}]], None}, {None, None}}]
> 
> Thus, an item appears like
> 
>      Colin P. Williams and Scott H. Clearwater,
> [1] "Explorations in Quantum Computing", Springer-
>      Verlag New York, 1997, 307 pages.
> 
> However, I would prefer
> 
> [1] Colin P. Williams and Scott H. Clearwater,
>      "Explorations in Quantum Computing", Springer-
>      Verlag New York, 1997, 307 pages.
> 
> In other words, the cell frame label should be vertically aligned to the 
> top. Anybody know how to achieve this?

AFAIK, such vertical alignment is presently not possible (it is 
something that I requested a number of years ago). 

There is an alternative solution using bilateral cells (see, e.g., 
AuthorTools):

   Cell[TextData[Cell[BoxData[    
      FormBox[GridBox[{ {  RowBox[{"[", CounterBox["Text"], "]"}], 
      Cell["\<\Colin P. Williams and Scott H. Clearwater, \"Explorations 
      in \Quantum Computing\", Springer-Verlag New York, 1997, 307 
      pages\\>"]}  }], TraditionalForm]]]], "Text"]

Cheers,
Paul

-- 
Paul Abbott                                   Phone: +61 8 9380 2734
School of Physics, M013                         Fax: +61 8 9380 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: Quantum Algebra
  • Next by Date: RE: assigning Fit functionally
  • Previous by thread: Vertical alignment of cell frame label
  • Next by thread: Startup sound does not work