From: Henning Hraban Ramm <texml@fiee.net>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: Inline figures
Date: Mon, 15 Sep 2025 08:28:14 +0200 [thread overview]
Message-ID: <8b99d469-43c5-4a3d-9ce3-93d0a76bc91a@fiee.net> (raw)
In-Reply-To: <BC3A167C-A1D1-4607-BB84-389768E1B862@gmail.com>
Am 15.09.25 um 01:43 schrieb Matthias Weber:
> Dear All,
>
> I am occasionally using inline figures instead of characters/words where it seems suggestive and appropriate(to me), like in the example below:
>
> \setupexternalfigures[location=default]
> \starttext
> Can the \im{12\times 9} rectangle be tiled with the \externalfigure[cow.pdf][inline]{}-hexomino?
> \stoptext
>
> (I am actually using instead of cow.pdf the attached file R-hexomino.pdf, in case someone is interested in what this is good for)
>
> Two questions: The inline figure is a little bit raised and too big. How can I lower and scale it?
Look up \offset and \scale.
But you won’t need the latter; "inline" just sets the height to
\bodyfontsize (or similar, didn’t check).
> Also, adding alternativetext={Cow} after inline undoes the inline effect. Is it possible to have an alternative text for inline images?
I guess the problem is that you can’t mix keyword and key=value options
within one pair of brackets.
HTH
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2025-09-15 15:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-14 23:43 [NTG-context] " Matthias Weber
2025-09-15 6:28 ` Henning Hraban Ramm [this message]
2025-09-15 6:36 ` [NTG-context] " Henning Hraban Ramm
2025-09-15 8:32 ` John Was
2025-09-16 3:40 ` Matthias Weber
2025-09-15 15:14 ` Hans Hagen via ntg-context
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=8b99d469-43c5-4a3d-9ce3-93d0a76bc91a@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).