ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* vertical align in combination
@ 2021-10-22 15:20 Pablo Rodriguez via ntg-context
  2021-10-22 15:46 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2021-10-22 15:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Pablo Rodriguez

Dear list,

I have the following sample:

  \starttext
  \setupexternalfigure[location=default]
  \startcombination[nx=3, ny=2, location={middle}]
  {\externalfigure[mill.png][width=.25\textwidth]}
  {\externalfigure[cow.pdf][width=.25\textwidth]}
  {\externalfigure[cow.pdf][width=.25\textwidth]}
  {\externalfigure[spider.eps][width=.25\textwidth]}
  {\externalfigure[hacker.png][width=.25\textwidth]}
  {\externalfigure[mill.png][width=.25\textwidth]}
  \stopcombination
  \stoptext

The first line has the images vertically centered, but the second line
has them aligned to the top. Using "align=middle" made no difference.

How could I get all lines with images vertically centered?

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 3+ messages in thread

* Re: vertical align in combination
  2021-10-22 15:20 vertical align in combination Pablo Rodriguez via ntg-context
@ 2021-10-22 15:46 ` Hans Hagen via ntg-context
  2021-10-22 16:15   ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen via ntg-context @ 2021-10-22 15:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen, Pablo Rodriguez

On 10/22/2021 5:20 PM, Pablo Rodriguez via ntg-context wrote:
> Dear list,
> 
> I have the following sample:
> 
>    \starttext
>    \setupexternalfigure[location=default]
>    \startcombination[nx=3, ny=2, location={middle}]
>    {\externalfigure[mill.png][width=.25\textwidth]}
>    {\externalfigure[cow.pdf][width=.25\textwidth]}
>    {\externalfigure[cow.pdf][width=.25\textwidth]}
>    {\externalfigure[spider.eps][width=.25\textwidth]}
>    {\externalfigure[hacker.png][width=.25\textwidth]}
>    {\externalfigure[mill.png][width=.25\textwidth]}
>    \stopcombination
>    \stoptext
> 
> The first line has the images vertically centered, but the second line
> has them aligned to the top. Using "align=middle" made no difference.
> 
> How could I get all lines with images vertically centered?

maybe by using the command the right way ...

   \setupexternalfigure[location=default]
   \startcombination[nx=3, ny=2, location={middle}]
       {\externalfigure[mill.png][width=.25\textwidth]}  {}
       {\externalfigure[cow.pdf][width=.25\textwidth]}   {}
       {\externalfigure[cow.pdf][width=.25\textwidth]}   {}
       {\externalfigure[spider.eps][width=.25\textwidth]}{}
       {\externalfigure[hacker.png][width=.25\textwidth]}{}
       {\externalfigure[mill.png][width=.25\textwidth]}  {}
   \stopcombination


> Many thanks for your help,
> 
> Pablo
> --
> http://www.ousia.tk
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 


-- 

-----------------------------------------------------------------
                                           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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: vertical align in combination
  2021-10-22 15:46 ` Hans Hagen via ntg-context
@ 2021-10-22 16:15   ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2021-10-22 16:15 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Pablo Rodriguez

On 10/22/21 5:46 PM, Hans Hagen via ntg-context wrote:
> On 10/22/2021 5:20 PM, Pablo Rodriguez via ntg-context wrote:
>> [...]
>> How could I get all lines with images vertically centered?
>
> maybe by using the command the right way ...
>
>    \setupexternalfigure[location=default]
>    \startcombination[nx=3, ny=2, location={middle}]
>        {\externalfigure[mill.png][width=.25\textwidth]}  {}

Many thanks for your fast reply and your help, Hans.


Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2021-10-22 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22 15:20 vertical align in combination Pablo Rodriguez via ntg-context
2021-10-22 15:46 ` Hans Hagen via ntg-context
2021-10-22 16:15   ` Pablo Rodriguez via ntg-context

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).