section
[section(, style)]
…
[sectionend]
with keys
[section(, style=)]
…
[sectionend]
Create layer to hold objects.
Parameters
style - optional parameter specifying css-styles to be applied to this layer
See Also
css-styles[colorsection]Changes
1.37 - accepts key=value pairs as parameters
Examples
Example#1 plain section
[section]
[heading,Section Heading]
centered body text
[sectionend]
Output:
Section Heading
centered body text
Example#2 passing CSS styles as a parameter: blue section with white text
[section,background-color:#0000ff; color:#ffffff;]
[heading,Section Heading]
…
[sectionend]
Output:
Example#3 using predefined variables in the CSS styles
[section,background-color:[var,colors.main]; color:[var,colors.purple];]
[heading,Section Heading]
…
[sectionend]
Output:
Notes