diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-08-14 23:05:09 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-08-14 23:17:44 -0700 |
commit | 892a4edeb1c9b9810c8386e639d8e457bbae7e86 (patch) | |
tree | c9de220c7cef5e6f52fdc282fb2c361533626f00 /data | |
parent | 23d29ee10cb93143f48aca6aa6ebb6afc09af797 (diff) | |
download | pandoc-892a4edeb1c9b9810c8386e639d8e457bbae7e86.tar.gz |
Implement multicolumn support for slide formats.
The structure expected is:
<div class="columns">
<div class="column" width="40%">
contents...
</div>
<div class="column" width="60%">
contents...
</div>
</div>
Support has been added for beamer and all HTML slide formats.
Closes #1710.
Note: later we could add a more elegant way to create
this structure in Markdown than to use raw HTML div elements.
This would come for free with a "native div syntax" (#168).
Or we could devise something specific to slides
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/default.dzslides | 1 | ||||
-rw-r--r-- | data/templates/default.html4 | 1 | ||||
-rw-r--r-- | data/templates/default.html5 | 1 | ||||
-rw-r--r-- | data/templates/default.revealjs | 1 | ||||
-rw-r--r-- | data/templates/default.s5 | 1 | ||||
-rw-r--r-- | data/templates/default.slideous | 1 | ||||
-rw-r--r-- | data/templates/default.slidy | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/data/templates/default.dzslides b/data/templates/default.dzslides index 479d2f06e..e17e23df8 100644 --- a/data/templates/default.dzslides +++ b/data/templates/default.dzslides @@ -15,6 +15,7 @@ $endif$ <style type="text/css"> code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} + .column{display: inline-block;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } $endif$ diff --git a/data/templates/default.html4 b/data/templates/default.html4 index 837b20080..37a8dc0d4 100644 --- a/data/templates/default.html4 +++ b/data/templates/default.html4 @@ -18,6 +18,7 @@ $endif$ code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} .line-block{white-space: pre-line;} + .column{display: inline-block;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } $endif$ diff --git a/data/templates/default.html5 b/data/templates/default.html5 index 203001f21..061966858 100644 --- a/data/templates/default.html5 +++ b/data/templates/default.html5 @@ -18,6 +18,7 @@ $endif$ code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} .line-block{white-space: pre-line;} + .column{display: inline-block;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } $endif$ diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs index 4350c80e8..d3504c67f 100644 --- a/data/templates/default.revealjs +++ b/data/templates/default.revealjs @@ -21,6 +21,7 @@ $endif$ code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} .line-block{white-space: pre-line;} + .column{display: inline-block;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } $endif$ diff --git a/data/templates/default.s5 b/data/templates/default.s5 index 1ba3998c3..a94459bb1 100644 --- a/data/templates/default.s5 +++ b/data/templates/default.s5 @@ -19,6 +19,7 @@ $endif$ code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} .line-block{white-space: pre-line;} + .column{display: inline-block;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } $endif$ diff --git a/data/templates/default.slideous b/data/templates/default.slideous index 7f6364cfc..359640822 100644 --- a/data/templates/default.slideous +++ b/data/templates/default.slideous @@ -20,6 +20,7 @@ $endif$ code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} .line-block{white-space: pre-line;} + .column{display: inline-block;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } $endif$ diff --git a/data/templates/default.slidy b/data/templates/default.slidy index 48bb254ae..5922d083c 100644 --- a/data/templates/default.slidy +++ b/data/templates/default.slidy @@ -20,6 +20,7 @@ $endif$ code{white-space: pre-wrap;} .smallcaps{font-variant: small-caps;} .line-block{white-space: pre-line;} + .column{display: inline-block;} $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } $endif$ |