{"route":"/en-US-v0.14.1/reference/layout/","title":"Layout","description":"Documentation for functions related to Layout in Typst.","part":null,"outline":[{"id":"summary","name":"Summary","children":[]},{"id":"definitions","name":"Definitions","children":[]}],"body":{"kind":"category","content":{"name":"layout","title":"Layout","details":"<p>Arranging elements on the page in different ways.</p>\n<p>By combining layout functions, you can create complex and automatic layouts.</p>","items":[{"name":"align","route":"/en-US-v0.14.1/reference/layout/align/","oneliner":"Aligns content horizontally and vertically.","code":true},{"name":"alignment","route":"/en-US-v0.14.1/reference/layout/alignment/","oneliner":"Where to align something along an axis.","code":true},{"name":"angle","route":"/en-US-v0.14.1/reference/layout/angle/","oneliner":"An angle describing a rotation.","code":true},{"name":"block","route":"/en-US-v0.14.1/reference/layout/block/","oneliner":"A block-level container.","code":true},{"name":"box","route":"/en-US-v0.14.1/reference/layout/box/","oneliner":"An inline-level container that sizes content.","code":true},{"name":"colbreak","route":"/en-US-v0.14.1/reference/layout/colbreak/","oneliner":"Forces a column break.","code":true},{"name":"columns","route":"/en-US-v0.14.1/reference/layout/columns/","oneliner":"Separates a region into multiple equally sized columns.","code":true},{"name":"direction","route":"/en-US-v0.14.1/reference/layout/direction/","oneliner":"The four directions into which content can be laid out.","code":true},{"name":"fraction","route":"/en-US-v0.14.1/reference/layout/fraction/","oneliner":"Defines how the remaining space in a layout is distributed.","code":true},{"name":"grid","route":"/en-US-v0.14.1/reference/layout/grid/","oneliner":"Arranges content in a grid.","code":true},{"name":"h","route":"/en-US-v0.14.1/reference/layout/h/","oneliner":"Inserts horizontal spacing into a paragraph.","code":true},{"name":"hide","route":"/en-US-v0.14.1/reference/layout/hide/","oneliner":"Hides content without affecting layout.","code":true},{"name":"layout","route":"/en-US-v0.14.1/reference/layout/layout/","oneliner":"Provides access to the current outer container's (or page's, if none) dimensions (width and height).","code":true},{"name":"length","route":"/en-US-v0.14.1/reference/layout/length/","oneliner":"A size or distance, possibly expressed with contextual units.","code":true},{"name":"measure","route":"/en-US-v0.14.1/reference/layout/measure/","oneliner":"Measures the layouted size of content.","code":true},{"name":"move","route":"/en-US-v0.14.1/reference/layout/move/","oneliner":"Moves content without affecting layout.","code":true},{"name":"pad","route":"/en-US-v0.14.1/reference/layout/pad/","oneliner":"Adds spacing around content.","code":true},{"name":"page","route":"/en-US-v0.14.1/reference/layout/page/","oneliner":"Layouts its child onto one or multiple pages.","code":true},{"name":"pagebreak","route":"/en-US-v0.14.1/reference/layout/pagebreak/","oneliner":"A manual page break.","code":true},{"name":"place","route":"/en-US-v0.14.1/reference/layout/place/","oneliner":"Places content relatively to its parent container.","code":true},{"name":"ratio","route":"/en-US-v0.14.1/reference/layout/ratio/","oneliner":"A ratio of a whole.","code":true},{"name":"relative","route":"/en-US-v0.14.1/reference/layout/relative/","oneliner":"A length in relation to some known length.","code":true},{"name":"repeat","route":"/en-US-v0.14.1/reference/layout/repeat/","oneliner":"Repeats content to the available space.","code":true},{"name":"rotate","route":"/en-US-v0.14.1/reference/layout/rotate/","oneliner":"Rotates content without affecting layout.","code":true},{"name":"scale","route":"/en-US-v0.14.1/reference/layout/scale/","oneliner":"Scales content without affecting layout.","code":true},{"name":"skew","route":"/en-US-v0.14.1/reference/layout/skew/","oneliner":"Skews content.","code":true},{"name":"stack","route":"/en-US-v0.14.1/reference/layout/stack/","oneliner":"Arranges content and spacing horizontally or vertically.","code":true},{"name":"v","route":"/en-US-v0.14.1/reference/layout/v/","oneliner":"Inserts vertical spacing into a flow of blocks.","code":true}],"shorthands":null}}}