ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: suppressing hyphenation
Date: Wed, 15 Jan 2003 12:39:11 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20030115123836.02c24640@server-1> (raw)
In-Reply-To: <20030115104944.7210@mail.comp.lancs.ac.uk>

At 10:49 AM 1/15/2003 +0000, you wrote:
>Hello again, Hans.
>
>I believe Hans Hagen said this around Wed, 15 Jan 2003:
>
> >>I'm dealing with long chapter headings, and I would rather set them
> >>ragged and without hyphenation.
> >
> >did you try:
> >
> >   \nohyphens
>
>Sigh.
>No. I guessed \nohyp \nohyphen and \nohyphenation, but the obvious eluded
>me. Is that anywhere in the normal docs? Sorry.
>
>Anyway, that one gets me most of the way there. However, the text block
>is currently inside a \framed, which doesn't understand any of the
>variants of this:
>
> >   \setupalign[nothyphenated]
>
>...as a result (as I interpret it), these ragged-left headings overshoot
>the right margin, presumably because it would "cost" more than growing
>vertically. The normal paragraph penalties shouldn't matter in these titles.
>
>Currently I can work around by hand-breaking the titles before
>"problematic" words to achieve this (simulation in fixed-width font):

\framed[align={nothyphenated,middle},width=4cm] {
>               Perceptual
>        Dissimilarity and
>         Verbal Attribute
>          Ratings of Oboe
>                 Tones I:
>      an investigation of
>tones at different pitch
>       and dynamic levels
>
>Instead of the automatic:
>
>  Perceptual Dissimilarity
>     and Verbal Attribute
>   Ratings of Oboe Tones I:
>      an investigation of
>tones at different pitch
>       and dynamic levels
}

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

  reply	other threads:[~2003-01-15 11:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-15  2:33 Adam Lindsay
2003-01-15  8:33 ` Hans Hagen
2003-01-15 10:49   ` Adam Lindsay
2003-01-15 11:39     ` Hans Hagen [this message]
2003-01-16 11:18       ` Adam Lindsay
2003-01-16 11:37         ` Hans Hagen
2003-01-16 13:36           ` Adam Lindsay
2003-01-16 13:51             ` Hans Hagen
2003-01-16 10:33               ` John Culleton
2003-01-16 15:52                 ` Duncan Hothersall
2003-01-16 16:11                   ` Hans Hagen
2003-01-16 16:04                 ` Hans Hagen

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=5.1.0.14.1.20030115123836.02c24640@server-1 \
    --to=pragma@wxs.nl \
    --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).