On 9/15/2025 1:43 AM, Matthias Weber wrote:
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?

Also, adding alternativetext={Cow} after inline undoes the inline effect. Is it 
possible to have an alternative text for inline images?

Or are there other options I should consider?

\defineexternalfigure
  [myilf]
  [height=lh,
   frame=on,
   location=depth]

\starttext
test {\showstruts\strut} \externalfigure[t:/sources/cow.pdf][myilf] test
\stoptext



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to