From: Hans Hagen <pragma@wxs.nl>
Subject: RE: \underbar not allowing line-breaking
Date: Fri, 22 Aug 2003 00:07:12 +0200 [thread overview]
Message-ID: <5.2.0.9.1.20030822000505.0121bdc8@server-1> (raw)
In-Reply-To: <MFEFJNAPONLOLJPIHFBIGEEHEKAA.dh@capdm.com>
At 10:51 13/08/2003 +0100, you wrote:
>Hans wrote:
>
> > % output=pdftex
> >
> > \starttext
> >
> > \definetextbackground
> > [underbared]
> > [alternative=1,location=text,
> > background=,frame=]
> >
> > \def\underbared
> > {\groupedcommand
> > {\starttextbackground[underbared]}
> > {\stoptextbackground}}
> >
> >
> > \underbared{\input tufte\relax}
> >
> > \stoptext
> >
> > typical an example for a MyWay document -)
>
>Thanks! I've been looking through core-pos to try to understand how I can
>change the look of this. I can set the colour of the line with framecolor,
>but I can't seem to adjust the offset. The default appears to be overlay,
>but this looks ugly as an underline, as it obscures the baseline of the
>text. I have tried offset=, frameoffset= and backgroundoffset=, but no
>change occurs.
>
>Then I also tried getting rid of the alternative=1 (what does this do?) and
>putting frame=off,bottomframe=on, but this produced no output at all.
>
>Is there a way to do it?
you can redefine the metapost graphic, the main thing there is that you
draw/fill something related to the multipar paths; it takes a bit of
experimenting, but after a while you start seeing possibilities. See
plus-rul.tex for an example of such a graphic.
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
prev parent reply other threads:[~2003-08-21 22:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-29 18:09 Duncan Hothersall
2003-07-31 14:03 ` Duncan Hothersall
2003-08-05 20:36 ` Hans Hagen
2003-08-13 9:51 ` Duncan Hothersall
2003-08-21 22:07 ` Hans Hagen [this message]
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=5.2.0.9.1.20030822000505.0121bdc8@server-1 \
--to=pragma@wxs.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).