ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Marginal heads and non-text sections
Date: Wed, 13 Oct 2010 09:07:17 +0200	[thread overview]
Message-ID: <48822EB3-1EE9-4A30-9BDE-44D4AE71391A@gmail.com> (raw)
In-Reply-To: <AANLkTiknik6_EO7Bdqq+d2cgCSMAtpk7NEZfq3sDzy5T@mail.gmail.com>


Am 12.10.2010 um 16:39 schrieb Brian Sniffen:

> I'm having trouble understanding space inserted around itemize and
> TABLE objects.  I found some great advice from the mailing list
> archives, and managed to cobble together a setup that *almost* works.
> Now I have only two problems.  I welcome any help.
> 
> First: In the example below, the word "monkey" creates no vertical
> space---even if it's commented out, there's no change in the space
> between "Title" and "alpha".  I'd like to tighten that space up---I've
> been resorting to \vskip{-10ex}, but surely there's a way to not put
> that space there in the first place.  I'm already using
> packed,intro,joinedup for the itemize in an attempt to shove it as
> high as possible; is there another way?

The position of the itemize doesn’t change because \subject starts
a new line and “monkey” is only the first visible word in this line,
change the subject definition to

\setuphead[subject][alternative=command,command=\MyHead]

and the position of the itemize is now correct.

> Second: in the same example, the "Second" subject does not appear.
> Uncommenting the llama doesn't make any surprising difference (well,
> it moves the table down, showing that tables don't have the
> space-filling property of itemizes), but uncommenting the apricot does
> cause the "Second" subject to appear.  How can I force the "Second"
> subject to appear next to the table?

Force horizontal mode for the table with

\dontleavehmode\bTABLE

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
___________________________________________________________________________________


      reply	other threads:[~2010-10-13  7:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-12 14:39 Brian Sniffen
2010-10-13  7:07 ` Wolfgang Schuster [this message]

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=48822EB3-1EE9-4A30-9BDE-44D4AE71391A@gmail.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).