Add an unnumbered heading for the abstract environment
This commit is contained in:
1 parent
b4ee4c1330
commit
c7b7660049
2 files changed
+34
No files matched your search
@@ -1842,6 +1842,15 @@ impl Parser {
|
||||
self.table_active = false;
|
||||
self.current_table_block = None;
|
||||
}
|
||||
(true, "abstract") => {
|
||||
self.flush_paragraph();
|
||||
let mut heading = Run::plain("Abstract".to_string());
|
||||
heading.bold = true;
|
||||
self.push_block(Block::Centered {
|
||||
runs: vec![heading],
|
||||
});
|
||||
}
|
||||
(false, "abstract") => self.flush_paragraph(),
|
||||
(true, "center") => {
|
||||
self.flush_paragraph();
|
||||
if self.centered.is_none() {
|
||||
|
||||
Reference in new issue
Block a user