ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* white around descriptions
@ 2007-06-30 20:14 Hans van der Meer
  0 siblings, 0 replies; only message in thread
From: Hans van der Meer @ 2007-06-30 20:14 UTC (permalink / raw)
  To: NTG ConTeXt


[-- Attachment #1.1: Type: text/plain, Size: 1088 bytes --]

I find a get a lot of whitespace around my defined descriptions.
Setting
	\setupdescriptions[\c!before=,\c!inbetween=,\c!after=]
does not much help.
Is there something else that can be done. Preferably without  
resorting to wild guesses like "before=\godown[-10pt]" or the like.
Or is there something else I fail to see.
A sample of the code involved(don't mind the \@@exm.. parameters,  
they are defined elsewhere, annotationtext is a token register):

\definedescription[annotationblock][margin=no,location=top,width=broad,%
		before=,inbetween=,after=\strut,%
		headstyle=\@@exmintrostyle,style=\@@exmstyle,%
		text=\placeannotationstart]
\def\annotation#1\par{\global\annotationtext={#1}}%
\long\def\startannotation#1\stopannotation{\global\annotationtext={#1}}%
%.......................................................................
% placing the annotation indicator in the annotationblock description
\def\placeannotationstart{% no white above and below rule
	\vboxinsideframedtext{%
		\setuptextrules[style=\@@exmintrostyle]%
		\textrule{\WWord{\Note}}}}

Hans van der Meer



[-- Attachment #1.2: Type: text/html, Size: 2429 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-30 20:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-30 20:14 white around descriptions Hans van der Meer

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).