summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroliver <151407407+kwfn@users.noreply.github.com>2023-12-12 10:34:46 -0400
committerGitHub <noreply@github.com>2023-12-12 15:34:46 +0100
commit8d7d18c4d6f51ba3ace50263b6c83e0e0378248f (patch)
tree04c68b79279866c537c2624a2303b503e81ae9b9
parent343a423e9f07f4bccc41bc0a60a3a2251c8a228a (diff)
More consistent spelling of "behaviour" (#2923)
-rw-r--r--crates/typst/src/model/enum.rs2
-rw-r--r--crates/typst/src/model/heading.rs4
-rw-r--r--docs/changelog.md2
-rw-r--r--docs/community.md2
-rw-r--r--docs/guides/guide-for-latex-users.md2
-rw-r--r--docs/tutorial/1-writing.md4
-rw-r--r--docs/tutorial/2-formatting.md6
-rw-r--r--tests/typ/layout/columns.typ2
8 files changed, 12 insertions, 12 deletions
diff --git a/crates/typst/src/model/enum.rs b/crates/typst/src/model/enum.rs
index bd266bc2..0d81b16a 100644
--- a/crates/typst/src/model/enum.rs
+++ b/crates/typst/src/model/enum.rs
@@ -163,7 +163,7 @@ pub struct EnumElem {
/// The choice of `{end}` for horizontal alignment of enum numbers is
/// usually preferred over `{start}`, as numbers then grow away from the
/// text instead of towards it, avoiding certain visual issues. This option
- /// lets you override this behavior, however. (Also to note is that the
+ /// lets you override this behaviour, however. (Also to note is that the
/// [unordered list]($list) uses a different method for this, by giving the
/// `marker` content an alignment directly.).
///
diff --git a/crates/typst/src/model/heading.rs b/crates/typst/src/model/heading.rs
index 40152d8f..d99fd074 100644
--- a/crates/typst/src/model/heading.rs
+++ b/crates/typst/src/model/heading.rs
@@ -84,7 +84,7 @@ pub struct HeadingElem {
///
/// Note that this property, if set to `{true}`, ensures the heading is also
/// shown as a bookmark in the exported PDF's outline (when exporting to
- /// PDF). To change that behavior, use the `bookmarked` property.
+ /// PDF). To change that behaviour, use the `bookmarked` property.
///
/// ```example
/// #outline()
@@ -106,7 +106,7 @@ pub struct HeadingElem {
/// appear in the exported PDF's outline if its `outlined` property is set
/// to `{true}`, that is, if it would also be listed in Typst's
/// [outline]($outline). Setting this property to either `{true}` (bookmark)
- /// or `{false}` (don't bookmark) bypasses that behavior.
+ /// or `{false}` (don't bookmark) bypasses that behaviour.
///
/// ```example
/// #heading[Normal heading]
diff --git a/docs/changelog.md b/docs/changelog.md
index 25c685b3..a803508c 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -17,7 +17,7 @@ description: |
- Fixed missing title in some bibliography styles
- Fixed printing of volumes in some styles
- Fixed delimiter order for contributors in some styles (e.g. APA)
- - Fixed behavior of alphanumeric style
+ - Fixed behaviour of alphanumeric style
- Fixed multiple bugs with GB/T 7714 style
- Fixed escaping in Hayagriva values
- Fixed crashes with empty dates in Hayagriva files
diff --git a/docs/community.md b/docs/community.md
index c8c84e5d..50e04dfd 100644
--- a/docs/community.md
+++ b/docs/community.md
@@ -56,7 +56,7 @@ No matter how you contribute, thank you for your support!
We want to make our community a safe and inclusive space for everyone.
Therefore, we will not tolerate any sexual harassment, sexism, political
attacks, derogatory language or personal insults, racism, doxing, and other
-inappropriate behavior. We pledge to remove members that are in violation of
+inappropriate behaviour. We pledge to remove members that are in violation of
these rules. [Contact us](https://typst.app/contact/) if you think another
community member acted inappropriately towards you. All complaints will be
reviewed and investigated promptly and fairly.
diff --git a/docs/guides/guide-for-latex-users.md b/docs/guides/guide-for-latex-users.md
index df1704fa..61a972eb 100644
--- a/docs/guides/guide-for-latex-users.md
+++ b/docs/guides/guide-for-latex-users.md
@@ -470,7 +470,7 @@ $ delta "if" x <= 5 $
In Typst, delimiters will scale automatically for their expressions, just as if
`\left` and `\right` commands were implicitly inserted in LaTeX. You can
-customize delimiter behavior using the [`lr` function]($math.lr). To
+customize delimiter behaviour using the [`lr` function]($math.lr). To
prevent a pair of delimiters from scaling, you can escape them with backslashes.
Typst will automatically set terms around a slash `/` as a fraction while
diff --git a/docs/tutorial/1-writing.md b/docs/tutorial/1-writing.md
index 0235032e..7b42a0a4 100644
--- a/docs/tutorial/1-writing.md
+++ b/docs/tutorial/1-writing.md
@@ -20,7 +20,7 @@ In this report, we will explore the
various factors that influence fluid
dynamics in glaciers and how they
contribute to the formation and
-behavior of these natural structures.
+behaviour of these natural structures.
```
_Throughout this tutorial, we'll show code examples like this one. Just like in the app, the first panel contains markup and the second panel shows a preview. We shrunk the page to fit the examples so you can see what's going on._
@@ -36,7 +36,7 @@ In this report, we will explore the
various factors that influence _fluid
dynamics_ in glaciers and how they
contribute to the formation and
-behavior of these natural structures.
+behaviour of these natural structures.
```
That was easy! To add a new paragraph, just add a blank line in between two
diff --git a/docs/tutorial/2-formatting.md b/docs/tutorial/2-formatting.md
index 7eb82710..58095f94 100644
--- a/docs/tutorial/2-formatting.md
+++ b/docs/tutorial/2-formatting.md
@@ -23,7 +23,7 @@ document in it.
In the case of glaciers, fluid
dynamics principles can be used
to understand how the movement
- and behavior of the ice is
+ and behaviour of the ice is
influenced by factors such as
temperature, pressure, and the
presence of other fluids (such as
@@ -54,7 +54,7 @@ properties you want to set, and a list of arguments in parentheses.
In the case of glaciers, fluid
dynamics principles can be used
to understand how the movement
-and behavior of the ice is
+and behaviour of the ice is
influenced by factors such as
temperature, pressure, and the
presence of other fluids (such as
@@ -123,7 +123,7 @@ In this report, we will explore the
various factors that influence fluid
dynamics in glaciers and how they
contribute to the formation and
-behavior of these natural structures.
+behaviour of these natural structures.
>>> Glacier displacement is influenced
>>> by a number of factors, including
diff --git a/tests/typ/layout/columns.typ b/tests/typ/layout/columns.typ
index 5f853d73..32060ab4 100644
--- a/tests/typ/layout/columns.typ
+++ b/tests/typ/layout/columns.typ
@@ -37,7 +37,7 @@ Sure, it is not the most creative way of filling up
a page for a test but it does get the job done.
---
-// Test the expansion behavior.
+// Test the expansion behaviour.
#set page(height: 2.5cm, width: 7.05cm)
#rect(inset: 6pt, columns(2, [