summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Seiler <seileralex@gmail.com>2023-04-27 11:26:43 +0200
committerGitHub <noreply@github.com>2023-04-27 11:26:43 +0200
commitc941baa7ee84be8f1cff2cfdf7c5607b3b6d81f8 (patch)
tree8a321b7bfba19649d48864acddda628106f69b67
parent5100046acf0fd31f805506f156c59c635c46cf93 (diff)
Correct some typos (#987)
-rw-r--r--README.md2
-rw-r--r--library/src/layout/par.rs2
-rw-r--r--tests/ref/text/linebreak-obj.pngbin44153 -> 44191 bytes
-rw-r--r--tests/typ/layout/par-justify.typ2
-rw-r--r--tests/typ/text/linebreak-obj.typ2
5 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 4a037ac2..af47a3e0 100644
--- a/README.md
+++ b/README.md
@@ -151,7 +151,7 @@ typst --font-path path/to/fonts compile file.typ
# Lists all of the discovered fonts in the system and the given directory.
typst --font-path path/to/fonts fonts
-# Or via environement variable (Linux syntax).
+# Or via environment variable (Linux syntax).
TYPST_FONT_PATHS=path/to/fonts typst fonts
```
diff --git a/library/src/layout/par.rs b/library/src/layout/par.rs
index b186bb19..7a1a21e7 100644
--- a/library/src/layout/par.rs
+++ b/library/src/layout/par.rs
@@ -1280,7 +1280,7 @@ fn commit(
}
}
- // Determine how much addtional space is needed.
+ // Determine how much additional space is needed.
// The justicication_ratio is for the first step justification,
// extra_justification is for the last step.
// For more info on multi-step justification, see Procedures for Inter-
diff --git a/tests/ref/text/linebreak-obj.png b/tests/ref/text/linebreak-obj.png
index 3502771f..60231290 100644
--- a/tests/ref/text/linebreak-obj.png
+++ b/tests/ref/text/linebreak-obj.png
Binary files differ
diff --git a/tests/typ/layout/par-justify.typ b/tests/typ/layout/par-justify.typ
index 131eadfa..49694372 100644
--- a/tests/typ/layout/par-justify.typ
+++ b/tests/typ/layout/par-justify.typ
@@ -27,7 +27,7 @@ D E F #linebreak(justify: true)
#""
---
-// Test that the last line can be shrinked
+// Test that the last line can be shrunk
#set page(width: 155pt)
#set par(justify: true)
This text can be fitted in one line. \ No newline at end of file
diff --git a/tests/typ/text/linebreak-obj.typ b/tests/typ/text/linebreak-obj.typ
index f6cc0145..c0a74a1e 100644
--- a/tests/typ/text/linebreak-obj.typ
+++ b/tests/typ/text/linebreak-obj.typ
@@ -5,7 +5,7 @@
#set page(width: 162pt)
They can look for the details in @netwok,
-which is the authorative source.
+which is the authoritative source.
#bibliography("/works.bib")