You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to make a document that can and will have a landscape orientation (I really dislike the flipped name btw).
In the guideline I have it is stated, that when a page is in the landscape orientation the margins are supposed to change/move with how the 4 sides of the paper are changed/turned, i.e., if page in the landscape orientation is a "normal-orientation-page turned 90 degrees clockwise", then the top margin becomes what left was, right becomes what top was etc. So I have to do:
This way, when you turn the landscape sheet back to how the portrait sheet is oriented, the margins become identical. In other words, if you put #rect(width: 100%, height: 100%) on portrait and landscape oriented pages, then if you stack them all in the portrait orientation then the rect outline on all pages will be in the identical position on a page (mirrored).
But in the v0.11.0 not width & height nor margin of the page is affected by flipped field (I also had to conditionally change custom width and height variables' value manually because of this in the "sub-document" which is included in the main one). I suspect that it was simply never thought of or just wasn't implemented yet (everything is static and not reactive/dynamic). But if it was intentional, then I want to hear arguments against the adaptive field values.
Reproduction URL
No response
Operating system
Linux
Typst version
I am using the latest version of Typst
The text was updated successfully, but these errors were encountered:
Description
I need to make a document that can and will have a landscape orientation (I really dislike the
flipped
name btw).In the guideline I have it is stated, that when a page is in the landscape orientation the margins are supposed to change/move with how the 4 sides of the paper are changed/turned, i.e., if page in the landscape orientation is a "normal-orientation-page turned 90 degrees clockwise", then the
top
margin becomes whatleft
was,right
becomes whattop
was etc. So I have to do:This way, when you turn the landscape sheet back to how the portrait sheet is oriented, the margins become identical. In other words, if you put
#rect(width: 100%, height: 100%)
on portrait and landscape oriented pages, then if you stack them all in the portrait orientation then therect
outline on all pages will be in the identical position on a page (mirrored).But in the v0.11.0 not
width
&height
normargin
of thepage
is affected byflipped
field (I also had to conditionally change customwidth
andheight
variables' value manually because of this in the "sub-document" which is included in the main one). I suspect that it was simply never thought of or just wasn't implemented yet (everything is static and not reactive/dynamic). But if it was intentional, then I want to hear arguments against the adaptive field values.Reproduction URL
No response
Operating system
Linux
Typst version
The text was updated successfully, but these errors were encountered: