First template
All layout configurations are done using CSS.
If you are accustomed to configuring page size and other document aspects (such as fonts) using PHP with other PDF renderers, you will appreciate the ability to do so using CSS and the official Print-CSS syntax with typeset.sh.
The following example shows how to create a simple A5 page using a Google font:
All layout-related configurations are done using CSS inside your document. The official CSS standard includes special properties and rules for printed and paged media such as PDF.
For more information on paged media in CSS, refer to the official W3.org reference at https://www.w3.org/TR/2018/WD-css-page-3-20181018/.
Last updated