summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/dottex/example.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/dottex/example.tex')
-rw-r--r--Master/texmf-dist/doc/latex/dottex/example.tex6
1 files changed, 2 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/dottex/example.tex b/Master/texmf-dist/doc/latex/dottex/example.tex
index f697445aec4..a5a861f263d 100644
--- a/Master/texmf-dist/doc/latex/dottex/example.tex
+++ b/Master/texmf-dist/doc/latex/dottex/example.tex
@@ -1,18 +1,16 @@
\documentclass[a4paper]{article}
-\usepackage{dottex}
+\usepackage[pdf]{dottex}
\begin{document}
-\def\dotwidth{.5\textwidth}
-\begin{dotpic}
+\begin{dotpic}[width=.5\textwidth]
a -> b;
a -> c;
b -> d;
d -> a;
\end{dotpic}
-\def\dotwidth{.8\textwidth}
\begin{neatopic}
a -- b;
b -- c;