Newton's notation for derivatives (#281)

This commit is contained in:
Alexander Ekdahl 2023-03-25 13:32:25 +01:00 committed by GitHub
parent a25a691549
commit 766d1be72b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 1 deletions

View File

@ -88,7 +88,17 @@ pub(crate) const SYM: &[(&'static str, Symbol)] = symbols! {
circle: '', circle: '',
wave.double: '', wave.double: '',
], ],
dot: ['.', op: '', c: '·', circle: '', circle.big: '', square: ''], dot: [
'.',
op: '',
c: '·',
circle: '',
circle.big: '',
square: '',
double: '¨',
triple: '\u{20db}',
quad: '\u{20dc}',
],
excl: ['!', double: '', inv: '¡', quest: ''], excl: ['!', double: '', inv: '¡', quest: ''],
quest: ['?', double: '', excl: '', inv: '¿'], quest: ['?', double: '', excl: '', inv: '¿'],
interrobang: '', interrobang: '',

View File

@ -114,6 +114,8 @@ impl Symbol {
'\u{0306}' | '˘' => '\u{0306}', '\u{0306}' | '˘' => '\u{0306}',
'\u{0307}' | '.' | '˙' | '⋅' => '\u{0307}', '\u{0307}' | '.' | '˙' | '⋅' => '\u{0307}',
'\u{0308}' | '¨' => '\u{0308}', '\u{0308}' | '¨' => '\u{0308}',
'\u{20db}' => '\u{20db}',
'\u{20dc}' => '\u{20dc}',
'\u{030a}' | '∘' | '○' => '\u{030a}', '\u{030a}' | '∘' | '○' => '\u{030a}',
'\u{030b}' | '˝' => '\u{030b}', '\u{030b}' | '˝' => '\u{030b}',
'\u{030c}' | 'ˇ' => '\u{030c}', '\u{030c}' | 'ˇ' => '\u{030c}',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -5,6 +5,10 @@
$grave(a), acute(b), hat(f), tilde(§), macron(ä), diaer(a), ä \ $grave(a), acute(b), hat(f), tilde(§), macron(ä), diaer(a), ä \
breve(\&), dot(!), circle(a), caron(@), arrow(Z), arrow.l(Z)$ breve(\&), dot(!), circle(a), caron(@), arrow(Z), arrow.l(Z)$
---
$ x &= p \ dot(x) &= v \ dot.double(x) &= a \ dot.triple(x) &= j \ dot.quad(x) &= s $
--- ---
// Test `accent` function. // Test `accent` function.
$accent(ö, .), accent(v, <-), accent(ZZ, \u{0303})$ $accent(ö, .), accent(v, <-), accent(ZZ, \u{0303})$