* No new paragraph after framedtext @ 2014-07-05 11:07 Flavien Lambert 2014-07-05 11:11 ` Thomas A. Schmitz 2014-07-05 12:21 ` Wolfgang Schuster 0 siblings, 2 replies; 3+ messages in thread From: Flavien Lambert @ 2014-07-05 11:07 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 496 bytes --] Dear all, I was wondering if there was a way to avoid a new paragraph after a framed text. For example, the following code \starttext \framedtext[width=6em]{abc}\framedtext[width=6em]{abc} \stoptext produces two boxes on top of each other. Is it possible to make them side by side? I could use a table but I would like to keep the possibility of playing with the framebox size as much as I want (like a patchwork of boxes of different sizes that would span part of the pages). Best, Flavien. [-- Attachment #1.2: Type: text/html, Size: 603 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: No new paragraph after framedtext 2014-07-05 11:07 No new paragraph after framedtext Flavien Lambert @ 2014-07-05 11:11 ` Thomas A. Schmitz 2014-07-05 12:21 ` Wolfgang Schuster 1 sibling, 0 replies; 3+ messages in thread From: Thomas A. Schmitz @ 2014-07-05 11:11 UTC (permalink / raw) To: mailing list for ConTeXt users On 07/05/2014 01:07 PM, Flavien Lambert wrote: > Dear all, I was wondering if there was a way to avoid a new paragraph after > a framed text. For example, the following code > > \starttext > \framedtext[width=6em]{abc}\framedtext[width=6em]{abc} > \stoptext > > produces two boxes on top of each other. Is it possible to make them side > by side? \hbox{\framedtext[width=6em]{abc}\framedtext[width=6em]{abc}} is the easiest solution. Thomas ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: No new paragraph after framedtext 2014-07-05 11:07 No new paragraph after framedtext Flavien Lambert 2014-07-05 11:11 ` Thomas A. Schmitz @ 2014-07-05 12:21 ` Wolfgang Schuster 1 sibling, 0 replies; 3+ messages in thread From: Wolfgang Schuster @ 2014-07-05 12:21 UTC (permalink / raw) To: mailing list for ConTeXt users Am 05.07.2014 um 13:07 schrieb Flavien Lambert <petit.lepton@gmail.com>: > Dear all, I was wondering if there was a way to avoid a new paragraph after a framed text. For example, the following code > > \starttext > \framedtext[width=6em]{abc}\framedtext[width=6em]{abc} > \stoptext > > produces two boxes on top of each other. Is it possible to make them side by side? > > I could use a table but I would like to keep the possibility of playing with the framebox size as much as I want (like a patchwork of boxes of different sizes that would span part of the pages). Add \dontleavehmode before the first \framedtext. \starttext \dontleavehmode\framedtext[width=6em]{abc}\framedtext[width=6em]{abc} \stoptext When you want more control about the horizontal placement put them in a line alignment environment: \starttext \startlinealignment[middle] \framedtext[width=6em]{abc}\framedtext[width=6em]{abc} \stoplinealignment \stoptext Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-05 12:21 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-07-05 11:07 No new paragraph after framedtext Flavien Lambert 2014-07-05 11:11 ` Thomas A. Schmitz 2014-07-05 12:21 ` Wolfgang Schuster
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).