git.iko.soy/typeable/pandoc
on master help sign in
MANUAL: Add beamer info for slide backgrounds (#4802)
c279a2dJohn Muccigrosso
MANUAL.txt+16−12
@@ -4449,26 +4449,30 @@ the [Beamer User's Guide] may also be used: `allowdisplaybreaks`,
4449`allowframebreaks`, `b`, `c`, `t`, `environment`, `label`, `plain`,
4449`allowframebreaks`, `b`, `c`, `t`, `environment`, `label`, `plain`,
4450`shrink`, `standout`, `noframenumbering`.
4450`shrink`, `standout`, `noframenumbering`.
4451
4451
4452−Background in reveal.js
4452+Background in reveal.js and beamer
4453−-----------------------
4453+----------------------------------
4454
4454
4455−Background images can be added to self-contained reveal.js slideshows.
4455+Background images can be added to self-contained reveal.js slideshows and
4456+to beamer slideshows.
4456
4457
4457−For the same image on every slide, use the reveal.js configuration
4458+For the same image on every slide, use the configuration
4458−option `parallaxBackgroundImage` either in the YAML metadata block
4459+option `background-image` either in the YAML metadata block
4459−or as a command-line variable. You can also set
4460+or as a command-line variable. (There are no other options in
4460−`parallaxBackgroundHorizontal` and `parallaxBackgroundVertical` the same
4461+beamer and the rest of this section concerns reveal.js slideshows.)
4461−way and must also set `parallaxBackgroundSize` to have your values
4462−take effect.
4463
4462
4463+For reveal.js, you can instead use the reveal.js-native option
4464+`parallaxBackgroundImage`. You can also set `parallaxBackgroundHorizontal`
4465+and `parallaxBackgroundVertical` the same way and must also set
4466+`parallaxBackgroundSize` to have your values take effect.
4467+
4464−To set an image for a particular slide, add
4468+To set an image for a particular reveal.js slide, add
4465`{data-background-image="/path/to/image"}`
4469`{data-background-image="/path/to/image"}`
4466to the first slide-level header on the slide (which may even be empty).
4470to the first slide-level header on the slide (which may even be empty).
4467
4471
4468In reveal.js's overview mode, the parallaxBackgroundImage will show up
4472In reveal.js's overview mode, the parallaxBackgroundImage will show up
4469only on the first slide.
4473only on the first slide.
4470
4474
4471−Other background settings also work on individual slides, including
4475+Other reveal.js background settings also work on individual slides, including
4472`data-background-size`, `data-background-repeat`, `data-background-color`,
4476`data-background-size`, `data-background-repeat`, `data-background-color`,
4473`data-transition`, and `data-transition-speed`.
4477`data-transition`, and `data-transition-speed`.
4474
4478
@@ -4476,7 +4480,7 @@ See the [reveal.js
4476documentation](https://github.com/hakimel/reveal.js#slide-backgrounds)
4480documentation](https://github.com/hakimel/reveal.js#slide-backgrounds)
4477for more details.
4481for more details.
4478
4482
4479−For example:
4483+For example in reveal.js:
4480
4484
4481```
4485```
4482---
4486---