diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-01-31 02:05:53 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-01-31 02:05:53 +0100 |
| commit | 69985e59bc13a19ad9aa3530d5e208460528ef1b (patch) | |
| tree | 9aaad0b94e401c968fccece660d3c161aab38042 | |
| parent | 60ef41cef40e8f5c7429f6c96ef1df7faa4298dc (diff) | |
Make lowercase greek italic
| -rw-r--r-- | library/src/math/style.rs | 2 | ||||
| -rw-r--r-- | tests/ref/math/style.png | bin | 14389 -> 14424 bytes | |||
| -rw-r--r-- | tests/ref/math/syntax.png | bin | 53967 -> 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 Binary files differindex 2ac74cb4..d9a71807 100644 --- a/tests/ref/math/style.png +++ b/tests/ref/math/style.png diff --git a/tests/ref/math/syntax.png b/tests/ref/math/syntax.png Binary files differindex 54ec856d..5a58df56 100644 --- a/tests/ref/math/syntax.png +++ b/tests/ref/math/syntax.png |
