summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.tex')
-rw-r--r--Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.tex48
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.tex b/Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.tex
new file mode 100644
index 00000000000..f57fb7c539d
--- /dev/null
+++ b/Master/texmf-dist/doc/lualatex/lua-visual-debug/lvdebug-doc.tex
@@ -0,0 +1,48 @@
+\documentclass{article}
+\usepackage{graphics}
+\newcommand\LuaLaTeX{Lua\LaTeX}
+
+\begin{document}
+\section{Documentation}
+
+When you load the package \texttt{lua-visual-debug} in your \LuaLaTeX\ document, \LaTeX\ will highlight boxes, penalties, glues and kerns in the PDF. This package requires you to process the document with \LuaLaTeX.
+
+\begin{verbatim}
+\documentclass{article}
+\usepackage{lua-visual-debug}
+
+\listfiles
+\setlength\textwidth{300pt}
+\setlength\textheight{10cm}
+
+\begin{document}
+
+A wonderful serenity has taken possession of my entire soul, like these sweet
+mornings of spring which I enjoy with my whole heart. I am alone, and feel the
+charm of existence in this spot, which was created for the bliss of souls like
+mine. I am so happy, my dear friend, so absorbed in the exquisite sense of mere
+tranquil existence, that I neglect my talents.
+
+
+\bgroup\fontsize{30}{34}\selectfont
+\centerline{\TeX}
+\egroup
+
+\vbox{\strut Hello}\kern .5cm\vbox{\strut World}
+
+\[ e=mc^2 \]
+
+\includegraphics[width=4cm]{cow}
+\end{document}
+\end{verbatim}
+
+yields \vspace{5mm}
+
+\noindent \includegraphics{lvdebug-sample.pdf}
+
+\section{Copying}
+
+Copyright 2012 Patrick Gundlach (patrick@gundla.ch), licensed under the MIT license. See the Lua file for details.
+
+
+\end{document}