summaryrefslogtreecommitdiff
path: root/graphics/pictex-addons/autoarea/autodemo/autodemo.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pictex-addons/autoarea/autodemo/autodemo.tex')
-rw-r--r--graphics/pictex-addons/autoarea/autodemo/autodemo.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/pictex-addons/autoarea/autodemo/autodemo.tex b/graphics/pictex-addons/autoarea/autodemo/autodemo.tex
new file mode 100644
index 0000000000..e033f3ff52
--- /dev/null
+++ b/graphics/pictex-addons/autoarea/autodemo/autodemo.tex
@@ -0,0 +1,17 @@
+\ProvidesFile{autodemo.tex}[2008/04/19 common sample for autoarea.sty]
+\documentclass[12pt]{article}
+\usepackage{pictex,lipsum}
+\autouse
+\pagestyle{plain}
+\renewcommand{\thepage}{\bfseries \sffamily \autofoot}
+\nofiles
+\begin{document}
+\lipsum[1]
+\[\beginpicture
+\setcoordinatesystem units <1mm,1mm> point at 0 0
+% \setplotarea x from -35 to 35, y from -35 to 35 %% compare to autoarea.sty
+\circulararc 360 degrees from 0 35 center at 0 0
+\put {\textbf{\itshape X}} at -20 20
+\endpicture\]
+\lipsum[2]
+\end{document}