Hi,
I have a code fragment which worked like I wanted it before the upgrade to Typst 0.13. Namely, the text inside the first box was right justified without hyphenation. I don’t know why . Now hyphenation is on, justify off. This isn’t a total surprise, as the place of the paragraph in the scheme of things changed…
...
#box(width: 89%)[
#strong(cnt)
#subcnt
#box(width: 1fr, repeat[.])
]
#box(width: 7%)[#h(1fr)#it.page()]
...
So I have somehow to add text
(because of hyphenate: false) and par
(because of justify: true) to my first box. How should I do it gracefully?
UPD
Now it looks like this:
#box(width: 89%)[
#set text(hyphenate: false)
#set par(justify: true)
#strong(cnt)
#subcnt
#box(width: 1fr, repeat[.])
]
#box(width: 7%)[#h(1fr)#it.page()]
Is it a natural solution?