Marginal heads and non-text sections
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?
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?
Thank you for any help.
\setuphead[subject][alternative=text,distance=0pt,command=\MyHead]
\setupinmargin[style=\setupinterlinespace]
\def\MyHead#1#2{\margintitle[low]{\rotate{#1 #2}}}
\setupitemize[packed,intro,joinedup,KR]
\starttext
\title{Title}
\subject{First}
monkey
\startitemize[columns]
\item alpha
\item beta
\item gamma
\stopitemize
\subject{Second}
%llama
\bTABLE
\bTR \bTD One \eTD \eTR
\eTABLE
\stoptext
--
Brian Sniffen
http://evenmere.org/~bts/
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
participants (2)
-
Brian Sniffen
-
Wolfgang Schuster