File:LuaTeX Output DE.svg
![File:LuaTeX Output DE.svg](https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/LuaTeX_Output_DE.svg/423px-LuaTeX_Output_DE.svg.png?20140119231722)
Size of this PNG preview of this SVG file: 423 × 599 pixels. Other resolutions: 169 × 240 pixels | 339 × 480 pixels | 543 × 768 pixels | 723 × 1,024 pixels | 1,447 × 2,048 pixels | 595 × 842 pixels.
Original file (SVG file, nominally 595 × 842 pixels, file size: 919 KB)
File information
Structured data
Captions
Captions
Add a one-line explanation of what this file represents
Summary
editDescriptionLuaTeX Output DE.svg |
Deutsch: Aussehen einer mit LuaTeX erstellten pdf-Datei nach dem Kompilieren des Quelltextes (deutschsprachige Version) |
Date | |
Source | self created using LuaTeX-0.76.0 from Source (see below) |
Author | svg from Lumu (talk) |
LuaTeX source
edit\documentclass[a4paper]{scrartcl}
\usepackage{polyglossia}
\setdefaultlanguage[spelling=new, babelshorthands=true]{german}
\usepackage{fontspec}
\usepackage{unicode-math}
\usepackage{luacode}
\setromanfont{Cambria}
\setsansfont{Calibri}
\setmonofont{Consolas}
\setmathfont{Cambria Math}
\title{Ein Testdokument}
\author{Otto Normalverbraucher}
\date{15. Januar 2014}
\begin{document}
\maketitle
\tableofcontents
\section{Schriftarten}
Mit Lua\TeX{} lassen sich in Windows die systemeigenen
Schriftarten verwenden, wie zum Beispiel Cambria, die über einen
großen Satz mathematischer Zeichen für die Formeldarstellung
verfügt, oder auch \textsf{Calibri} und \texttt{Consolas}.
\section{Formeln}
Lua\TeX{} ist auch ohne Formeln sehr nützlich und
einfach zu verwenden. Grafiken, Tabellen,
Querverweise aller Art, Literatur- und
Stichwortverzeichnis sind kein Problem.
Formeln sind etwas schwieriger, dennoch hier ein
einfaches Beispiel:
\begin{displaymath}
E = \frac{m_{0} c^{2}}{\sqrt{1-v^{2}/c^{2}}}
\end{displaymath}
\section{Lua-Code}
Lua\TeX{} kann aber auch Lua-Programmcode ausführen.
So erzeugt man zum Beispiel mit \texttt{directlua}
die Zufallszahl \directlua{tex.print(math.random())}.
Auch die Kreiszahl $π$ muss man nicht mehr auswendig
wissen, sie hat den Wert \directlua{tex.print(math.pi)}.
Mithilfe der \texttt{luacode}-Umgebung kann man sogar
zählen, wie hier bis Sechzig:
\begin{luacode}
for x=1,60 do
tex.print(x)
end
\end{luacode}
Hier ist der Schluss des Testdokuments.
\end{document}
Licensing
editPublic domainPublic domainfalsefalse |
![]() |
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 23:17, 19 January 2014 | ![]() | 595 × 842 (919 KB) | Lumu (talk | contribs) | Umlaute korrigiert |
22:06, 14 January 2014 | ![]() | 595 × 842 (919 KB) | Lumu (talk | contribs) |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on ar.wikipedia.org
- Usage on ca.wikipedia.org
- Usage on de.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on id.wikipedia.org
- Usage on it.wikipedia.org
- Usage on pl.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on www.wikidata.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 595.276px |
---|---|
Height | 841.89px |