Typographical expressions in GNML

Build 1501 on 14/Nov/2017  This topic last edited on: 24/Oct/2016, at 14:39

The typographical expressions may be used in parameters. An expression may contain:

Integer numbers (15,7...)

Measures (7pt, 3.6cc...)

GNML variables (CapH, LD...)

Addition (H+8pt..);

Subtraction (21-6...);

Multiplication (LD*2...);

Division (8/2)

Module (the rest of division) indicated by %

Percentage operations (W'860)

Brackets

Addition and subtraction

They may be executed only between the same units: integer + integer = integer or measure + measure = measure but not: integer + measure

Percentage

Such operations may include only measures and integers: measure'integer=measure

Multiplication

It may be performed with integers and measures: integer*integer=integer or measure*integer=measure

Division

It may be performed with integers and measures: Integer/Integer=Integer or measure/measure=Integer and measure/Integer=measure but not:

integer/measure