main.typ: text line breaking changes

This commit is contained in:
dogeystamp 2024-11-10 12:34:06 -05:00
parent f60cf85f33
commit 4aa0081daf
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -99,7 +99,7 @@
// Content to wrap // Content to wrap
body, body,
) = { ) = {
set text(size: normal-size, font: font, weight: "regular", lang: settings.lang) set text(size: normal-size, font: font, weight: "regular", lang: settings.lang, hyphenate: auto)
show link: text.with(fill: rgb("#5577bb"), weight: "bold") show link: text.with(fill: rgb("#5577bb"), weight: "bold")
show math.equation: eq => eq show math.equation: eq => eq
set figure.caption(position: top) set figure.caption(position: top)
@ -155,7 +155,7 @@
#colbreak() #colbreak()
#align(right)[ #align(right)[
#counter(page).display("1") #context counter(page).display("1")
] ]
] ]
], ],
@ -164,7 +164,7 @@
set enum(indent: 5pt, body-indent: 5pt) set enum(indent: 5pt, body-indent: 5pt)
// Configure paragraph properties. // Configure paragraph properties.
set par(justify: true) set par(justify: true, linebreaks: "optimized")
// Display the article's contents. // Display the article's contents.
v(29pt, weak: true) v(29pt, weak: true)