Box presets

Build 1501 on 14/Nov/2017  This topic last edited on: 17/Mar/2016, at 16:48

In the standard configuration there are 15 hard-coded box presets defaults, named BoxPreset00...BoxPreset15. The presets are defined in Ted.vb. You can customize all the box presets except the No box one. See Customizing box presets for instructions.

Version 2.3 and newer

No box,-/100/-/100/0pt/0pt/0pt/0pt/0pt/-/100/0/0

No border 30% K fill w0/m6,K/100/K/30/0pt/6pt/6pt/6pt/6pt/-/100/0/0

Transparent box w1/m6,K/100/-/100/1pt/6pt/6pt/6pt/6pt/-/100/0/0

Black border White fill w2/m6,K/100/K/0/2pt/6pt/6pt/6pt/6pt/-/100/0/0

Magenta border White fill w2/m6,M/100/K/0/2pt/6pt/6pt/6pt/6pt/-/100/0/0

Black border Black fill w1/m6,K/100/K/100/1pt/6pt/6pt/6pt/6pt/-/100/0/0

Black border 50% fill w1/m6,K/100/K/50/1pt/6pt/6pt/6pt/6pt/-/100/0/0

Black border 40% fill w1/m6,K/100/K/40/1pt/6pt/6pt/6pt/6pt/-/100/0/0

Black border 30% fill w1/m6,K/100/K/20/1pt/6pt/6pt/6pt/6pt/-/100/0/0

Black border 20% fill w1/m6,K/100/K/20/1pt/6pt/6pt/6pt/6pt/-/100/0/0

Black border 10% fill w1/m6,K/100/K/20/1pt/6pt/6pt/6pt/6pt/-/100/0/0

Gray border 30% fill w1/m6,K/50/K/20/1pt/6pt/6pt/6pt/6pt/-/100/0/0

Transparent box w0.5/m6,K/100/-/100/0.5pt/6pt/6pt/6pt/6pt/-/100/0/0

Transparent box w0.75/m6,K/100/-/100/0.75pt/6pt/6pt/6pt/6pt/-/100/0/0

Transparent box w2/m6,K/100/-/100/2pt/6pt/6pt/6pt/6pt/-/100/0/0

Gradient box w0/m12,-/100/K/30/3pt/12pt/0pt/12pt/0pt/K/0/1/900

 

Note: the 2.3 change it that every row has 4 new parameters added on the end, e.g. /-/100/0/0. that stand for the end gradient color, end gradient tint, gradient type and gradient angle. If you have custom lines in the EditorialConfig, add to each one this string at the end:

/-/100/0/0

 

Version 2.2 and earlier

No box,-/100/-/100/0pt/0pt/0pt/0pt/0pt

No border 50% K fill w0/m6,K/100/K/50/0pt/6pt/6pt/6pt/6pt

Transparent box w1/m6,K/100/-/100/1pt/6pt/6pt/6pt/6pt

Black border White fill w2/m6,K/100/K/0/2pt/6pt/6pt/6pt/6pt

Magenta border White fill w2/m6,M/100/K/0/2pt/6pt/6pt/6pt/6pt

Black border Black fill w1/m6,K/100/K/100/1pt/6pt/6pt/6pt/6pt

Black border 50% fill w1/m6,K/100/K/50/1pt/6pt/6pt/6pt/6pt

Black border 40% fill w1/m6,K/100/K/40/1pt/6pt/6pt/6pt/6pt

Black border 30% fill w1/m6,K/100/K/20/1pt/6pt/6pt/6pt/6pt

Black border 20% fill w1/m6,K/100/K/20/1pt/6pt/6pt/6pt/6pt

Black border 10% fill w1/m6,K/100/K/20/1pt/6pt/6pt/6pt/6pt

Gray border 30% fill w1/m6,K/50/K/20/1pt/6pt/6pt/6pt/6pt

Transparent box w0.5/m6,K/100/-/100/0.5pt/6pt/6pt/6pt/6pt

Transparent box w0.75/m6,K/100/-/100/0.75pt/6pt/6pt/6pt/6pt

Transparent box w2/m6,K/100/-/100/2pt/6pt/6pt/6pt/6pt

Transparent box w3/m6,K/100/-/100/3pt/6pt/6pt/6pt/6pt

Box presets syntax

A box preset consists of the identifier (e.g. 'BoxPreset01' - not to be modified or translated), and a value. The value has two parts: a translatable name, e.g. No border 50% K fill w0/m6 that ends with a comma (hence, you must not use comma in the name itself), and the codified string with values, delimited by slash.

BoxPreset00 is used to unbox, and it has not to be customized.

Translatable name: you can put what you want (except comma and slash character). Standard names end with a short info about weight (w1 means weight=1pt) and margin (m6 means margin 6pt).

Codified string: it has nine parts, all in the same line, in the order as specified below, with the mandatory structure as below. Do not add more slashes, do not skip values.

border color name or - (minus sign) if transparent; the color name may contain spaces

border shade (0-100)

fill color name or - (minus sign) if transparent; the color name may contain spaces

fill color shade (0-100)

border weight (0pt, 1pt, or 0.75pt or any other allowed positive value; you can use any GN4 measurement unit)

left margin (0pt, 1pt, or 0.75pt or any other allowed positive value; you can use any GN4 measurement unit)

right margin (0pt, 1pt, or 0.75pt or any other allowed positive value; you can use any GN4 measurement unit)

top margin (0pt, 1pt, or 0.75pt or any other allowed positive value; you can use any GN4 measurement unit)

bottom margin (0pt, 1pt, or 0.75pt or any other allowed positive value; you can use any GN4 measurement unit)

Since version 2.3, also:

end gradient color name or - (minus sign) if transparent; the color name may contain spaces

end gradient shade (0-100)

gradient type: 1 for linear blend, 2 for circular blend

gradient angle in 1/10ths of grade, e.g. 0 for vertical blend, or 900 for horizontal blend, or 450 for 45 grades angle.

See also

Customizing box presets