* \inframed in table
@ 2003-03-11 10:47 varheit
2003-03-11 14:35 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: varheit @ 2003-03-11 10:47 UTC (permalink / raw)
Hi,
maybe a very simple question:
In the following table the formatting of the framed elements is strange
----- cut -----
\starttext
\bTABLE
\bTABLEhead
\bTR
\bTH Keyboard Shortcut \eTH\bTH Description \eTH
\eTR
\eTABLEhead
\bTABLEbody
\bTR
\bTD \inframed{:} + \inframed{q} + \inframed{Enter} \eTD\bTD Quit the
program \eTD
\eTR
\eTABLEbody
\eTABLE
\stoptext
how can I make sure both framed texts stay on one line without
using \hbox. There is enough space in the cell so the line break
should not occur at all.
Vik
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: \inframed in table
2003-03-11 10:47 \inframed in table varheit
@ 2003-03-11 14:35 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2003-03-11 14:35 UTC (permalink / raw)
At 11:47 AM 3/11/2003 +0100, you wrote:
>how can I make sure both framed texts stay on one line without
>using \hbox. There is enough space in the cell so the line break
>should not occur at all.
a typical tex problem, use \noindent or \dontleavehmode; th eproblem is
that when a command (using grouping) starts a paragraph these side effects
show up.
\bTD \dontleavehmode \inframed{:} + \inframed{q} + ...
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-11 14:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-11 10:47 \inframed in table varheit
2003-03-11 14:35 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).