mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
* update fonts to use \not character without left side-bearing correction, fixes #1189 * update katex-fonts submodule * update katex-fonts submodule * add comment * Update fonts submodule * Update screenshots
This commit is contained in:
committed by
ylemkimon
parent
e5cb511f5a
commit
8eed4e2795
@@ -187,12 +187,8 @@ export const buildExpression = function(
|
||||
for (let i = 0; i < groups.length; i++) {
|
||||
const group = groups[i];
|
||||
if (group instanceof domTree.symbolNode && group.value === "\u0338") {
|
||||
// Results in a solidus being overlaid over the following group/atom.
|
||||
group.style.position = "absolute";
|
||||
// TODO(kevinb) fix this for Safari by switching to a non-combining
|
||||
// character for \not.
|
||||
// This value was determined empirically.
|
||||
// TODO(kevinb) figure out the real math for this value.
|
||||
group.style.paddingLeft = "0.8em";
|
||||
}
|
||||
}
|
||||
|
||||
|
Submodule submodules/katex-fonts updated: c5fe19357a...e641de5365
Binary file not shown.
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Binary file not shown.
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Reference in New Issue
Block a user