mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-12 22:48:41 +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";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user