ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vyatcheslav Yatskovsky <yatskovsky@gmail.com>
To: Wolfgang Schuster <schuster.wolfgang@googlemail.com>, ntg-context@ntg.nl
Subject: Re: How to not propagate head settings?
Date: Mon, 07 Jun 2010 01:17:22 +0300	[thread overview]
Message-ID: <4C0C1E72.6070809@gmail.com> (raw)
In-Reply-To: <4C0C1C25.8090706@googlemail.com>

Thanks, current state of affairs is not bad (maybe even better then 
not-propagating alternative), but it's always good to have another 
option, like

\setuphead[section][textstyle=WORD, style={\bfa}, align=center, 
propagate=no]
\setuphead[subsection][style={\bf}]

:)


Another question - I try to make a macro for a "filled in" date.

Empty date is ok
\def \FillInDate {"\hl[2]"\hl[4]\hskip1mm 20\hl[2]\hskip.5mm}

\starttext
\FillInDate
\stoptext

But my printing date "under lines" is a mess. In particular, I want to 
add a bit more space around numbers, but anything I do, the space is not 
underlined for some strange reason. In contrary, month and year are 
glued together, while I want them to be separated by space.

\def \FilledDate#1#2#3 {"\underbar{ #1 }"\hskip5mm\underbar{#2}\hskip5mm 
\underbar{#3}\hskip.5mm}

\starttext
\FilledDate{06}{05}{2010}
\stoptext

-- 
Best Regards,
Vyatcheslav Yatskovsky
___________________________________________________________________________________
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-06-06 22:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1477.1275853449.4277.ntg-context@ntg.nl>
2010-06-06 20:57 ` Removing Introduction section number Vyatcheslav Yatskovsky
2010-06-06 21:15   ` Wolfgang Schuster
2010-06-06 21:39     ` How to not propagate head settings? Vyatcheslav Yatskovsky
2010-06-06 22:07       ` Wolfgang Schuster
2010-06-06 22:17         ` Vyatcheslav Yatskovsky [this message]
2010-06-06 22:29           ` Hans Hagen
2010-06-13 20:03     ` Removing Introduction section number Vyatcheslav Yatskovsky
2010-06-14  6:48       ` Taco Hoekwater
2010-06-14 12:27       ` Wolfgang Schuster
2010-06-14 12:30         ` Vyatcheslav Yatskovsky
2010-06-06 21:20   ` Yury G. Kudryashov
2010-06-06 21:46     ` Alan BRASLAU

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=4C0C1E72.6070809@gmail.com \
    --to=yatskovsky@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=schuster.wolfgang@googlemail.com \
    /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).