ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Box of certain width (and height?) containing a paragraph of text?
@ 2020-03-30 19:45 Gerben Wierda
  2020-03-30 20:37 ` Willi Egger
  2020-03-30 20:59 ` Aditya Mahajan
  0 siblings, 2 replies; 3+ messages in thread
From: Gerben Wierda @ 2020-03-30 19:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Does ConTeXt have a command to create a (non framed) box from a line of text, where the text is typeset as a paragraph inside a box of certain size?

G
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Box of certain width (and height?) containing a paragraph of text?
  2020-03-30 19:45 Box of certain width (and height?) containing a paragraph of text? Gerben Wierda
@ 2020-03-30 20:37 ` Willi Egger
  2020-03-30 20:59 ` Aditya Mahajan
  1 sibling, 0 replies; 3+ messages in thread
From: Willi Egger @ 2020-03-30 20:37 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

Gerben,

did you think about using \framedtext, setting the frame off?

Willi

> On 30 Mar 2020, at 21:45, Gerben Wierda <gerben.wierda@rna.nl> wrote:
> 
> Does ConTeXt have a command to create a (non framed) box from a line of text, where the text is typeset as a paragraph inside a box of certain size?
> 
> G
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Box of certain width (and height?) containing a paragraph of text?
  2020-03-30 19:45 Box of certain width (and height?) containing a paragraph of text? Gerben Wierda
  2020-03-30 20:37 ` Willi Egger
@ 2020-03-30 20:59 ` Aditya Mahajan
  1 sibling, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2020-03-30 20:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

> Does ConTeXt have a command to create a (non framed) box from a line of 
> text, where the text is typeset as a paragraph inside a box of certain 
> size?

You can always fall back to plain tex, but I think that the \framed... 
interface is nicer:

\starttext
\vbox{\hsize 3cm \input ward\relax}
\stoptext

Aditya
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-30 20:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30 19:45 Box of certain width (and height?) containing a paragraph of text? Gerben Wierda
2020-03-30 20:37 ` Willi Egger
2020-03-30 20:59 ` Aditya Mahajan

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).