aboutsummaryrefslogtreecommitdiff
path: root/test/command/6792.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-12-28 16:06:25 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-12-28 16:06:25 -0800
commit7d56650e0137daf504fdd79187811f091d4eee37 (patch)
tree68c24291a945542e2b1cdfef0f085fad247d9feb /test/command/6792.md
parent8bd22270c8ac5d4f76164f8c5854ba26e901e161 (diff)
downloadpandoc-7d56650e0137daf504fdd79187811f091d4eee37.tar.gz
OpenDocument writer: fix vertical align bug with display math.
Previously some displayed formulas would be floated above a preceding text line. This is fixed by setting vertical-rel to 'text' rather than 'paragraph-content'. Closes #7777.
Diffstat (limited to 'test/command/6792.md')
-rw-r--r--test/command/6792.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command/6792.md b/test/command/6792.md
index 3d31942fe..253009d46 100644
--- a/test/command/6792.md
+++ b/test/command/6792.md
@@ -22,7 +22,7 @@
<style:font-face style:name="Courier New" style:font-family-generic="modern" style:font-pitch="fixed" svg:font-family="'Courier New'" />
</office:font-face-decls>
<office:automatic-styles>
- <style:style style:name="fr2" style:family="graphic" style:parent-style-name="Formula"><style:graphic-properties style:vertical-pos="middle" style:vertical-rel="paragraph-content" style:horizontal-pos="center" style:horizontal-rel="paragraph-content" style:wrap="none" /></style:style>
+ <style:style style:name="fr2" style:family="graphic" style:parent-style-name="Formula"><style:graphic-properties style:vertical-pos="middle" style:vertical-rel="text" style:horizontal-pos="center" style:horizontal-rel="paragraph-content" style:wrap="none" /></style:style>
<style:style style:name="fr1" style:family="graphic" style:parent-style-name="Formula"><style:graphic-properties style:vertical-pos="middle" style:vertical-rel="text" /></style:style>
<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Table_20_Contents">
<style:paragraph-properties fo:text-align="center" style:justify-single-word="false" />