ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <pg@levana.de>
Subject: Re: setuphead(s), subject, alternative=inmargin
Date: Fri, 21 Mar 2003 15:55:09 +0100	[thread overview]
Message-ID: <87smtg22ia.fsf@gundla.ch> (raw)
In-Reply-To: <1048255348.3e7b1b7500099@mail.virtual-earth.de> (Mathias Picker's message of "Fri, 21 Mar 2003 15:02:29 +0100")

Mathias Picker <Mathias.Picker@virtual-earth.de> writes:

Hello,

> I don't know if that is even possible..... 

sure it is possible. Why not?

> It should look somewhat
> like the latex refart classes, e.g.
>
>       margin|text
>
>
>  My Subject header here with more and more text
>
>              And the text here
>              (more and more text)


Please show us where the subject header should begin. Should it start
at the left edge of the margin or where?

Refering to some LaTeX class is not very helpful, since the
ConTeXt-source-readers don't use LaTeX very often :) 

Try this one. If it does not do what you want, please be exact about
your specification!

[Mostly taken from a source Hans has posted (x-steps style)]:

\def\MyHead#1#2%
  {\vbox
     {\localheadsetup
      \begstrut % is this really needed?
       \hbox {\hskip-\marginwidth\hskip-\margindistance
       \ifheadnumbercontent{#1}\kern\numberheaddistance\fi 
         #2}}}


Patrick

  reply	other threads:[~2003-03-21 14:55 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
2003-03-21 13:50   ` mathiasp
2003-03-21 14:02   ` Mathias Picker
2003-03-21 14:55     ` Patrick Gundlach [this message]
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=87smtg22ia.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).