[NTG-context] side figure and typing

jimarin at bayesinf.com jimarin at bayesinf.com
Fri Jul 23 12:12:20 CEST 2004


Hi all !

let us imagine we have defined the following command:

\def\SideFigure#1#2#3#4#5%
  {
    \placefigure[#1]{#2}{\externalfigure[#3][width=#4\makeupwidth]}
    #5
  }

which can be used to put a figure aside a companion text...

but, what happens if the text is to be typed... ??

I guess this won't work:

\SideFigure{right}{pack2}{../figures/tcltk/pack2.jpg}{0.25}
{
\starttyping
pack .ok .cancel .help -side top
\stoptyping
}

How can I make it to work?

thanks !

-------------------------------------------------
Jose Ignacio Marín Alberdi

Bayes Inference, S.A.
c/ Gran Vía, Nº39, 5º, E-28013 MADRID
 Tfn (91) 532.74.40, Fax (91) 532.26.36
-------------------------------------------------
email: jimarin at bayesinf.com
-------------------------------------------------


More information about the ntg-context mailing list