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: itemize textstyle
Date: Thu, 7 Jul 2011 17:12:32 +0200	[thread overview]
Message-ID: <272A94B7-0208-442A-9CAF-EF42A27613BE@googlemail.com> (raw)
In-Reply-To: <001601cc3cb1$32766680$97633380$@gmx.de>


Am 07.07.2011 um 16:21 schrieb Christian:

> Hi all,
> is it possible to assign different styles to each itemgroup or level of
> 'itemization'?
> It is possible when using \head to assign a headstyle, but wouldn't it be
> nice to assign a certain textstyle to an item level?
> 
> Consider something heavily customized (but still useful IMHO) like this:
> 1. First Level (bold, small caps)
> 	- Second level (normal)
> 		> third level (italic)
> 			* fourth level (smaller font [\tfx], text color dark
> gray)
> 
> I somehow can't find a way to achieve this, without applying the style in
> the actual list.

\setupitemize[1][style=\bf\setff{smallcaps}]
\setupitemize[3][style=\it]
\setupitemize[4][style=\tfx,color=darkgray]

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:[~2011-07-07 15:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-07 14:21 Christian
2011-07-07 15:12 ` Wolfgang Schuster [this message]
2011-07-07 16:53   ` Christian
2011-07-07 17:23     ` Wolfgang Schuster
2011-07-07 18:19       ` Christian
2011-07-07 18:35         ` 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=272A94B7-0208-442A-9CAF-EF42A27613BE@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).