> On 8 Mar 2026, at 12:31, Giuseppe Bilotta <[email protected]> wrote:
>
> Oh, interesting approach for the gapless case, I hadn't thought of
> that! But yes, the question is how to make it work in the gap case.
> I'm guessing one option would be to try scale it to width 1tw -
> (figures - 1)*gap, get the height, and use that to place the figures?
This is probably a good example of how *not* to do it :-) but just add in a
spacer like so:
\scale
[width=1tw]
{\externalfigure[mill] [height=1lh]%
\blackrule[color=red, width=1pt]%
\externalfigure[hacker][height=1lh]}
Just change red to white when you are happy. (Useful if your images don't have
a clear border.)
If the width is still too big then you can alway play with the height, e.g.
\scale
[width=1tw]
{\externalfigure[mill] [height=2lh]%
\blackrule[color=red, width=1pt]%
\externalfigure[hacker][height=2lh]}
halves the width of the rule.
—
Bruce Horrocks
Hampshire, UK
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
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
___________________________________________________________________________________