mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-18 09:18:39 +00:00
16 lines
615 B
JavaScript
16 lines
615 B
JavaScript
// Mapping of Unicode accent characters to their LaTeX equivalent in text and
|
|
// math mode (when they exist).
|
|
export default {
|
|
'\u0301': {text: "\\'", math: '\\acute'},
|
|
'\u0300': {text: '\\`', math: '\\grave'},
|
|
'\u0308': {text: '\\"', math: '\\ddot'},
|
|
'\u0303': {text: '\\~', math: '\\tilde'},
|
|
'\u0304': {text: '\\=', math: '\\bar'},
|
|
'\u0306': {text: '\\u', math: '\\breve'},
|
|
'\u030c': {text: '\\v', math: '\\check'},
|
|
'\u0302': {text: '\\^', math: '\\hat'},
|
|
'\u0307': {text: '\\.', math: '\\dot'},
|
|
'\u030a': {text: '\\r', math: '\\mathring'},
|
|
'\u030b': {text: '\\H'},
|
|
};
|