ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re: encouraging line breaks
Date: Sat, 14 May 2005 00:51:35 +0100	[thread overview]
Message-ID: <20050514005135.13206@mail.comp.lancs.ac.uk> (raw)
In-Reply-To: <1116025313.8847.8.camel@localhost.localdomain>

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@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

      reply	other threads:[~2005-05-13 23:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-13 23:01 Stuart Jansen
2005-05-13 23:51 ` Adam Lindsay [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050514005135.13206@mail.comp.lancs.ac.uk \
    --to=atl@comp.lancs.ac.uk \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).