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: whitespace in framedtext
Date: Tue, 3 Jul 2007 08:32:17 +0200	[thread overview]
Message-ID: <115224fb0707022332ma7ccea2xd8cfca7f5161ad4a@mail.gmail.com> (raw)
In-Reply-To: <2ACA82D1-D638-48BC-AAD1-EC13FBBD68B5@science.uva.nl>

[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

2007/7/2, Hans van der Meer <hansm@science.uva.nl>:
> I would like to shrink the whitespace at the top and the bottom of a
> framedtext.
> Like thus:
>
>  not this                         but this
> ------------------------------      ------------------------------
> |                            |      |                            |
> |                            |      |   abcd                     |
> |   abcd                     |      |   abcd                     |
> |   abcd                     |      |                            |
> |                            |      ------------------------------
> |                            |
> ------------------------------
>
> I have tried a lot of things with [before, after, top, bottom].
> Although [depthcorrection=off] shaves somewhat off the whitespace, it is not
> much nor am I sure if this is on the right track; and it is not
> parametrized.
>
> Someone knows the trick?
>
>
> Hans van der Meer

Hi Hans,

ConTeXt did not support different offset values for \framed and \startframedtext
but you can use my module to use enable them.

Look in the two example files how to use it.

Wolfgang

[-- Attachment #2: frame.zip --]
[-- Type: application/zip, Size: 6971 bytes --]

[-- Attachment #3: 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-07-03  6:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-02 15:43 Hans van der Meer
2007-07-03  6:32 ` Wolfgang Schuster [this message]
2007-07-03  8:20 ` Patrick Gundlach
2007-07-03 14:55   ` John R. Culleton
2007-07-04  7:36     ` Wolfgang Schuster
2007-07-03 17:00 ` Hans van der Meer

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=115224fb0707022332ma7ccea2xd8cfca7f5161ad4a@mail.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).