ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Eckhart Guthöhrlein" <eckhart.guthoehrlein@uni-bielefeld.de>
Subject: Re: dotted line for \framed ?
Date: Sat, 23 Apr 2005 14:05:26 +0200	[thread overview]
Message-ID: <20050423120526.GA1556@cebitec.uni-bielefeld.de> (raw)
In-Reply-To: <a06210202be8fbe10281a@[62.134.76.177]>

On Sat, 23 Apr 2005 at 10:59:14+0200, Steffen Wolfrum wrote:
> is there a command for \framed and \inframed
> like for \setupunderbar[alternative=b]:
> 
> that gives a dotted (bottom) line?

You could do this by using a metpost graphic as background. I'm in a
hurry, so untested, but something similar should work.

\startuniqueMPgraphic{DottedFrame}
	draw (0,0) --(\overlaywidth,0) dashed withdots;
\stopuniqueMPgraphic

\defineoverlay[DottedFrame]{\uniqueMPgraphic{DottedFrame}}

\starttext
  \framed[frame=off,offset=overlay,background=DottedFrame]{How nice!}
\stoptext

-- 
Eckhart

  reply	other threads:[~2005-04-23 12:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-23  8:59 Steffen Wolfrum
2005-04-23 12:05 ` Eckhart Guthöhrlein [this message]
2005-04-23 21:13   ` Willi Egger

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=20050423120526.GA1556@cebitec.uni-bielefeld.de \
    --to=eckhart.guthoehrlein@uni-bielefeld.de \
    --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).