From: Hans van der Meer <hansm@science.uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: white around descriptions
Date: Sat, 30 Jun 2007 22:14:57 +0200 [thread overview]
Message-ID: <502EA6D9-2077-4554-9034-3026EE70EE1C@science.uva.nl> (raw)
[-- 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
___________________________________________________________________________________
reply other threads:[~2007-06-30 20:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=502EA6D9-2077-4554-9034-3026EE70EE1C@science.uva.nl \
--to=hansm@science.uva.nl \
--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).