Dne Mon, 05 Apr 2010 14:06:52 +0300 Wolfgang Schuster
<[email protected]> napsal(a):
Am 05.04.10 10:54, schrieb Jan Pohanka:
Hello,
I have following code (simplified)
\def\mySubject#1{#1}
\setuphead[subject][style=\bfb\ss,color=HeadColor,before=,after=,textcommand={\mySubject}]
When the command option is not set it works as expected and typeset the
heading (subject) without any indenting, but using the command causes
the small horizontal space in front of the subject. Is there any
possibility to get rid of it?
Learn to make a minimal example, with this I can't see what you mean.
\def\mySubject#1{#1}
\setuphead
[subject]
[style=\bfb\ss,
color=HeadColor,
before=,
after=,
textcommand={\mySubject}]
\showframe
\starttext
\subject{Text}
\stoptext
Wolfgang
Sorry for unclear question, I have already find the solution. I
missunderstood the \def macro.
\def\mySubject#1{#1} works fine
\def\mySubject#1{
#1
}
causes problems
Jan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry
to the Wiki!
maillist : [email protected] /
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
___________________________________________________________________________________
--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:
http://www.opera.com/mail/
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________