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: part problems
Date: Fri, 30 Jul 2010 22:37:56 +0200	[thread overview]
Message-ID: <4C533824.5060309@googlemail.com> (raw)
In-Reply-To: <93A8B05E-BFA5-4332-8FDE-557B40557B94@fiee.net>

  Am 30.07.10 19:30, schrieb Henning Hraban Ramm:
> (MkIV, latest beta)
>
> I'm trying to get a title page for book parts:
>
> \def\FPart#1#2{#2}
>
> \setupheads    [align=right, tolerance=verytolerant,
>         before=\nohyphen\startlinecorrection,
>         after=\stoplinecorrection, number=no]
> \setuphead[part][command=\FPart, page=right, style={\bfc}]
>
> \part{My First Part}
>
>
> But the page is empty, also without "command", also with a suitable 
> "textcommand", also without "style".
\setuphead[part][placehead=yes]

To disable hyphenation in headers you can set 'align={right,nothyphenated}'.
> Next problem:
> In my ToC I get "Part  My First Part". (Or "Part 1  My First Part", if 
> I enable the number.)
> How can I suppress that piece of text ("Part")?

\setuplist[part][label=no]
> Generally, what's the best approach to get a fixed font size for some 
> titles, e.g. the part title should have 64 pt.
> Should I use \setuphead[part][before={\switchtobodyfont[64pt]}] ?
\definefont[PartStyle][Serif sa 64pt]

\setuphead[part][style=PartStyle]

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:[~2010-07-30 20:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-30 17:30 Henning Hraban Ramm
2010-07-30 20:37 ` Wolfgang Schuster [this message]
2010-07-30 20:46   ` luigi scarso
2010-07-30 21:00     ` Henning Hraban Ramm
2010-07-30 21:04       ` luigi scarso
2010-07-30 23:08       ` Alan BRASLAU
2010-07-31  9:20         ` Hans Hagen
2010-08-01  8:20           ` Alan BRASLAU
2010-08-01 15:12             ` Hans Hagen
2010-07-30 20:56   ` 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=4C533824.5060309@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).