From: Henning Hraban Ramm <texml@fiee.net>
To: ntg-context@ntg.nl
Subject: Re: Fwd: Re: text width shadow background
Date: Sat, 8 Jul 2023 13:07:23 +0200 [thread overview]
Message-ID: <51cf3927-e643-0d60-76d6-224d31106220@fiee.net> (raw)
In-Reply-To: <0e393a31-af3e-2b97-47eb-64a685b0d077@freedom.nl>
[-- Attachment #1: Type: text/plain, Size: 649 bytes --]
Am 08.07.23 um 11:39 schrieb Hans Hagen via ntg-context:
> On 7/8/2023 8:55 AM, Henning Hraban Ramm wrote:
>> Please, can you explain why the result of lmt_outline is shifted to
>> the right, if I use it in a macro?
>
> no time now but you can do this instead of the lmt_text:
>
> draw lmt_outline [
> text = "\bf\strut #1",
> kind = "fillup",
> fillcolor = "white",
> rulethickness = rulesize,
> ];
>
> (maybe spaces creep in due to loading font files / setups or so)
Thank you!
Yes, this works, and with rulethickness=0 it even looks like I wanted it to.
Hraban
[-- Attachment #2: outline-shadow.png --]
[-- Type: image/png, Size: 44986 bytes --]
[-- Attachment #3: Type: text/plain, Size: 495 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2023-07-08 11:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <030fe06a-f8fc-f7e6-015e-020348328a1d@freedom.nl>
2023-07-08 9:39 ` Hans Hagen via ntg-context
2023-07-08 11:07 ` Henning Hraban Ramm [this message]
[not found] ` <6c3569e3-411e-8cd9-912d-d318e822bb04@gmail.com>
2023-07-08 14:28 ` Henning Hraban Ramm
2023-07-09 13:49 ` Keith McKay
2023-07-09 15:56 ` Henning Hraban Ramm
2023-07-09 17:37 ` Hans Hagen via ntg-context
2023-07-09 18:50 ` Keith McKay
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=51cf3927-e643-0d60-76d6-224d31106220@fiee.net \
--to=texml@fiee.net \
--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).