aboutsummaryrefslogtreecommitdiff
path: root/data/odt
diff options
context:
space:
mode:
authorLorenzo <oni.lore@tiscali.it>2021-02-19 15:41:58 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2021-02-19 10:18:49 -0800
commitd68bbae5520f0ad023b0d83b727e5e248ce26d67 (patch)
tree9cb8d9ee687ccc24c5f1427a3e0b9b71a08fb51e /data/odt
parent5eedbb6e8e7ec034be38dd9196eb8f660a28b8a5 (diff)
downloadpandoc-d68bbae5520f0ad023b0d83b727e5e248ce26d67.tar.gz
Update default ODT style
As of now, the default style for ODT documents has a "First paragraph" style that inherits from "Standard" style and has no top or bottom margin. All subsequent paragraphs have "Text_20_body" style that inherits from "Standard" and add "0.0598in" margins on top and bottom. This makes the final document a bit ugly since the first paragraph has a small gap ("0.0598in") towards the second one, and all subsequent have double that. The proposed fix makes "First paragraph" inherit from "Text_20_body" instead so that it also has a consistent margin. Another approach would be to inherit "Text_20_body" and add a 0 margin on top.
Diffstat (limited to 'data/odt')
-rw-r--r--data/odt/styles.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/odt/styles.xml b/data/odt/styles.xml
index d066b300b..54459de04 100644
--- a/data/odt/styles.xml
+++ b/data/odt/styles.xml
@@ -350,7 +350,7 @@ xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2">
</style:style>
<style:style style:name="First_20_paragraph"
style:display-name="First paragraph" style:family="paragraph"
- style:parent-style-name="Standard"
+ style:parent-style-name="Text_20_body"
style:next-style-name="Text_20_body" style:class="text" />
<style:style style:name="Numbering_20_Symbols"
style:display-name="Numbering Symbols" style:family="text" />