Added \! (negative thin space)
Test Plan: Parses and renders locally. \!\, and \,\! are now no-ops. Reviewers: alpert Reviewed By: alpert Differential Revision: http://phabricator.khanacademy.org/D6395
This commit is contained in:
parent
8c179252c5
commit
50c1242147
|
@ -289,6 +289,7 @@ var copyFuncs = {
|
||||||
"\\nleq"
|
"\\nleq"
|
||||||
],
|
],
|
||||||
"spacing": [
|
"spacing": [
|
||||||
|
"\\!",
|
||||||
"\\ ",
|
"\\ ",
|
||||||
"\\,",
|
"\\,",
|
||||||
"\\:",
|
"\\:",
|
||||||
|
|
|
@ -287,7 +287,8 @@ var groupTypes = {
|
||||||
"\\quad": "quad",
|
"\\quad": "quad",
|
||||||
"\\;": "thickspace",
|
"\\;": "thickspace",
|
||||||
"\\:": "mediumspace",
|
"\\:": "mediumspace",
|
||||||
"\\,": "thinspace"
|
"\\,": "thinspace",
|
||||||
|
"\\!": "negativethinspace"
|
||||||
};
|
};
|
||||||
|
|
||||||
return makeSpan(["mord", "mspace", spacingClassMap[group.value]]);
|
return makeSpan(["mord", "mspace", spacingClassMap[group.value]]);
|
||||||
|
|
|
@ -232,6 +232,10 @@ big parens
|
||||||
.mspace {
|
.mspace {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
||||||
|
&.negativethinspace {
|
||||||
|
margin-left: -@thinspace;
|
||||||
|
}
|
||||||
|
|
||||||
&.thinspace {
|
&.thinspace {
|
||||||
width: @thinspace;
|
width: @thinspace;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user