ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re: Capitalized headings
Date: Mon, 2 May 2005 23:53:12 +0100	[thread overview]
Message-ID: <20050502235312.14596@mail.comp.lancs.ac.uk> (raw)
In-Reply-To: <98D0564335EC4848A87BEDEFF4EA056B55BD@posti.kpatents.com>

Ville Voipio said this at Mon, 2 May 2005 20:49:45 +0300:

>I've been trying to make capitalized (uppercase) 
>headings with little success. I'd like to have
>the titles simply capitalized as with \cap or
>\WORD.
>
>A minimal example:
>
>---
>
>\setuphead[title][style=WORD]
> 
>\starttext
>\title{This is a title}
> 
>The title should be \cap{capitalized} or \WORD{capitalized}.
>
>\stoptext
>
>---
>
>What did a do wrong?

I'm not sure you did do anything wrong: WORD is indeed a legal defined
alternativestyle, but it's not working.

However, this is a workaround, another way of attacking it (it can be
better, too, stylistically, as you can change the font independently):
\setuphead [title] [textcommand=\uppercase]
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 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-02 22:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-02 17:49 Ville Voipio
2005-05-02 22:53 ` Adam Lindsay [this message]
2005-05-03 16:56 Ville Voipio
2005-05-03 21:32 Ville Voipio
2005-05-03 22:58 ` Adam Lindsay

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=20050502235312.14596@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).