ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Stuart Jansen <sjansen@gurulabs.com>
Subject: tweaking underlining
Date: Fri, 08 Jul 2005 16:49:35 -0600	[thread overview]
Message-ID: <1120862975.9027.24.camel@localhost.localdomain> (raw)


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

Reading the list archives, it looks like there are certain advantages,
to performing underlining according to my example below:

=====
\setupcolors[state=start]
\definetextbackground[underline][location=text,alternative=1,background=,frame=off]
\definestartstop
  [underline]
  [before={\starttextbackground[underline]},
   after=\stoptextbackground]
\starttext
\startunderline{}http://gurulabs.com/\stopunderline
\stoptext
=====

I would like to tweak this a little however. Specifically, I'd like to
change the color of the line and move it down a point or two.

In one thread, Hans hinted how to do this:

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

I think I've tracked this reference down to the definition of
mpos:par:columnset, but at this point am lost as to how to proceed.
Metapost is still beyond me. Any hints would be much appreciated.


-- 
Stuart Jansen <sjansen@gurulabs.com>
Guru Labs, L.C.

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

             reply	other threads:[~2005-07-08 22:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-08 22:49 Stuart Jansen [this message]
2005-07-09  9:19 ` Hans Hagen
2005-07-15 23:04   ` Stuart Jansen
2005-07-11 21:33 ` Mojca Miklavec

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=1120862975.9027.24.camel@localhost.localdomain \
    --to=sjansen@gurulabs.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).