ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Jeong Dal <haksan@me.com>
Subject: Re: align figures verticaly centered in \startcombination mode
Date: Thu, 8 Aug 2019 21:23:55 +0200	[thread overview]
Message-ID: <38a4395b-8081-22fc-d50b-73c8e30a1bdc@gmail.com> (raw)
In-Reply-To: <BEEA553B-5A04-44B9-B77C-A1E2538946C4@me.com>

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
___________________________________________________________________________________

      reply	other threads:[~2019-08-08 19:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.647.1565250083.1208.ntg-context@ntg.nl>
2019-08-08 19:02 ` Jeong Dal
2019-08-08 19:23   ` Wolfgang Schuster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38a4395b-8081-22fc-d50b-73c8e30a1bdc@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=haksan@me.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).