GNU TeXmacsUser manualReferenceAboutEnglish·Français
Traversal of a presentation

One major family of markup tags for presentations concerns the traversal of the document during a presentation. The keys F10 and F11 are used respectively for going back and forth in the presentation. The keys F9 and F12 are used to go to the start resp. end of the presentation. When using the beamer style or when enabling the “presentation tool” in the Tools menu, a Dynamic menu and additional icons will appear, which can also be used for the traversal of your presentation.

The most basic traversal tag is called a “switch”, and allows the user to show different pieces of text in successive and mutually exclusive manner. The entire presentation itself usually consists of a screens switch, where the pieces are the successive “slides” of the presentation. After selection of the beamer style, this switch can be inserted using Focus\(\rightarrow\)Screens or Insert\(\rightarrow\)Fold\(\rightarrow\)Switch\(\rightarrow\)Screens. You may jump from one screen to another one using ⇞ and ⇟.

Inside a switch, new “branches” can be inserted after or before the currently visible branch using Focus\(\rightarrow\)Insert argument after or Focus\(\rightarrow\)Insert argument before. Besides the screens switch, you may use Insert\(\rightarrow\)Fold\(\rightarrow\)Switch\(\rightarrow\)Standard to insert paragraph-wide switches, and Insert\(\rightarrow\)Fold\(\rightarrow\)Switch\(\rightarrow\)Tiny to insert inline switches (similarly to displayed and inline formulas).

Another popular way to traverse is presentation is to progressively unroll content. This can be done by inserting an unroll tag using Insert\(\rightarrow\)Fold\(\rightarrow\)Unroll. Using a “hack” this tag can be combined with the itemize and enumerate tags: first create the list environment, but remove the first (automatically inserted) item tag. Next insert the unroll tag. When pressing enter inside the unroll tag, new items are created; you still have to use Focus\(\rightarrow\)Insert argument after for inserting new branches to the unroll structure (in particular, several items could be unrolled at once).

A variant of unrolling is unfolding. This is basically an unroll tag with exactly two branches, but different variants are available in Insert\(\rightarrow\)Fold\(\rightarrow\)Folded depending on the desired rendering. In particular, some of the renderings display a button which may be pushed in order to fold or unfold some content. The input-output fields inside computer algebra sessions are also foldable. Similarly, the tags in Insert\(\rightarrow\)Fold\(\rightarrow\)Summarize are switches with two branches, again with different kinds of rendering.

When using TeXmacs in combination with an external plug-in, such as a computer algebra system, you will notice that all input-output fields in sessions are foldable. In addition, you can create so called “executable switches” using the items in the Insert\(\rightarrow\)Fold\(\rightarrow\)Executable submenu. This allows you to switch back and forth between a given input to the system and the corresponding output.

All markup for the traversal of presentations may be nested in a natural way. In the Insert\(\rightarrow\)Fold\(\rightarrow\)Traversal menu, you may specify whether unrolled and folded structures should be folded back after traversal.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".