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"
|
||||
],
|
||||
"spacing": [
|
||||
"\\!",
|
||||
"\\ ",
|
||||
"\\,",
|
||||
"\\:",
|
||||
|
|
|
@ -287,7 +287,8 @@ var groupTypes = {
|
|||
"\\quad": "quad",
|
||||
"\\;": "thickspace",
|
||||
"\\:": "mediumspace",
|
||||
"\\,": "thinspace"
|
||||
"\\,": "thinspace",
|
||||
"\\!": "negativethinspace"
|
||||
};
|
||||
|
||||
return makeSpan(["mord", "mspace", spacingClassMap[group.value]]);
|
||||
|
|
|
@ -232,6 +232,10 @@ big parens
|
|||
.mspace {
|
||||
display: inline-block;
|
||||
|
||||
&.negativethinspace {
|
||||
margin-left: -@thinspace;
|
||||
}
|
||||
|
||||
&.thinspace {
|
||||
width: @thinspace;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user