summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/demo/op-slides.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/demo/op-slides.tex')
-rw-r--r--macros/luatex/optex/demo/op-slides.tex7
1 files changed, 4 insertions, 3 deletions
diff --git a/macros/luatex/optex/demo/op-slides.tex b/macros/luatex/optex/demo/op-slides.tex
index a7c40a854c..c46a337524 100644
--- a/macros/luatex/optex/demo/op-slides.tex
+++ b/macros/luatex/optex/demo/op-slides.tex
@@ -65,10 +65,10 @@ text
* The paragraph texts are ragged right.
* Titles, subtitles and section titles are centered.
* The `\sec` and `\secc` are printed without numbers.
-* Paragraph indentation is zero. There is a little vertical space between
- paragraphs.
+* No paragraph indentation, a little vertical space between paragraphs.
* The Heros font family (aka Helvetica) is initialized as default.\nl
- Sans-serif FiraMath font for math typesetting is used.
+ Sans-serif FiraMath font for math typesetting is used.\nl
+ If `\fontfam[<famname>]` precedes `\slides` then it rewrites default.
* The items in lists are started by blue square (`\type X` and `\type x` ).
\pg; %------------------------------------------------------------------
@@ -232,6 +232,7 @@ partially show):
\def\use#1#2{\ifnum\layernum#1\relax#2\fi}
\def\pshow#1{\use{=#1}\Red \use{<#1}\Transparent \ignorespaces}
\endtt
+`\use{=3}{do something}` does something only if `\layernum=3`.
The `{\pshow<num> <text>}` prints <text> in Red when current layer is equal
to <num> or it prints <text> normally when current layers is greater than <num>.