summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst-library/src/text/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/typst-library/src/text/mod.rs b/crates/typst-library/src/text/mod.rs
index 6aeebbba..62c87051 100644
--- a/crates/typst-library/src/text/mod.rs
+++ b/crates/typst-library/src/text/mod.rs
@@ -495,7 +495,9 @@ pub struct TextElem {
///
/// Hyphenation is generally avoided by placing the whole word on the next
/// 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
/// higher runt cost can result in more awkward in justification spacing.