ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* combinations
@ 2013-04-15  8:50 Hans Hagen
  2013-04-15 13:40 ` combinations Sietse Brouwer
  2013-04-15 17:23 ` combinations Marco Patzer
  0 siblings, 2 replies; 24+ messages in thread
From: Hans Hagen @ 2013-04-15  8:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

As follow up on the combinations tread I made this:

\useMPlibrary[dum]

\starttext

\definecombination[mycombi][alternative=label]

\setuplabel[combination:mycombi][text={Item 
},numberconversion=character,stopper=!]

\startcombination[mycombi][2*2]
     {\externalfigure[dummy][width=4cm,height=1cm]}
     {\externalfigure[dummy][width=4cm,height=1cm]}
     {\externalfigure[dummy][width=4cm,height=1cm]}
     {\externalfigure[dummy][width=4cm,height=1cm]}
\stopcombination

\blank[2*big]

\startcombination[mycombi][nx=2,ny=1,continue=yes]
     {\externalfigure[dummy][width=4cm,height=1cm]}
     {\externalfigure[dummy][width=4cm,height=1cm]}
\stopcombination

\blank[2*big]

\startcombination[mycombi][alternative=text,nx=2,ny=2]
     {\externalfigure[dummy][width=4cm,height=1cm]} {alpha}
     {\externalfigure[dummy][width=4cm,height=1cm]} {beta}
     {\externalfigure[dummy][width=4cm,height=1cm]} {gamma}
     {\externalfigure[dummy][width=4cm,height=1cm]} {delta}
\stopcombination

\blank[2*big]

\startcombination[mycombi][2*2]
     {\externalfigure[dummy][width=4cm,height=1cm]}
     {\externalfigure[dummy][width=4cm,height=1cm]}
     {\externalfigure[dummy][width=4cm,height=1cm]}
     {\externalfigure[dummy][width=4cm,height=1cm]}
\stopcombination

\stoptext

A relative simple extension but probably useful.
-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 24+ messages in thread
* combinations
@ 2021-05-14  3:27 jbf
  2021-05-14  4:30 ` combinations Benny Schurig
  0 siblings, 1 reply; 24+ messages in thread
From: jbf @ 2021-05-14  3:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi list,

The following MWE is giving me two photos under each other, not beside 
each. What am I doing wrong?

Julian


\startplacefigure[location=here]
\setupcombination[distance=0mm,after=]
{\startcombination[2*1]
{\externalfigure[res1.jpg][width=.4\textwidth]}
{\externalfigure[res2.jpg][width=.4\textwidth]} \stopcombination}
\stopplacefigure

___________________________________________________________________________________
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] 24+ messages in thread
* Combinations
@ 2006-10-08  3:19 Pepe Barbe
  2006-10-08 14:26 ` Combinations Aditya Mahajan
  0 siblings, 1 reply; 24+ messages in thread
From: Pepe Barbe @ 2006-10-08  3:19 UTC (permalink / raw)


Hello everyone,

I have 14 graphs that I want to arrange in a single page. I've found
the best wat to do that is with a 3 by 5 combination. Yet, it would
look better if I had a 3 by 4 combination and a 2 by 1 centered
underneath the preveious. Is there some simple way to do that?

Also, a while ago I asked about the font size of the captions in the
combinations, which wasn't being respected in Math mode. I've tried in
the latest beta and the problem persists. Any ideas?

Example:

\setupcaptions[ headstyle=\ss\bf,style=\tfx ]
\setupcombinations[ style=\tfx\em ]

\starttext

\placefigure [center] {Combination Caption}
       \startcombination [2*1]
               {\framed[height=.45\textwidth,width=.45\textwidth]{My Graphic
1}}{Text: Test. Math: $Test$}
               {\framed[height=.45\textwidth,width=.45\textwidth]{My Graphic
2}}{Text: Test. Math: $Test$}
       \stopcombination

\stoptext

Thanks,
Pepe

^ permalink raw reply	[flat|nested] 24+ messages in thread
* combinations
@ 2002-11-03 22:30 Hans Hagen
  2002-11-04  9:18 ` combinations Jens-Uwe Morawski
  0 siblings, 1 reply; 24+ messages in thread
From: Hans Hagen @ 2002-11-03 22:30 UTC (permalink / raw)


Hi,

The next release will provide more control over combinations:

   \setupcombinations[align=right,location={top,left}]

i.e. location (top,bottom,middle,left,right) concerns the top thing, the 
alignment (left,right,middle with right being raggedright) the caption

also new: \placefloat[leftmargin]{}{} and \placefloat[leftmargin,2*-line]{}{}

(there is more new, but that's experimental)


Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

end of thread, other threads:[~2021-05-22 20:50 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-15  8:50 combinations Hans Hagen
2013-04-15 13:40 ` combinations Sietse Brouwer
2013-04-15 13:57   ` combinations Wolfgang Schuster
2013-04-15 14:04   ` combinations Hans Hagen
2013-04-15 16:45     ` combinations Sietse Brouwer
2013-04-15 16:58       ` combinations Wolfgang Schuster
2013-04-15 23:38         ` combinations Hans Hagen
2013-04-16  8:41       ` combinations Hans Hagen
2013-04-15 17:23 ` combinations Marco Patzer
2013-04-15 23:19   ` combinations Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2021-05-14  3:27 combinations jbf
2021-05-14  4:30 ` combinations Benny Schurig
2021-05-14  4:52   ` combinations jbf
2021-05-14  9:39   ` combinations Hans Hagen
2021-05-22 20:50     ` combinations Willi Egger
2006-10-08  3:19 Combinations Pepe Barbe
2006-10-08 14:26 ` Combinations Aditya Mahajan
2006-10-08 18:15   ` Combinations Pepe Barbe
2006-10-08 19:46     ` Combinations Aditya Mahajan
2006-10-08 23:51       ` Combinations Pepe Barbe
2006-10-09  1:46         ` Combinations Aditya Mahajan
2006-10-09 16:43           ` Combinations Pepe Barbe
2002-11-03 22:30 combinations Hans Hagen
2002-11-04  9:18 ` combinations Jens-Uwe Morawski

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