mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
Add spacing functions
Summary: Add \qquad, \quad, \;, etc. Fixes T7 Test Plan: Add some spacings. Make sure that they look reasonable widths. Especially, if you add a space (`\space`), make sure that it doesn't disappear because the spacing disappears. Reviewers: spicyj Reviewed By: spicyj Maniphest Tasks: T7 Differential Revision: http://phabricator.benalpert.com/D46
This commit is contained in:
@@ -115,6 +115,31 @@ input {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.mspace {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.mspace.thinspace {
|
||||
width: 0.16667em;
|
||||
}
|
||||
|
||||
.mspace.mediumspace {
|
||||
width: 0.22222em;
|
||||
}
|
||||
|
||||
.mspace.thickspace {
|
||||
width: 0.27778em;
|
||||
}
|
||||
|
||||
.mspace.quad {
|
||||
width: 1em;
|
||||
}
|
||||
|
||||
.mspace.qquad {
|
||||
width: 2em;
|
||||
}
|
||||
|
||||
|
||||
.mord.blue { color: #6495ed; }
|
||||
.mord.orange { color: #ffa500; }
|
||||
.mord.pink { color: #ff00af; }
|
||||
|
Reference in New Issue
Block a user