From: Patrick Gundlach <pg@levana.de>
Subject: Re: setuphead(s), subject, alternative=inmargin
Date: Fri, 21 Mar 2003 14:33:11 +0100 [thread overview]
Message-ID: <874r5w3kvc.fsf@gundla.ch> (raw)
In-Reply-To: <87adfo3mag.fsf@gundla.ch> (Patrick Gundlach's message of "Fri, 21 Mar 2003 14:02:31 +0100")
Patrick Gundlach <pg@levana.de> writes:
> Try this one:
[...]
Uh, Patrick, wake up! This is crap. Perhaps a little better is:
% taken from core-sec.tex
\def\MyHead#1#2%
{\vbox
{\localheadsetup
\begstrut % use one \strut here!
\llap{\hbox {\ifheadnumbercontent{#1}\kern\numberheaddistance\fi
#2\hskip\linkermargeafstand}}}}
\showframe
\starttext
\setuphead[section][alternative=command,command=\MyHead]
\section{some}
\setuphead[section][alternative=command,command=\MyHead,distance=0.1pt]
\section{some}
\setuphead[section][alternative=command,command=\MyHead,number=no]
\section{some}
\stoptext
Anonymous
next prev parent reply other threads:[~2003-03-21 13:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-21 11:56 Mathias.Picker
2003-03-21 13:02 ` Patrick Gundlach
2003-03-21 13:33 ` Patrick Gundlach [this message]
2003-03-21 13:50 ` mathiasp
2003-03-21 14:02 ` Mathias Picker
2003-03-21 14:55 ` Patrick Gundlach
2003-03-23 13:54 ` Mathias Picker
2003-03-23 14:56 ` Patrick Gundlach
2003-03-21 14:13 ` Hans Hagen
2003-03-21 14:42 ` Patrick Gundlach
2003-03-21 15:03 ` Hans Hagen
2003-03-21 15:27 ` Patrick Gundlach
2003-03-21 16:24 ` Hans Hagen
2003-03-21 17:47 ` Patrick Gundlach
2003-03-21 17:58 ` Patrick Gundlach
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=874r5w3kvc.fsf@gundla.ch \
--to=pg@levana.de \
--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).