Preserve conditional math glue through native layout
This commit is contained in:
1 parent
91bb864d8c
commit
745c33fd44
18 files changed
+152
-25
No files matched your search
@@ -233,6 +233,7 @@ pub enum Primitive {
|
||||
Skewchar,
|
||||
Mathaccent,
|
||||
Mathchoice,
|
||||
Nonscript,
|
||||
Overline,
|
||||
Underline,
|
||||
Eqno,
|
||||
@@ -1116,6 +1117,7 @@ impl Default for State {
|
||||
("accent", Accent),
|
||||
("mathaccent", Mathaccent),
|
||||
("mathchoice", Mathchoice),
|
||||
("nonscript", Nonscript),
|
||||
("overline", Overline),
|
||||
("underline", Underline),
|
||||
("eqno", Eqno),
|
||||
@@ -1902,6 +1904,10 @@ impl State {
|
||||
}
|
||||
}
|
||||
|
||||
pub(super) fn install_nonscript_command(&mut self) {
|
||||
self.update_profile_command("nonscript", Meaning::Primitive(Primitive::Nonscript), true);
|
||||
}
|
||||
|
||||
pub(super) fn install_middle_command(&mut self) {
|
||||
self.update_profile_command(
|
||||
"middle",
|
||||
|
||||
Reference in new issue
Block a user