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.tex24
1 files changed, 24 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/dottex/example.tex b/Master/texmf-dist/doc/latex/dottex/example.tex
new file mode 100644
index 00000000000..f697445aec4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/dottex/example.tex
@@ -0,0 +1,24 @@
+\documentclass[a4paper]{article}
+
+\usepackage{dottex}
+
+\begin{document}
+
+\def\dotwidth{.5\textwidth}
+\begin{dotpic}
+ a -> b;
+ a -> c;
+ b -> d;
+ d -> a;
+\end{dotpic}
+
+\def\dotwidth{.8\textwidth}
+\begin{neatopic}
+ a -- b;
+ b -- c;
+ a -- g;
+ e -- f;
+ g -- c;
+\end{neatopic}
+
+\end{document}