Chapter headers variation
Hello, i realy like the example of the wiki about chapter headers, but i wonder if it is possible to have a deeptext only on the first letter? thanks _________________________________________________________________ Hotmail et MSN dans la poche? HOTMAIL et MSN sont dispo gratuitement sur votre téléphone! http://www.messengersurvotremobile.com/?d=Hotmail
Maybe this could be done by modify t-lettrine.tex and use a lettrine in the header ? _________________________________________________________________ Hotmail : Simple et Efficace qui vous facilite la vie… Découvrez la NOW génération ! http://www.windowslive.fr/hotmail/nowgeneration/
Am 15.05.10 20:24, schrieb pol stra:
Maybe this could be done by modify t-lettrine.tex and use a lettrine in the header ?
untested: \def\ChapterCommand#1% {\doChapterCommand#1\end} \def\doChapterCommand#1#2\end {{\red #1}#2} \setuphead[chapter][deeptextcommand=\ChapterCommand] Wolfgang
That wasn’ t exactly what i expected but thanks to you i get it: \definefont[BigFontOne][Regular sa 3] \definefont[BigFontTwo][RegularBold sa 2] \definecolor[BigColorOne][r=.86,g=.850,b=.54] \definecolor[BigColorTwo][r=.43,g=.425,b=.27] \def\ChapterCommand#1% {\doChapterCommand#1\end} \def\doChapterCommand#1#2\end {\rlap{\BigFontOne\BigColorOne#1}\kern15pt#1#2} \setuphead[chapter] [deeptextcommand=\ChapterCommand, color=BigColorTwo, style=\BigFontTwo] ] Date: Sat, 15 May 2010 20:28:28 +0200 From: schuster.wolfgang@googlemail.com To: ntg-context@ntg.nl Subject: Re: [NTG-context] Chapter headers variation Am 15.05.10 20:24, schrieb pol stra: Maybe this could be done by modify t-lettrine.tex and use a lettrine in the header ? untested: \def\ChapterCommand#1% {\doChapterCommand#1\end} \def\doChapterCommand#1#2\end {{\red #1}#2} \setuphead[chapter][deeptextcommand=\ChapterCommand] Wolfgang _________________________________________________________________ Installez gratuitement les nouvelles Emoch'ticones ! http://www.ilovemessenger.fr/emoticones/telecharger-emoticones-emochticones....
Am 05.05.10 21:14, schrieb pol stra:
Hello, i realy like the example of the wiki about chapter headers http://wiki.contextgarden.net/Chapters_headers#Chapter_headers, but i wonder if it is possible to have a deeptext only on the first letter?
\define[1]\ChaptertextCommand {\getfirstcharacter{#1}% {\red\firstcharacter}\remainingcharacters} \setuphead[chapter][deeptextcommand=\ChaptertextCommand] Wolfgang
participants (2)
-
pol stra
-
Wolfgang Schuster