Re: [NTG-context] Chapter headers variation
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.wolfg...@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.aspx___ 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 ___
Re: [NTG-context] Chapter headers variation
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 ___ 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 ___
Re: [NTG-context] Chapter headers variation
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/___ 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 ___
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 ___ 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 ___