ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: pol stra <ryzz@hotmail.fr>
To: conteXt mail <ntg-context@ntg.nl>
Subject: Re: Chapter headers variation
Date: Mon, 24 May 2010 22:24:10 +0200	[thread overview]
Message-ID: <BAY137-W9A1CF15468523CB2E04C3B1E70@phx.gbl> (raw)
In-Reply-To: <4BEEE7CC.2010206@googlemail.com>


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

  reply	other threads:[~2010-05-24 20:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-05 19:14 pol stra
2010-05-15 18:24 ` pol stra
2010-05-15 18:28   ` Wolfgang Schuster
2010-05-24 20:24     ` pol stra [this message]
2010-05-16 16:03 ` Wolfgang Schuster

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=BAY137-W9A1CF15468523CB2E04C3B1E70@phx.gbl \
    --to=ryzz@hotmail.fr \
    --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).