From c279a2d332563489dd747a33a2cda3980b585641 Mon Sep 17 00:00:00 2001 From: John Muccigrosso Date: Tue, 31 Jul 2018 11:36:35 -0700 Subject: MANUAL: Add beamer info for slide backgrounds (#4802) --- MANUAL.txt | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index be7d8ab31..759050023 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -4449,26 +4449,30 @@ the [Beamer User's Guide] may also be used: `allowdisplaybreaks`, `allowframebreaks`, `b`, `c`, `t`, `environment`, `label`, `plain`, `shrink`, `standout`, `noframenumbering`. -Background in reveal.js ------------------------ +Background in reveal.js and beamer +---------------------------------- -Background images can be added to self-contained reveal.js slideshows. +Background images can be added to self-contained reveal.js slideshows and +to beamer slideshows. -For the same image on every slide, use the reveal.js configuration -option `parallaxBackgroundImage` either in the YAML metadata block -or as a command-line variable. You can also set -`parallaxBackgroundHorizontal` and `parallaxBackgroundVertical` the same -way and must also set `parallaxBackgroundSize` to have your values -take effect. +For the same image on every slide, use the configuration +option `background-image` either in the YAML metadata block +or as a command-line variable. (There are no other options in +beamer and the rest of this section concerns reveal.js slideshows.) -To set an image for a particular slide, add +For reveal.js, you can instead use the reveal.js-native option +`parallaxBackgroundImage`. You can also set `parallaxBackgroundHorizontal` +and `parallaxBackgroundVertical` the same way and must also set +`parallaxBackgroundSize` to have your values take effect. + +To set an image for a particular reveal.js slide, add `{data-background-image="/path/to/image"}` to the first slide-level header on the slide (which may even be empty). In reveal.js's overview mode, the parallaxBackgroundImage will show up only on the first slide. -Other background settings also work on individual slides, including +Other reveal.js background settings also work on individual slides, including `data-background-size`, `data-background-repeat`, `data-background-color`, `data-transition`, and `data-transition-speed`. @@ -4476,7 +4480,7 @@ See the [reveal.js documentation](https://github.com/hakimel/reveal.js#slide-backgrounds) for more details. -For example: +For example in reveal.js: ``` --- -- cgit v1.2.3