From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Henning Hraban Ramm <texml@fiee.net>
Subject: Re: uppercase section titles: no line breaking?
Date: Sat, 11 Jan 2020 19:21:47 +0100 [thread overview]
Message-ID: <53b076ea-019e-11f7-d29c-bac458ab5212@gmail.com> (raw)
In-Reply-To: <5C278B18-759F-4DF4-805B-DE0535E2BE65@fiee.net>
Henning Hraban Ramm schrieb am 11.01.2020 um 18:53:
> Hi again,
> I’m trying to get uppercase titles with \WORD, but they aren’t broken into lines; while \WORD works in normal text.
> What’s the matter?
ConTeXt uses a horizontal box to place the section title which doesn't
matter when you use one of the predefined layouts because they add a
vertical box for the text to allow long texts.
When you use the command key to create your own layout you have to add a
vertical box, otherwise all text is placed in a single line.
While you can use a custom layout to create an uppercase title the
easier way is to use the style key.
\setuphead
[chapter]
[number=no,
%style={\setcharactercasing[WORD]}]
style=WORD]
\starttext
\chapter{\samplefile{weisman}}
\WORD{\samplefile{weisman}}
\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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2020-01-11 18:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-11 17:53 Henning Hraban Ramm
2020-01-11 18:21 ` Wolfgang Schuster [this message]
2020-01-11 18:38 ` Henning Hraban Ramm
2020-01-11 18:51 ` Wolfgang Schuster
2020-01-11 18:59 ` force line spacing (was: uppercase section titles: no line breaking?) Henning Hraban Ramm
2020-01-11 19:05 ` force line spacing Wolfgang Schuster
2020-01-11 19:11 ` Henning Hraban Ramm
2020-01-11 19:43 ` Wolfgang Schuster
2020-01-11 19:49 ` Wolfgang Schuster
2020-01-11 20:07 ` Henning Hraban Ramm
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=53b076ea-019e-11f7-d29c-bac458ab5212@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=texml@fiee.net \
/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).