ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alexandros Frantzis <alfius@freemail.gr>
To: ntg-context@ntg.nl
Subject: Enumeration after section heading in margin
Date: Fri, 10 Oct 2008 10:41:30 +0300	[thread overview]
Message-ID: <20081010074130.GA5005@skynet> (raw)

Hello,
I am trying to use ConTeXt to create my CV. I have succesfully placed the
subject headings in the margin by using:

\setuphead
   [subject]
   [alternative=text,distance=0pt,command=\MyHead]

\def\MyHead#1#2{\inmargin{#1 #2}}

When the text that follows the heading is a simple paragraph everything
works as expected:

Subject Text Text...
        Text Text...

However when the first thing after the heading is an enumeration (or a
table, for that matter) the enumeration is not aligned with the heading
(it's lower than the heading):

Subject
        * Item1
        * Item2 


I have tried to remove whitespace around the enumeration with the
'nowhite,joinedup' options but it is still not aligned.

Is there a way to align the enumeration (and other non-inline objects)
with the heading?

Thanks,
Alexandros
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2008-10-10  7:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-10  7:41 Alexandros Frantzis [this message]
2008-10-13 14:23 ` Alexandros Frantzis
2008-10-13 14:29 ` Alexandros Frantzis

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=20081010074130.GA5005@skynet \
    --to=alfius@freemail.gr \
    --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).