Some built-in and custom GNML tags requires no parameters, while others may require from 1 to 10 parameters. Some parameters may be mandatory, while others are optional. It is not possible to create a custom tag with more than 10 parameters.
The number of parameters for built-in GNML tags is hard-coded in the software. Some parameters may be omitted, while other parameters are mandatory.
Parameters may be:
•Positive or negative integer numbers, or zero •Positive or negative decimal numbers •Predefined strings or free form strings •Typographical variables •Typographical expressions. Multiple parameters, or parameters containing more than one word, are separated by delimiters.
|
>default< | A built-in tag without parameters. Note: the attempt to add a parameter to a tag without parameters, cause a justification error |
>is 8pt< | A built-in tag with one optional parameter that is specified as explicit measurement unit. See also Units syntax. |
>is 8< | A built-in tag with one optional parameter that is specified as default measurement unit. See also Units syntax. |
>co M< | A built-in tag with one optional parameter that is specified as single word string. |
>co "M"< | A built-in tag with one optional parameter that is specified as single word string (quotes are optional if the word is only one). |
>co "Real red"< | A built-in tag with one optional parameter that is specified as multiple word string (requires double or single quotes). |
>co !Real red!< | A built-in tag with one optional parameter that is specified as multiple word string (requires delimiter). In variable styles, use !#x!, e.g. >co !#1!<. |
>is< | A built-in tag without optional parameter, it means the same as >is 0<. |
>f 9011< | A built-in tag with a mandatory parameter. |
>ld 9pt< | A built-in tag with three parameters, where only the first one is defined. |
| A built-in tag tag with three parameters, and all three are defined. |
>w H*12/10< | A built-in tag with a typographical expression. |
>fill ,,,,2< | A built-in tag with 4 omitted parameters and only the 5th specified. |
>t 1cm,1,0.25pt,C,70,'>f 9013<>pqr<>ir 2mm<'<
A built-in tag with a "tag within tag" (in red color)
|
See also
Delimiters of GNML parameters