diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-23 00:33:22 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-23 00:34:17 +0100 |
| commit | 1a9bcaccec411cbc50a5d1ff64f266afaa63a29c (patch) | |
| tree | 3d63a07659ca159c72d87b465699049301628c89 /library/src/text | |
| parent | fd787317a858f0f6d9a3ac551d3fecb93286a0af (diff) | |
Fix typos
Diffstat (limited to 'library/src/text')
| -rw-r--r-- | library/src/text/misc.rs | 6 | ||||
| -rw-r--r-- | library/src/text/quotes.rs | 2 | ||||
| -rw-r--r-- | library/src/text/shift.rs | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/library/src/text/misc.rs b/library/src/text/misc.rs index d05bf3ec..75194a86 100644 --- a/library/src/text/misc.rs +++ b/library/src/text/misc.rs @@ -29,7 +29,7 @@ impl Behave for SpaceNode { /// # Line Break /// Inserts a line break. /// -/// Advances the paragraph to the next line. A single trailing linebreak at the +/// Advances the paragraph to the next line. A single trailing line break at the /// end of a paragraph is ignored, but more than one creates additional empty /// lines. /// @@ -41,7 +41,7 @@ impl Behave for SpaceNode { /// ``` /// /// ## Syntax -/// This function also has dedicated syntax: To insert a linebreak, simply write +/// This function also has dedicated syntax: To insert a line break, simply write /// a backslash followed by whitespace. This always creates an unjustified /// break. /// @@ -58,7 +58,7 @@ impl Behave for SpaceNode { /// #let jb = linebreak(justify: true) /// /// I have manually tuned the #jb -/// linebreaks in this paragraph #jb +/// line breaks in this paragraph #jb /// for an _interesting_ result. #jb /// ``` /// diff --git a/library/src/text/quotes.rs b/library/src/text/quotes.rs index 88278718..fa376b68 100644 --- a/library/src/text/quotes.rs +++ b/library/src/text/quotes.rs @@ -64,7 +64,7 @@ impl SmartQuoteNode { } } -/// State machine for smart quote subtitution. +/// State machine for smart quote substitution. #[derive(Debug, Clone)] pub struct Quoter { /// How many quotes have been opened. diff --git a/library/src/text/shift.rs b/library/src/text/shift.rs index 1d78d857..611ed455 100644 --- a/library/src/text/shift.rs +++ b/library/src/text/shift.rs @@ -42,7 +42,7 @@ impl SubNode { /// N#sub(typographic: false)[1] /// ``` pub const TYPOGRAPHIC: bool = true; - /// The baseline shift for synthetic subcripts. Does not apply if + /// The baseline shift for synthetic subscripts. Does not apply if /// `typographic` is true and the font has subscript codepoints for the /// given `body`. pub const BASELINE: Length = Em::new(0.2).into(); |
