* align figures verticaly centered in \startcombination mode
[not found] <mailman.647.1565250083.1208.ntg-context@ntg.nl>
@ 2019-08-08 19:02 ` Jeong Dal
2019-08-08 19:23 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Jeong Dal @ 2019-08-08 19:02 UTC (permalink / raw)
To: list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
ntg-context@ntg.nl
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: align figures verticaly centered in \startcombination mode
2019-08-08 19:02 ` align figures verticaly centered in \startcombination mode Jeong Dal
@ 2019-08-08 19:23 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2019-08-08 19:23 UTC (permalink / raw)
To: mailing list for ConTeXt users, Jeong Dal
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-08 19:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.647.1565250083.1208.ntg-context@ntg.nl>
2019-08-08 19:02 ` align figures verticaly centered in \startcombination mode Jeong Dal
2019-08-08 19:23 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).