Skip to main content

matrix-slide

  • If columns is an integer, create that many columns of width 1fr.
  • If columns is none, create as many columns of width 1fr as there are content blocks.
  • Otherwise assume that columns is an array of widths already, use that.
  • If rows is an integer, create that many rows of height 1fr.
  • If rows is none, create that many rows of height 1fr as are needed given the number of co/ -ntent blocks and columns.
  • Otherwise assume that rows is an array of heights already, use that.
  • Check that there are enough rows and columns to fit in all the content blocks.

That means that #matrix-slide[...][...] stacks horizontally and #matrix-slide(columns: 1)[...][...] stacks vertically.

Parameters

config : dictionary    default: (:)

is the configuration of the slide. Use config-xxx to set individual configurations for the slide. To apply multiple configurations, use utils.merge-dicts to combine them.