[NTG-context] align figures verticaly centered in \startcombination mode

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Thu Aug 8 21:23:55 CEST 2019


Jeong Dal schrieb am 08.08.2019 um 21:02:
> Dear all,
>
> In the following example, “align=middle” works for horizontal center.
> Is there any way to align two figures with different height in vertically centered?
>
> Thank you.
>
> Best regards,
>
> Dalyoung
>
> \useMPlibrary[dum]
> \setupinteraction[state=start]
> \usemodule[pre-60]
> \setupcombination[align=middle]
> \starttext
> \StartSteps
> \startplacefigure[]
> {\startcombination[2*2]
> {{\externalfigure[bogus][width=.3\makeupwidth]}{}\FlushStep}
> {{\externalfigure[bogus][height=.1\makeupheight]}{}\FlushStep}
> {{\externalfigure[bogus][width=.3\makeupwidth]}{}\FlushStep}
> {{\externalfigure[bogus][width=.3\makeupwidth]}{}\FlushStep}
> \stopcombination}
> \stopplacefigure
> \StopSteps
>
> \stoptext
Each entry in the combination environment consists of the content and a 
caption
but in your example you omitted the caption for each figures and as a 
result the second
and figure graphics are taken as caption.

To get the expected output you can provide a empty argument for the caption
of each graphic or use a table to arrange the images.

Wolfgang



More information about the ntg-context mailing list