[NTG-context] A question about data types?

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed Mar 2 12:41:24 CET 2011

Am 02.03.2011 um 12:25 schrieb Ian Lawrence:

> Sorry. me again...and I have been all over the wiki, mailing lists and manuals...
> I have this:
> \setlayer	[progresssteps]	% name of the layer
> 		[hoffset=904 px, voffset= 28\nuggetnumber px]  % placement (from upper left corner of the layer)
> 		{\stepstack}  % the actual contents of the layer
> And I am hoping that as I increase nuggetnumber the voffset of the layer will be 28*nuggetnumber

Variant 1:

\newdimen\baseoffset \baseoffset=28px


Variant 2:



Variant 3 (what i suggest):

\definemeasure[verticaloffset][\dimexpr\measure{baseoffset}*4\relax] % replace “4” with your own factor



More information about the ntg-context mailing list