summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/sfg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/sfg')
-rw-r--r--Master/texmf-dist/doc/latex/sfg/Changes4
-rw-r--r--Master/texmf-dist/doc/latex/sfg/README7
-rw-r--r--Master/texmf-dist/doc/latex/sfg/sfg_test.tex35
3 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/sfg/Changes b/Master/texmf-dist/doc/latex/sfg/Changes
new file mode 100644
index 00000000000..32dc83a528e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/sfg/Changes
@@ -0,0 +1,4 @@
+0.91 2007-08-22 - add LPPL license
+ - change \scalebox to \psscalebox to prevent
+ a conflict with package graphicx (hv)
+0.90 1998-07-19 first CTAN version (hps)
diff --git a/Master/texmf-dist/doc/latex/sfg/README b/Master/texmf-dist/doc/latex/sfg/README
new file mode 100644
index 00000000000..6c395602a26
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/sfg/README
@@ -0,0 +1,7 @@
+%@(#) sfg.sty: Signal flow graphs
+% This is the style file sfg.sty for drawing signal flow graphs in LaTeX2e.
+
+You'll find a short documentation at the end of the style file
+
+----
+hv 2007/08/22
diff --git a/Master/texmf-dist/doc/latex/sfg/sfg_test.tex b/Master/texmf-dist/doc/latex/sfg/sfg_test.tex
new file mode 100644
index 00000000000..f9a1cc2f3d5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/sfg/sfg_test.tex
@@ -0,0 +1,35 @@
+\documentclass[11pt,a4paper]{article}
+\usepackage{graphics,pstricks,sfg}
+\pagestyle{empty}
+\setlength{\parindent}{0pt}
+
+\begin{document}
+\sfgsetunit{0.5cm}
+\sfgsetsize{0.12}{0.4}{0.5}{0.3}
+\sfgsetcompass
+\begin{picture}(27,4)
+ % branches related to node 2
+ \put(6,2){\sfgbranch{3}{0}\S{$\frac{1}{R_1}$}}
+ \put(9,2){\sfgbranch{3}{0}\N{\boldmath $Z_2$}}
+ \put(18,2){\sfgcurve{-9}{0}{2}\S{$\frac{1}{R_2}$}}
+ \put(24,2){\sfgcurve{-15}{0}{-2}\N{$sC_1$}}
+ % branches related to node 3
+ \put(12,2){\sfgbranch{3}{0}\N{$\frac{1}{R_2}$}}
+ \put(15,2){\sfgbranch{3}{0}\N{\boldmath $Z_3$}}
+ % input, voltage gain, output
+ \put(0,2){\sfgcurve{6}{0}{2}\N{$1$}}
+ \put(18,2){\sfgcurve{6}{0}{-2}\S{$\alpha_{\mathrm{V}}$}}
+ \put(24,2){\sfgbranch{3}{0}\S{$1$}}
+ % nodes
+ \put(0,2){\sfgtermnode\S{$V_{\mathrm{in}}$}}
+ \put(3,2){\sfgnode\S{$I_1$}}
+ \put(6,2){\sfgnode\S{$V_1$}}
+ \put(9,2){\sfgnode\S{$I_2$}}
+ \put(12,2){\sfgnode\S{$V_2$}}
+ \put(15,2){\sfgnode\S{$I_3$}}
+ \put(18,2){\sfgnode\S{$V_3$}}
+ \put(21,2){\sfgnode\S{$I_4$}}
+ \put(24,2){\sfgnode\S{$V_4$}}
+ \put(27,2){\sfgtermnode\S{$V_{\mathrm{out}}$}}
+\end{picture}
+\end{document}