summaryrefslogtreecommitdiff
path: root/macros/luatex/optex/demo
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/optex/demo')
-rw-r--r--macros/luatex/optex/demo/op-demo.tex30
-rw-r--r--macros/luatex/optex/demo/op-letter-cs.tex2
-rw-r--r--macros/luatex/optex/demo/op-letter-en.tex2
-rw-r--r--macros/luatex/optex/demo/op-slides.tex74
4 files changed, 54 insertions, 54 deletions
diff --git a/macros/luatex/optex/demo/op-demo.tex b/macros/luatex/optex/demo/op-demo.tex
index ea1dd5b65d..c116682e59 100644
--- a/macros/luatex/optex/demo/op-demo.tex
+++ b/macros/luatex/optex/demo/op-demo.tex
@@ -1,4 +1,4 @@
-%% This is part of OpTeX project, see http://petr.olsak.net/optex
+%% This is part of the OpTeX project, see http://petr.olsak.net/optex
\fontfam[LMfonts] % Default font family: Latin Modern
@@ -8,7 +8,7 @@
\hyperlinks \Blue\Blue % active hyperlinks
\activettchar` % in-text verbatim by `...`
\everyintt={\Red} % in-text verbatim Red
-\enquotes % use \"text" for English quotation
+\enquotes % use \"text" for English quotation
\tit Demonstration
@@ -37,7 +37,7 @@ The subsection text\dots
\sec References
-There is a numbered equation.
+There is a numbered equation.
The number is auto-generated by `\eqmark` sequence.
$$\label[my-eq]
a^2 + b^2 = c^2 \eqmark
@@ -53,17 +53,17 @@ is on page~\pgref[my-pic].
You can refer to \url{http://petr.olsak.net} using `\url`.
Or use `\ulink` if the raw URL needs to be hidden:
\ulink[http://petr.olsak.net/optex]{\OpTeX/ page}.
-The parameter text is colorized and it becomes
+The parameter text is colorized and it becomes
an active link if the `\hyperlinks` sequence
is used at the beginning of the document.
Internal links are activated too.
-\sec[tab-sec] Tables
+\sec[tab-sec] Tables
-The `\table` sequence can be used
+The `\table` sequence can be used
instead of \"low level" `\halign`.
-The following table is framed by `\frame` sequence
-in order to get a double frame.
+The following table is framed by the `\frame` sequence
+to get a double frame.
\bigskip
\caption/t [my-tab] Testing table.
@@ -76,8 +76,8 @@ in order to get a double frame.
\sec Images
-The images (PDF, JPG, PNG, TIFF) can be inserted
-by `\inspic` sequence. The `\caption`
+The images (PDF, JPG, PNG, TIFF) can be inserted
+by `\inspic` sequence. The `\caption`
can be added if you need to refer to a figure.
\label[my-pic]
@@ -95,7 +95,7 @@ by `\begtt` and `\endtt` sequences
This is verbatim.
All characters are printed $$, \, # etc.
\endtt
-or it can be included by `\verbinput` from external file.
+or it can be included by `\verbinput` from an external file.
\verbinput (98-100) op-demo.tex
@@ -106,7 +106,7 @@ The Math alphabets
are provided. For example:
$$
{\bi A} = \pmatrix {\cal C & \script C \cr
- \frak M & \bbchar R }.
+ \frak M & \bbchar R }.
$$
Hundreds of AMS symbols are available:
$\sphericalangle, \boxplus, \Cup, \Cap, \ldots$
@@ -117,11 +117,11 @@ The `\fontfam` command selects a desired family of fonts.
The `\typosize` or `\typoscale` sequences set the size
and baselineskip of used fonts (including math fonts).
The `\fnote` generates a footnote\fnote{Like this} and
-`\mnote` generates a margin note.
+`\mnote` generates a margin note.
The `\margins` sets margins and paper dimensions.
The `\cite` sequence can be used for bibliographic citations.
-The `\bib` sequence creates one bibliography record. Or
-you can use `\usebib` for direct access to the {\tt.bib} files.
+The `\bib` sequence creates one bibliography record. Or
+you can use `\usebib` for direct access to the {\tt.bib} files.
The list of features does not end here\dots
\bye
diff --git a/macros/luatex/optex/demo/op-letter-cs.tex b/macros/luatex/optex/demo/op-letter-cs.tex
index 1b5d722d3b..b6883cb74c 100644
--- a/macros/luatex/optex/demo/op-letter-cs.tex
+++ b/macros/luatex/optex/demo/op-letter-cs.tex
@@ -1,4 +1,4 @@
-%% This is part of OpTeX project, see http://petr.olsak.net/optex
+%% This is part of the OpTeX project, see http://petr.olsak.net/optex
\letter % \letter OpTeX style activated
\fontfam[bonum]
diff --git a/macros/luatex/optex/demo/op-letter-en.tex b/macros/luatex/optex/demo/op-letter-en.tex
index a7f19c43d4..0154e48c01 100644
--- a/macros/luatex/optex/demo/op-letter-en.tex
+++ b/macros/luatex/optex/demo/op-letter-en.tex
@@ -1,4 +1,4 @@
-%% This is part of OpTeX project, see http://petr.olsak.net/optex
+%% This is part of the OpTeX project, see http://petr.olsak.net/optex
\useOpTeX
\letter % \letter OpTeX style activated
diff --git a/macros/luatex/optex/demo/op-slides.tex b/macros/luatex/optex/demo/op-slides.tex
index c46a337524..8c9bca24fc 100644
--- a/macros/luatex/optex/demo/op-slides.tex
+++ b/macros/luatex/optex/demo/op-slides.tex
@@ -1,4 +1,4 @@
-%% This is part of OpTeX project, see http://petr.olsak.net/optex
+%% This is part of the OpTeX project, see http://petr.olsak.net/optex
\slides % OpTeX slides style activated
@@ -27,7 +27,7 @@
* The the simple document looks like:
-\begtt
+\begtt
\slides % style initialized
%\wideformat % 16:9
\slideshow % partially uncovering ideas
@@ -41,12 +41,12 @@ text
\pg.
\endtt
-* If `\slideshow` is missing or commented out then
- \"partially uncovering ideas" (see later) are deactivated. It is useful
+* If `\slideshow` is missing or commented out then
+ \"partially uncovering ideas" (see later) are deactivated. It is useful
for printing.
* The `\slideshow` must be the last command in the declaration part of the
document.
-* By default, the slides have A5 landscape format.
+* By default, the slides have A5 landscape format.
You can declare `\wideformat`. Then the height is the same
but width is 263\,mm, i.\,e.~the ratio width:height is 16:9.
@@ -58,31 +58,31 @@ text
by `\tit Title` (terminated by end of line).
* The `\subtit Author name etc.`\ (terminated by end of line)
can be used after `\tit` at the first slide.
-* You can use `\nl` for new line in paragraphs or titles.
+* You can use `\nl` for a new line in paragraphs or titles.
\sec Default design
* The paragraph texts are ragged right.
-* Titles, subtitles and section titles are centered.
+* Titles, subtitles, and section titles are centered.
* The `\sec` and `\secc` are printed without numbers.
* No paragraph indentation, a little vertical space between paragraphs.
-* The Heros font family (aka Helvetica) is initialized as default.\nl
+* The Heros font family (aka Helvetica) is initialized as default.\nl
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` ).
+* The items in lists are started by a blue square (`\type X` and `\type x` ).
\pg; %------------------------------------------------------------------
\sec One slide (one page)
-* Top level item list is activated by default. The asterisk `*` opens
- new item at the top level list.
+* Top-level item list is activated by default. The asterisk `*` opens
+ new item at the top-level list.
* Nested items lists (second and more level) should be created in
the `\begitems`\dots`\enditems` environments.
* Each slide (page) must be terminated by `\pg;` command.
* The last slide must be terminated by `\pg.` command or by `\bye`.
-\begtt
+\begtt
\sec My ideas
* First idea
@@ -94,7 +94,7 @@ text
* Final idea
\endtt
-* Note: each page is processed in a group, so: put your own definitions
+* Note: each page is processed in a group, so: put your own definitions
(if~exist) before `\slideshow` or use `\global` assignment.
\pg; %------------------------------------------------------------------
@@ -106,14 +106,14 @@ text
* the character `;` -- normal next page,\pg+
* the character `.` -- the end of the document,\pg+
* the character `+` -- next page keeps the same text
- and a next text is added (usable for partially uncovering of ideas).\pg+
+ and a next text is added (usable for partially uncovering of ideas).\pg+
\enditems
* Summary:
\begtt
\pg; ... next page
\pg. ... the end of the document
-\pg+ ... uncover next text at the same page
+\pg+ ... uncover next text on the same page
\endtt
\pg+
@@ -140,9 +140,9 @@ The previous page was created by:
* Summary
...
-* When `\slideshow` is not declared
+* When `\slideshow` is not declared
then `\pg+` is deactivated.\pg+
-* The `\pg+` creates a new \"virtual page",
+* The `\pg+` creates a new \"virtual page",
so the current paragraph is terminated.
\pg;
\endtt
@@ -151,16 +151,16 @@ The previous page was created by:
\sec Notes
-* When `\slideshow` is active then you cannot reference sections by
+* When `\slideshow` is active then you cannot reference sections by
hyperlinked `\ref`. Only `\pgref` works (and goes to the last layer
of the referenced page).
* If the text overfull the page (slide) then it follows to the next page without
- saying explicitly `\pg;`. But `\slideshow` cannot work in such case.\pg+
+ saying explicitly `\pg;`. But `\slideshow` cannot work in this case.\pg+
\sec More about design
-* You can use `\backgroundpic{<image-file>}` for putting an image to the backgroud.
-* You can re-declare `\footline` or re-define internal macros for design as
+* You can use `\backgroundpic{<image-file>}` for putting an image to the background.
+* You can re-declare `\footline` or re-define internal macros for design as
you wish.
* You can put the images or text wherever using `\putimege` or `\puttext`
macros...
@@ -182,14 +182,14 @@ The previous page was created by:
prints red HELLO, as shown here.\pg+
* `\putpic <right> <up> <width> <height> {<image-file>}`
- puts the image with desired <width> and <height> at the position like
+ puts the image with desired <width> and <height> at the position like
`\puttext` puts the text.
\putpic .8\hsize 20mm 30mm \nospec {op-ring.png}
-* The ring above is the result of
+* The ring above is the result of
\begtt
-\putpic .8\hsize 20mm 30mm \nospec {op-ring.png}
+\putpic .8\hsize 20mm 30mm \nospec {op-ring.png}
\endtt
%
used at beginning of this paragraph.\pg+
@@ -204,22 +204,22 @@ The previous page was created by:
a~group.
* The exception is the nested environment `\begitems...\enditems`.
* The `\pg+` always finalizes the current paragraph.
- It is impossible to hide only a part of horizontal mode.\pg+
+ It is impossible to hide only a part of the horizontal mode.\pg+
\sec The \code{\\layers}\,...\code{\\endlayers} environment
-If you really need something unsupported by `\pg+` then you can use
+If you really need something unsupported by `\pg+` then you can use
\begtt \catcode`\<=13
\layers <number>
<layered text>
\endlayers
-\endtt
+\endtt
* The <layered text> should include conditions like
- `\ifnum\layernum...` or `\ifcase\layernum`.
+ `\ifnum\layernum...` or `\ifcase\layernum`.
It is printed <number> times to more slide pages (layers) with the same
- surrounding text. See next page...
+ surrounding text. See next page...
\pg; %------------------------------------------------------------------
@@ -240,7 +240,7 @@ The transparent (invisible) text is used in other cases.
The following dance:
\layers 3
-{\pshow2 Second text.} {\pshow3 Third text.} {\pshow1 First text.}
+{\pshow2 Second text.} {\pshow3 Third text.} {\pshow1 First text.}
\endlayers
\pg+
@@ -248,13 +248,13 @@ was generated by
\begtt
\layers 3
-{\pshow2 Second text.} {\pshow3 Third text.} {\pshow1 First text.}
+{\pshow2 Second text.} {\pshow3 Third text.} {\pshow1 First text.}
\endlayers
\endtt
\pg+
-* The <layered text> is treated as macro parameter. So, you cannot use verbatim
- nor `\sec` titles here. Maximal one `\layers` environment can be per one
+* The <layered text> is treated as a macro parameter. So, you cannot use verbatim
+ nor `\sec` titles here. Maximal one `\layers` environment can be per one
page (terminated by `\pg+` or `\pg;` or `\pg.`
\pg; %------------------------------------------------------------------
@@ -264,15 +264,15 @@ was generated by
The \LaTeX{} package {\bf\Blue Beamer} gives much more features and many themes
are prepared for Beamer, {\bf\Red but}
\pg+
-* the user of Beamer is forced to {\em program} his/her document using
+* the user of Beamer is forced to {\em program} his/her document using
dozens of \code{\\begin{foo}} and \code{\\end{foo}} and many another
programming constructions,\pg+
-* plain \TeX{} gives you a possibility to simply
+* plain \TeX{} gives you a possibility to simply
{\em write} your document with minimal markup. The result is more compact.
- You can concentrate to the contents of your document, not to the
+ You can concentrate on the contents of your document, not on the
programming syntax.\pg+
* User needs to read 250 pages of doc for understanding Beamer,\pg+
-* on the other hand, you need to read only ten
+* on the other hand, you need to read only ten
slides\fnote{this eleventh slide isn't counted}
and you are ready to use {\bf\Blue\OpTeX/ slides}.