aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/stylesheet.c51
1 files changed, 28 insertions, 23 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c
index e8907dd..a70df5b 100644
--- a/src/stylesheet.c
+++ b/src/stylesheet.c
@@ -103,33 +103,38 @@ void default_stylesheet(StyleSheet *ss)
acknowledgements = new_template(ss, "Acknowledgements");
sty = new_style(ss, "Presentation title");
- sty->lop.margin_l = 20.0;
- sty->lop.margin_r = 20.0;
- sty->lop.margin_t = 20.0;
- sty->lop.margin_b = 20.0;
+ sty->lop.margin_l = 0.0;
+ sty->lop.margin_r = 0.0;
+ sty->lop.margin_t = 0.0;
+ sty->lop.margin_b = 0.0;
+ sty->lop.pad_l = 0.0;
+ sty->lop.pad_r = 0.0;
+ sty->lop.pad_t = 0.0;
+ sty->lop.pad_b = 0.0;
+ sty->lop.w = 1.0;
+ sty->lop.w_units = UNITS_FRAC;
+ sty->lop.h = 100.0;
+ sty->lop.h_units = UNITS_SLIDE;
+ sty->lop.x = 0.0;
+ sty->lop.y = 300.0;
add_to_template(titlepage, sty);
- sty = new_style(ss, "Content");
- sty->lop.margin_l = 20.0;
- sty->lop.margin_r = 20.0;
- sty->lop.margin_t = 20.0;
- sty->lop.margin_b = 20.0;
- add_to_template(slide, sty);
-
sty = new_style(ss, "Slide title");
- sty->lop.margin_l = 20.0;
- sty->lop.margin_r = 20.0;
- sty->lop.margin_t = 20.0;
- sty->lop.margin_b = 20.0;
+ sty->lop.margin_l = 0.0;
+ sty->lop.margin_r = 0.0;
+ sty->lop.margin_t = 0.0;
+ sty->lop.margin_b = 0.0;
+ sty->lop.pad_l = 20.0;
+ sty->lop.pad_r = 20.0;
+ sty->lop.pad_t = 20.0;
+ sty->lop.pad_b = 20.0;
+ sty->lop.w = 1.0;
+ sty->lop.w_units = UNITS_FRAC;
+ sty->lop.h = 100.0;
+ sty->lop.h_units = UNITS_SLIDE;
+ sty->lop.x = 0.0;
+ sty->lop.y = 0.0;
add_to_template(slide, sty);
-
- sty = new_style(ss, "Content");
- sty->lop.margin_l = 20.0;
- sty->lop.margin_r = 20.0;
- sty->lop.margin_t = 20.0;
- sty->lop.margin_b = 20.0;
- add_to_template(acknowledgements, sty);
-
}