mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Merge d45fd9124d0cf312b9381ef876ff3be5bda88160 into 9b09146a6b5e936966ed7ee73bce9dd2df3810ae
This commit is contained in:
commit
befb36340f
@ -348,15 +348,17 @@ pub struct TextElem {
|
|||||||
/// This can make justification visually more pleasing.
|
/// This can make justification visually more pleasing.
|
||||||
///
|
///
|
||||||
/// ```example
|
/// ```example
|
||||||
|
/// #set page(width: 220pt)
|
||||||
|
///
|
||||||
/// #set par(justify: true)
|
/// #set par(justify: true)
|
||||||
/// This justified text has a hyphen in
|
/// This justified text has a hyphen in
|
||||||
/// the paragraph's first line. Hanging
|
/// the paragraph's second line. Hanging
|
||||||
/// the hyphen slightly into the margin
|
/// the hyphen slightly into the margin
|
||||||
/// results in a clearer paragraph edge.
|
/// results in a clearer paragraph edge.
|
||||||
///
|
///
|
||||||
/// #set text(overhang: false)
|
/// #set text(overhang: false)
|
||||||
/// This justified text has a hyphen in
|
/// This justified text has a hyphen in
|
||||||
/// the paragraph's first line. Hanging
|
/// the paragraph's second line. Hanging
|
||||||
/// the hyphen slightly into the margin
|
/// the hyphen slightly into the margin
|
||||||
/// results in a clearer paragraph edge.
|
/// results in a clearer paragraph edge.
|
||||||
/// ```
|
/// ```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user