summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex/luaintro/01-02-16.lualtx3
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/luatex/luaintro/01-02-16.lualtx3')
-rw-r--r--Master/texmf-dist/doc/luatex/luaintro/01-02-16.lualtx331
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/luatex/luaintro/01-02-16.lualtx3 b/Master/texmf-dist/doc/luatex/luaintro/01-02-16.lualtx3
new file mode 100644
index 00000000000..4095a7da586
--- /dev/null
+++ b/Master/texmf-dist/doc/luatex/luaintro/01-02-16.lualtx3
@@ -0,0 +1,31 @@
+%%
+%% Ein Beispiel der DANTE-Edition
+%%
+%% 1. Auflage
+%%
+%% Beispiel 01-02-16 auf Seite 16.
+%%
+%% Copyright (C) 2013 Herbert Voss
+%%
+%% It may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%%
+%% See http://www.latex-project.org/lppl.txt for details.
+%%
+%%
+%% ====
+\nopagenumbers
+%StartShownPreambleCommands
+
+%StopShownPreambleCommands
+\relax
+\def\Pyth{Pythagoras}
+\directlua{
+ local P="\Pyth";
+ local A=3.001;
+ local Sim="\approx";
+ local B=4;
+ tex.print("$a^2+b^2"..Sim.."$"..(A^2+B^2)..P)}
+ \char007 $\char007$
+\bye