ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Vertical location of combinations
@ 2013-04-15  4:34 Aditya Mahajan
  2013-04-15  8:37 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2013-04-15  4:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

How do I control the vertical location of combinations?

I want output similar to

ABC
\framed[frame=no, location=top]}\startcombination[2]
   {\externalfigure[dummay][width=2cm]}{One}
   {\externalfigure[dummay][width=2cm]}{Two}
\stopcombination}
DEF

without having to explictly add a \frame.

Looking at pack-com, I tried

\useMPlibrary[dum]
\setupcombination[location=top]

\starttext
ABC
\startcombination[2]
   {\externalfigure[dummay][width=2cm]}{One}
   {\externalfigure[dummay][width=2cm]}{Two}
\stopcombination
DEF

ABC
\framed[frame=no, location=top]}\startcombination[2]
   {\externalfigure[dummay][width=2cm]}{One}
   {\externalfigure[dummay][width=2cm]}{Two}
\stopcombination}
DEF
\stoptext

but the combination is still aligned to the baseline of the caption.

Thanks,
Aditya
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2013-04-15 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-15  4:34 Vertical location of combinations Aditya Mahajan
2013-04-15  8:37 ` Wolfgang Schuster
2013-04-15 17:55   ` Aditya Mahajan

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