# [NTG-context] Reference in a startcombination environment

Wolfgang Schuster schuster.wolfgang at gmail.com
Tue Jan 21 00:18:22 CET 2014

Hi,

you can use the second optional argument of \in to give a suffix for the float number.

\setupexternalfigures[location=default]

\starttext

\startplacefigure[title={Combination},reference={fig:test}]
\startcombination[2*1]
\startcontent
\externalfigure[cow][width=4cm]
\stopcontent
\startcaption
a
\stopcaption
\startcontent
\externalfigure[mill][width=4cm]
\stopcontent
\startcaption
b
\stopcaption
\stopcombination
\stopplacefigure

The \in{figure}{a}[fig:test] shows a dutch cow.

\stoptext

Wolfgang

On 20.01.2014 23:56:33, MANUEL GONZALEZ SUAREZ <gonzalezsmanuel at uniovi.es> wrote:
Dear friends
I would like to know if I can make a reference (via \in, \at, etc.) in a \startcombination ... \stopcombination environment to each subfigure. For example, I have a Figure 1.1. (Sky) contains (a) the moon (b) the stars. How could get it to appear in the text "see Figure 1.1. (b)?
Thanks very much.
Manuel

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context