Sequential Numbers on Pictures

Jeroen <[email protected]>
Newsgroups gmane.comp.tex.context
Message-ID <CAPtmdbO3Lz6TSH3UH=a0XSRD1bYH3GUMD6cvCDM4sYp2_U2kKQ@mail.gmail.com>
In order to add pictures to a procedure, I would like to add 2x1 or a 4x4
startcombination as below. To match for example step 3 of the procedure to
the first picture and step 7 to the second, I would like somehow to add
number 3 and 7 to both pictures with the numbers in a black circle. I would
like to have the numbers located on the picture itself so not above or
below but with some kind of control so sometimes it is at the left top and
sometimes at the right top corner of the picture. Is there an easy way to
achieve this with MP or even Tikz?

   -

   +----------------+--------------+
   |           ___  |  ___         |
   |          / 3 \ | / 7 \        |
   |          \___/ | \___/        |
   |                |              |
   |                |              |
   |                |              |
   |                |              |
   |                |              |
   +----------------+--------------+



   -

   \startplacefigure[location=here]
      \startcombination[distance=2mm,after=,nx=2,ny=1,location=middle]
          \startcontent
              \externalfigure[mill.png]  [width=.4\textwidth]
          \stopcontent
          \startcontent
              \externalfigure[hacker.jpg][width=.4\textwidth]
          \stopcontent
      \stopcombination\stopplacefigure

___________________________________________________________________________________
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
___________________________________________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.