ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Chapter headers variation
@ 2010-05-05 19:14 pol stra
  2010-05-15 18:24 ` pol stra
  2010-05-16 16:03 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: pol stra @ 2010-05-05 19:14 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 376 bytes --]


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

[-- Attachment #1.2: Type: text/html, Size: 627 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Chapter headers variation
  2010-05-05 19:14 Chapter headers variation pol stra
@ 2010-05-15 18:24 ` pol stra
  2010-05-15 18:28   ` Wolfgang Schuster
  2010-05-16 16:03 ` Wolfgang Schuster
  1 sibling, 1 reply; 5+ messages in thread
From: pol stra @ 2010-05-15 18:24 UTC (permalink / raw)
  To: conteXt mail


[-- Attachment #1.1: Type: text/plain, Size: 303 bytes --]


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/

[-- Attachment #1.2: Type: text/html, Size: 459 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Chapter headers variation
  2010-05-15 18:24 ` pol stra
@ 2010-05-15 18:28   ` Wolfgang Schuster
  2010-05-24 20:24     ` pol stra
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2010-05-15 18:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 306 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 842 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Chapter headers variation
  2010-05-05 19:14 Chapter headers variation pol stra
  2010-05-15 18:24 ` pol stra
@ 2010-05-16 16:03 ` Wolfgang Schuster
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2010-05-16 16:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 429 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 943 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Chapter headers variation
  2010-05-15 18:28   ` Wolfgang Schuster
@ 2010-05-24 20:24     ` pol stra
  0 siblings, 0 replies; 5+ messages in thread
From: pol stra @ 2010-05-24 20:24 UTC (permalink / raw)
  To: conteXt mail


[-- Attachment #1.1: Type: text/plain, Size: 1344 bytes --]


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.aspx

[-- Attachment #1.2: Type: text/html, Size: 2313 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-24 20:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-05 19:14 Chapter headers variation pol stra
2010-05-15 18:24 ` pol stra
2010-05-15 18:28   ` Wolfgang Schuster
2010-05-24 20:24     ` pol stra
2010-05-16 16:03 ` Wolfgang Schuster

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).