Media classes are used to style image-like contents. To style figure-like images there is a special paragraph style paragraph-figures that also allows to style the caption of figure-like images.


  • Definitions:

    • media-image

Style Settings

See also: Inline

Setting Type Examples Description
margin-left Length 1em The left margin of the element. (PDF only.)
margin-right Length 1em The right margin of the element. (PDF only.)


See also: Inline


// Set left and right margins for all images
media-image {
  margin-left:   10pt
  margin-right:  10pt

// Paragraph style used for all figure-like images
paragraph-figure {
  margin-top:      1em
  margin-bottom:   1em