ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Line Wrapping/Hyphenation in Chapter/Section Headings
Date: Sat, 17 Mar 2012 08:30:20 +0100	[thread overview]
Message-ID: <891D81AE-8166-4EB4-A07A-89C88BA1726F@googlemail.com> (raw)
In-Reply-To: <C8FD9493-DA0D-424E-8A40-F4AA4A66F08F@stien.de>


Am 16.03.2012 um 23:34 schrieb Malte Stien:

> Wolfgang,
> 
>> Use ?align={flushleft,nothyphenated}?.
> 
> 
> You mean as in 
> 
> \setuphead[chapter][style=\tfc\ss\bf, alternative=inmargin, align={flushleft, nothyphenated}]
> 
> I tried that and it has no effect. I also found this article here:
> 
> http://tex.stackexchange.com/questions/35686/avoid-hyphenation-in-chapter-title
> 
> ...which suggests using
> 
> \setuphead[chapter][align={flushleft, nothyphenated, verytolerant}]
> 
> ...but that makes no difference either. My chapter titles continue to run off the page to the right. I am happy to post an example somewhere if that helps.


Use also the “broad” keyword for align which makes ConTeXt more tolerant to break the line with ragged text.

\setuphead[chapter][style=\ssbfc,alternative=inmargin, align={flushleft,broad,nothyphenated}]

\starttext
\chapter{Technical Definitions, Acronyms and Abbreviations}
\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
___________________________________________________________________________________


  reply	other threads:[~2012-03-17  7:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.44.1331913678.3819.ntg-context@ntg.nl>
2012-03-16 20:01 ` more indenting Peter Wüsten
2012-03-16 22:33 ` ntg-context Digest, Vol 93, Issue 55 Malte Stien
2012-03-16 22:34 ` Line Wrapping/Hyphenation in Chapter/Section Headings Malte Stien
2012-03-17  7:30   ` Wolfgang Schuster [this message]
     [not found] <mailman.60.1331975009.3819.ntg-context@ntg.nl>
2012-03-18  3:26 ` Malte Stien
2012-03-16 11:09 Malte Stien
2012-03-16 11:31 ` Wolfgang Schuster

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=891D81AE-8166-4EB4-A07A-89C88BA1726F@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).