summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/asyfig/example
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-24 16:44:01 +0000
committerKarl Berry <karl@freefriends.org>2009-06-24 16:44:01 +0000
commitc68f9012130bdc604769e59229abefc28ac1cf04 (patch)
treed94971f342c4ea8f9cbdcf4486ec1673bde87a16 /Master/texmf-dist/doc/latex/asyfig/example
parent4873be2e9722a5d9a95aa8edb9859d735853ab27 (diff)
new latex package asyfig (23jun09)
git-svn-id: svn://tug.org/texlive/trunk@13944 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/asyfig/example')
-rw-r--r--Master/texmf-dist/doc/latex/asyfig/example/frf.asy5
-rw-r--r--Master/texmf-dist/doc/latex/asyfig/example/test-asyfig.tex15
2 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/asyfig/example/frf.asy b/Master/texmf-dist/doc/latex/asyfig/example/frf.asy
new file mode 100644
index 00000000000..18cca920419
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/asyfig/example/frf.asy
@@ -0,0 +1,5 @@
+unitsize(10mm);
+draw( (0,0){right}..{up}(3,2){down}..
+ {down}(4,-2){up}..{right}(7,0) );
+draw( "Resonance" , align=E, (3,2) );
+draw( "Anti-resonance" , align=W, (4,-2) );
diff --git a/Master/texmf-dist/doc/latex/asyfig/example/test-asyfig.tex b/Master/texmf-dist/doc/latex/asyfig/example/test-asyfig.tex
new file mode 100644
index 00000000000..12034bf4f74
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/asyfig/example/test-asyfig.tex
@@ -0,0 +1,15 @@
+
+%% uncomment this to enable non-PDF mode:
+%\pdfoutput=0
+%% (rememer to delete asyfig_.tex if it's previously been generated for PDF mode)
+
+\documentclass[12pt,twocolumn]{article}
+\usepackage[sc]{mathpazo}
+\usepackage{asyfig}
+\begin{document}
+A boxed graphic:\\
+\fbox{\sffamily\asyfig{frf}}\par
+Note the font in the graphic follows
+the current font of the document.
+\end{document}
+