diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-04-09 20:52:57 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-04-09 20:52:57 +0200 |
commit | 7890281897a3a0c4412714eea2ef577a5cb6c4e6 (patch) | |
tree | c50dfd4b513a6ebccfa556357999409b1652eff6 | |
parent | cd8dba80ecb35765e81d6e0771a267a5e671dde6 (diff) |
Add some more templates
-rw-r--r-- | src/stylesheet.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c index b78fc4c..39513c9 100644 --- a/src/stylesheet.c +++ b/src/stylesheet.c @@ -136,6 +136,41 @@ void default_stylesheet(StyleSheet *ss) sty->lop.y = 0.0; sty->sc_prologue = strdup("\\bgcol{#00a6eb}\\fgcol{#ffffff}"); add_to_template(slide, sty); + + sty = new_style(ss, "Slide title"); + 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; + sty->sc_prologue = strdup("\\bgcol{#00a6eb}\\fgcol{#ffffff}"); + add_to_template(acknowledgements, sty); + + sty = new_style(ss, "Content"); + 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 = 1.0; + sty->lop.h_units = UNITS_FRAC; + sty->lop.x = 0.0; + sty->lop.y = 0.0; + sty->sc_prologue = strdup("\\bgcol{#00a6eb}\\fgcol{#ffffff}Acknowledgements"); + add_to_template(acknowledgements, sty); } |