## Section43.5Reveal.js Slideshow Options

See Section 33.1 for a more general overview of this conversion.

### Subsection43.5.1Reveal.js Appearance

The

/publication/revealjs/appearance


element can have the following attribute:

• @theme: the base name of a file that is a reveal.js theme. For example if the desired theme/CSS file is css/theme/solarized.css, then set the value of this attribute to solarized.

### Subsection43.5.2Reveal.js Controls

The

/publication/revealjs/controls


element can have the following attributes:

• @backarrow: for the visibility of a “back” arrow. Values are faded, hidden, or visible. The default is faded.

• @display: for the overall visibility of controls. Values are yes or no. The default is yes.

• @layout: for the location of the controls. Values are edges or bottom-right. The default is bottom-right.

• @tutorial: for animation of suggested navigation arrows. Values are yes or no. The default is yes.

The

/publication/revealjs/navigation


element can have the following attribute:

• @mode: for the arrangement of the navigation through slides. Values are default, linear, or grid. The default is default. The value default refers to the default mode of Reveal.js and is synonomous with grid. In other words, the choice of default or grid results in identical behavior.

See Section 33.1 for more explanation of the two different navigation modes.

### Subsection43.5.4Reveal.js Resources

You may wish to host the reveal.js CSS and javascript files locally or obtain them online. Be sure to read in Section 33.1 about the necessity of providing the complete MathJax library Section 33.1 if your document has mathematics and you opt for local resources.

The

/publication/revealjs/resources


element can have the following attributes:

• @host: The values local and cdn will retrieve various Javascript and CSS files (such as the theme) relative to the slideshow HTML file or from an online Content Delivery Network (respectively). PreTeXt will maintain a link to a current, updated, CDN version and this will change without notice. This attribute may be given a URL or a local path, though this has not been tested, so should be considered experimental.