4 ms·
I think in the long term, HTML/CSS will win out once there's better support for CSS Paged Module Level 3, and you'll be able to achieve that requirement with ju
by kelvinzhang 3y ago
I think in the long term, HTML/CSS will win out once there's better support for CSS Paged Module Level 3, and you'll be able to achieve that requirement with just
@page :left {
margin-left: 20mm;
margin-right: 10mm;
}
@page :right {
margin-left: 10mm;
margin-right: 20mm;
}
instead of needing to install/import different LaTeX packages. I think for most of my current use-cases level 2 has been sufficient but I can see if I can include Paged.js polyfill support by default so there's more support for customizability on that front.
- x905 3y ago@Page { size: A4; margin: 20mm 10mm 10mm 25mm; } Do my print specifics (hidden-print class etc), everyone can optimize it for his local layout, every browser supports "print to pdf", done.