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 via email to