Hi all, Is this normal behavior to have the framed text in \bTABLE \bTR \bTD[width=4cm,align=middle] \framed[width=2cm]{test} \eTD \eTR \eTABLE not aligned? If yes, what is a natural way to center the framed text in the cell? Thanks, Olivier
On Fri, 14 Sep 2007 20:27:52 +0200
Olivier
Hi all,
Is this normal behavior to have the framed text in
\bTABLE \bTR \bTD[width=4cm,align=middle] \framed[width=2cm]{test} \eTD \eTR \eTABLE
not aligned?
If yes, what is a natural way to center the framed text in the cell?
\bTABLE \bTR \bTD[width=4cm,align=middle] \dontleavehmode\framed[width=2cm] {test} \eTD\eTR \eTABLE Wolfgang
Quoting "Wolfgang Schuster" :
-- was schuster.wolfgang@googlemail.com on Sep 15, 2007 at 09:49:41AM --
On Fri, 14 Sep 2007 20:27:52 +0200 Olivier
wrote: Hi all,
Is this normal behavior to have the framed text in
\bTABLE \bTR \bTD[width=4cm,align=middle] \framed[width=2cm]{test} \eTD \eTR \eTABLE
not aligned?
If yes, what is a natural way to center the framed text in the cell?
\bTABLE \bTR \bTD[width=4cm,align=middle] \dontleavehmode\framed[width=2cm] {test} \eTD\eTR \eTABLE
Many thanks Wolfgang! That's what I was waiting for. I always thought of \framed as an \hbox. Is it actually implemented as a vbox? Or does it depends on the situation? Cheers, Olivier
On Sat, 15 Sep 2007 12:26:01 +0200
Olivier
Quoting "Wolfgang Schuster" :
-- was schuster.wolfgang@googlemail.com on Sep 15, 2007 at 09:49:41AM --
On Fri, 14 Sep 2007 20:27:52 +0200 Olivier
wrote: Hi all,
Is this normal behavior to have the framed text in
\bTABLE \bTR \bTD[width=4cm,align=middle] \framed[width=2cm]{test} \eTD \eTR \eTABLE
not aligned?
If yes, what is a natural way to center the framed text in the cell?
\bTABLE \bTR \bTD[width=4cm,align=middle] \dontleavehmode\framed[width=2cm] {test} \eTD\eTR \eTABLE
Many thanks Wolfgang! That's what I was waiting for.
I always thought of \framed as an \hbox. Is it actually implemented as a vbox? Or does it depends on the situation?
I think it bevavious by default like a \hbox and with with or height values like a \vbox. Wolfgang
Olivier wrote:
Quoting "Wolfgang Schuster" :
-- was schuster.wolfgang@googlemail.com on Sep 15, 2007 at 09:49:41AM --
On Fri, 14 Sep 2007 20:27:52 +0200 Olivier
wrote: Hi all,
Is this normal behavior to have the framed text in
\bTABLE \bTR \bTD[width=4cm,align=middle] \framed[width=2cm]{test} \eTD \eTR \eTABLE
not aligned?
If yes, what is a natural way to center the framed text in the cell? \bTABLE \bTR \bTD[width=4cm,align=middle] \dontleavehmode\framed[width=2cm] {test} \eTD\eTR \eTABLE
Many thanks Wolfgang! That's what I was waiting for.
I always thought of \framed as an \hbox. Is it actually implemented as a vbox? Or does it depends on the situation?
framed defaults to an hbox unless align is set; in TABLE's align is set so there it defaults to a vbox Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Olivier
-
Wolfgang Schuster