From f3fa900d58a4507dc5b4200166d6603b4cb9859d Mon Sep 17 00:00:00 2001 From: Johann Birnick <6528009+jbirnick@users.noreply.github.com> Date: Tue, 5 Dec 2023 03:52:52 -0800 Subject: [PATCH] Fixed typo/mistake in math alignment documentation. (#2865) --- crates/typst/src/math/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/typst/src/math/mod.rs b/crates/typst/src/math/mod.rs index 85227fc12..46449ec8d 100644 --- a/crates/typst/src/math/mod.rs +++ b/crates/typst/src/math/mod.rs @@ -126,7 +126,7 @@ use crate::text::{LinebreakElem, SpaceElem, TextElem}; /// below, the expression `(3x + y) / 7` is right-aligned and `= 9` is /// left-aligned. The word "given" is also left-aligned because `&&` creates two /// alignment points in a row, alternating the alignment twice. `& &` and `&&` -/// behave exactly the same way. Meanwhile, "multiply by 7" is left-aligned +/// behave exactly the same way. Meanwhile, "multiply by 7" is right-aligned /// because just one `&` precedes it. Each alignment point simply alternates /// between right-aligned/left-aligned. ///