Add \enspace (0.5em space)
Summary: TeX spacing is complicated - there's \enskip and \enspace and the two are subtly different in some weird way. But \enspace seems to be the preferred half em space in LaTeX, and the only one which MathJax supports. Test Plan: Parsed and rendered correctly. Reviewers: alpert Reviewed By: alpert Differential Revision: http://phabricator.khanacademy.org/D6437
This commit is contained in:
parent
a3663ce17c
commit
ba84964d6f
|
@ -294,6 +294,7 @@ var copyFuncs = {
|
|||
"\\,",
|
||||
"\\:",
|
||||
"\\;",
|
||||
"\\enspace",
|
||||
"\\qquad",
|
||||
"\\quad",
|
||||
"\\space"
|
||||
|
|
|
@ -285,6 +285,7 @@ var groupTypes = {
|
|||
var spacingClassMap = {
|
||||
"\\qquad": "qquad",
|
||||
"\\quad": "quad",
|
||||
"\\enspace": "enspace",
|
||||
"\\;": "thickspace",
|
||||
"\\:": "mediumspace",
|
||||
"\\,": "thinspace",
|
||||
|
|
|
@ -248,6 +248,10 @@ big parens
|
|||
width: @thickspace;
|
||||
}
|
||||
|
||||
&.enspace {
|
||||
width: 0.5em;
|
||||
}
|
||||
|
||||
&.quad {
|
||||
width: 1em;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user