[NTG-context] encouraging line breaks

Adam Lindsay atl at comp.lancs.ac.uk
Sat May 14 01:51:35 CEST 2005


Hi, Stuart.

This is a tricky one, using a second non-obvious keyword as a parameter.
I asked about this on-list a couple years ago. If you want to follow the
thread, the messages are here:
<http://archive.contextgarden.net/search/20050101.000000.00000000@sb:
suppressing,sb:hyphenation.html>

Short answer:

\framed[width=3in,align={right,broad}]{\GiantFont Foobar Bazqux}

Stuart Jansen said this at Fri, 13 May 2005 17:01:53 -0600:

> Below is an example situation where I want the text to
>be rendered on two lines instead of one. I'm hoping I can do it without
>adding manual breaks to the XML, however.
>
>\definefont [GiantFont] [SansBold at 48pt]
>\setupalign[nothyphenated]
>\starttext
>\framed[width=3in,align=right]{\GiantFont Foobar Bazqux}
>\stoptext

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl at comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the ntg-context mailing list