mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Docs: note par.linebreaks
in text.costs
(#5434)
This commit is contained in:
parent
3d7284fc1b
commit
580e6811b0
@ -495,7 +495,9 @@ pub struct TextElem {
|
|||||||
///
|
///
|
||||||
/// Hyphenation is generally avoided by placing the whole word on the next
|
/// Hyphenation is generally avoided by placing the whole word on the next
|
||||||
/// line, so a higher hyphenation cost can result in awkward justification
|
/// line, so a higher hyphenation cost can result in awkward justification
|
||||||
/// spacing.
|
/// spacing. Note: Hyphenation costs will only be applied when the
|
||||||
|
/// [`linebreaks`]($par.linebreaks) are set to "optimized". (For example
|
||||||
|
/// by default implied by [`justify`]($par.justify).)
|
||||||
///
|
///
|
||||||
/// Runts are avoided by placing more or fewer words on previous lines, so a
|
/// Runts are avoided by placing more or fewer words on previous lines, so a
|
||||||
/// higher runt cost can result in more awkward in justification spacing.
|
/// higher runt cost can result in more awkward in justification spacing.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user