YOU ARE VIEWING DOCUMENTATION FOR ioL v.1. Click here for documentation for older v.0.9x versions of ioL.
ioL

Programming manual (doc.iol.science)



margin = ...

The margin field applies inside padding between the border of the markup element and the content inside

Specifying a distance value for this field

This field takes a distance value specified with either one or two value elements.

If the units are not specified, the distance is interpreted in pixels {px} by default.

Example

<box margin = 5>         <! specifies 5 pixels as the value for the margin property. !>
<box margin = 5,{px}>    <! 5 pixels; explicitly stated !>
<box margin = 20,{%}>    <! percentage units !>
<box margin = 12,{pt}>   <! typesetting point units !>
<box margin = 1.2,{em}>  <! multiple of current font size !>