From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Indent of heading when using command option
Date: Mon, 05 Apr 2010 13:06:52 +0200 [thread overview]
Message-ID: <4BB9C44C.1030700@googlemail.com> (raw)
In-Reply-To: <op.vaoogg2fyxxkfz@julesd>
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
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-04-05 11:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-05 8:54 Jan Pohanka
2010-04-05 11:06 ` Wolfgang Schuster [this message]
2010-04-05 18:55 ` Honza Pohanka
2010-04-05 20:46 ` Aditya Mahajan
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=4BB9C44C.1030700@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--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).