summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-31 02:05:53 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-31 02:05:53 +0100
commit69985e59bc13a19ad9aa3530d5e208460528ef1b (patch)
tree9aaad0b94e401c968fccece660d3c161aab38042
parent60ef41cef40e8f5c7429f6c96ef1df7faa4298dc (diff)
Make lowercase greek italic
-rw-r--r--library/src/math/style.rs2
-rw-r--r--tests/ref/math/style.pngbin14389 -> 14424 bytes
-rw-r--r--tests/ref/math/syntax.pngbin53967 -> 53995 bytes
3 files changed, 1 insertions, 1 deletions
diff --git a/library/src/math/style.rs b/library/src/math/style.rs
index c45a8d93..633a66bf 100644
--- a/library/src/math/style.rs
+++ b/library/src/math/style.rs
@@ -439,7 +439,7 @@ pub(super) fn styled_char(style: MathStyle, c: char) -> char {
let (base, default_italic) = match c {
'a'..='z' => ('a', true),
'A'..='Z' => ('A', true),
- 'α'..='ω' => ('α', false),
+ 'α'..='ω' => ('α', true),
'Α'..='Ω' => ('Α', false),
'0'..='9' => ('0', false),
'-' => return '−',
diff --git a/tests/ref/math/style.png b/tests/ref/math/style.png
index 2ac74cb4..d9a71807 100644
--- a/tests/ref/math/style.png
+++ b/tests/ref/math/style.png
Binary files differ
diff --git a/tests/ref/math/syntax.png b/tests/ref/math/syntax.png
index 54ec856d..5a58df56 100644
--- a/tests/ref/math/syntax.png
+++ b/tests/ref/math/syntax.png
Binary files differ