git.iko.soy/typeable/pandoc
on master help sign in
MANUAL: Add beamer info for slide backgrounds (#4802)
commitc279a2d332563489dd747a33a2cda3980b585641 authorJohn Muccigrosso <Jmuccigr@users.noreply.github.com> dateTue 31 Jul 2018, 11:36 (8 years ago) parentd3d932f
1 file changed+16−12
MANUAL.txt+16−12
MANUAL.txt+16−12
@@ -4449,26 +4449,30 @@ the [Beamer User's Guide] may also be used: `allowdisplaybreaks`,
44494449`allowframebreaks`, `b`, `c`, `t`, `environment`, `label`, `plain`,
44504450`shrink`, `standout`, `noframenumbering`.
44514451
4452−Background in reveal.js
4453−-----------------------
4452+Background in reveal.js and beamer
4453+----------------------------------
44544454
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.
44564457
4457−For the same image on every slide, use the reveal.js configuration
4458−option `parallaxBackgroundImage` either in the YAML metadata block
4459−or as a command-line variable. You can also set
4460−`parallaxBackgroundHorizontal` and `parallaxBackgroundVertical` the same
4461−way and must also set `parallaxBackgroundSize` to have your values
4462−take effect.
4458+For the same image on every slide, use the configuration
4459+option `background-image` either in the YAML metadata block
4460+or as a command-line variable. (There are no other options in
4461+beamer and the rest of this section concerns reveal.js slideshows.)
44634462
4464−To set an image for a particular slide, add
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+
4468+To set an image for a particular reveal.js slide, add
44654469`{data-background-image="/path/to/image"}`
44664470to the first slide-level header on the slide (which may even be empty).
44674471
44684472In reveal.js's overview mode, the parallaxBackgroundImage will show up
44694473only on the first slide.
44704474
4471−Other background settings also work on individual slides, including
4475+Other reveal.js background settings also work on individual slides, including
44724476`data-background-size`, `data-background-repeat`, `data-background-color`,
44734477`data-transition`, and `data-transition-speed`.
44744478
@@ -4476,7 +4480,7 @@ See the [reveal.js
44764480documentation](https://github.com/hakimel/reveal.js#slide-backgrounds)
44774481for more details.
44784482
4479−For example:
4483+For example in reveal.js:
44804484
44814485```
44824486---