On 5/14/2021 6:30 AM, Benny Schurig wrote:
Hi Julian,
for me first reply ever with a suggestion:
You have to set a caption
https://wiki.contextgarden.net/Command/startcombination
That worked fine for me:
\startplacefigure[location=here]
\setupcombination[distance=0mm,after=]
{\startcombination[2*1]
{\externalfigure[res1.jpg][width=.4\textwidth]} {pic 1}
{\externalfigure[res2.jpg][width=.4\textwidth]} {pic 2}
\stopcombination}
\stopplacefigure
Best, Benny
Am 14.05.21 um 05:27 schrieb jbf:
Hi list,
The following MWE is giving me two photos under each other, not beside
each. What am I doing wrong?
Julian
\startplacefigure[location=here]
\setupcombination[distance=0mm,after=]
{\startcombination[2*1]
{\externalfigure[res1.jpg][width=.4\textwidth]}
{\externalfigure[res2.jpg][width=.4\textwidth]} \stopcombination}
\stopplacefigure
You can also do this:
\startplacefigure[location=here]
\startcombination[distance=2mm,after=,nx=2,ny=1,location=middle]
\startcontent
\externalfigure[mill.png] [width=.4\textwidth]
\stopcontent
\startcaption
pic 1
\stopcaption
\startcontent
\externalfigure[hacker.jpg][width=.4\textwidth]
\stopcontent
\startcaption
pic 2
\stopcaption
\stopcombination
\stopplacefigure
-----------------------------------------------------------------
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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________