| 1 |
%% |
| 2 |
%% This is file `cisym.mf', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% circ.dtx (with options: `csysym') |
| 8 |
%% CIRC is a LaTeX package to typeset circuit and optics diagrams. |
| 9 |
%% Copyright (C) 1997,1998,2003 Sebastian Tannert and Andreas Tille |
| 10 |
%% |
| 11 |
%% This program is free software; you can redistribute it and/or modify |
| 12 |
%% it under the terms of the GNU General Public License as published by |
| 13 |
%% the Free Software Foundation; either version 2 of the License, or |
| 14 |
%% (at your option) any later version. |
| 15 |
%% |
| 16 |
%% This program is distributed in the hope that it will be useful, |
| 17 |
%% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 |
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 |
%% GNU General Public License for more details. |
| 20 |
%% |
| 21 |
%% You should have received a copy of the GNU General Public License |
| 22 |
%% along with this program; if not, write to the Free Software |
| 23 |
%% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 24 |
%% |
| 25 |
%% For error reports concerning UNCHANGED versions of this file no |
| 26 |
%% more than one year old, see CIRC.DVI after installation. |
| 27 |
%% If installation fails search thru this file for 'bug'. |
| 28 |
input csym; |
| 29 |
designsize:=.5lLE#; |
| 30 |
|
| 31 |
def eqtriangle(expr l)= |
| 32 |
x1=x2=x0=x3-l; |
| 33 |
y3=y0; |
| 34 |
z1-z2=(z3-z2) rotated 60; |
| 35 |
enddef; |
| 36 |
|
| 37 |
def sinus(expr A, k, s) = |
| 38 |
j:=0; |
| 39 |
for i:=0 step s until 360: |
| 40 |
z[j]=(k*i,A*sind(i)); |
| 41 |
j:=j+1; |
| 42 |
endfor |
| 43 |
draw for i:=0 upto floor(360/s)-1: z[i].. endfor z[floor(360/s)]; |
| 44 |
enddef; |
| 45 |
|
| 46 |
def disarrow = |
| 47 |
z0=(0,0); |
| 48 |
x0=x1=x2; |
| 49 |
y1-y2=darr_ht; |
| 50 |
.5[z1,z2]=z0; |
| 51 |
y0=y3; |
| 52 |
x3-x0=darr_lt; |
| 53 |
pickup pensquare scaled normalline; |
| 54 |
draw z0--z3; |
| 55 |
draw z1--z2; |
| 56 |
triangle(z0,darr_rad,darr_phi,0); |
| 57 |
enddef; |
| 58 |
|
| 59 |
def trigger = |
| 60 |
z0=(0,0); |
| 61 |
x1=x2; x3=x4; |
| 62 |
y2=y4=y5; y0=y1=y3; |
| 63 |
x3-x1=.17sym; |
| 64 |
x1-x0=x5-x4=.3sym; |
| 65 |
y2-y1=sym; |
| 66 |
enddef; |
| 67 |
|
| 68 |
def impuls = |
| 69 |
z0=(0,0); |
| 70 |
y0=y1=y4=y5=y7=y8=y9; |
| 71 |
x1-x0=x3-x2=x5-x4=x8-x7=.6sym; |
| 72 |
x9-x0=x6-x2=.2sym; |
| 73 |
x1=x2; x3=x4; x6=x7; |
| 74 |
y2-y1=y3-y4=y6-y7=sym; |
| 75 |
x10=x0; y11=y10=y2; |
| 76 |
x11=x8; |
| 77 |
enddef; |
| 78 |
|
| 79 |
"Rechteckimpuls"; |
| 80 |
beginchar(1,1.9sym#,sym#,0); |
| 81 |
impuls |
| 82 |
pickup pensquare scaled normalline; |
| 83 |
draw z0--z1--z2--z3--z4--z5; |
| 84 |
endchar; |
| 85 |
|
| 86 |
"positive Flanke"; |
| 87 |
beginchar(2,1.3sym#,sym#,0); |
| 88 |
impuls |
| 89 |
pickup pensquare scaled normalline; |
| 90 |
draw z0--z1--z2--z3; |
| 91 |
endchar; |
| 92 |
|
| 93 |
"negative Flanke"; |
| 94 |
beginchar(3,1.3sym#,sym#,0); |
| 95 |
impuls |
| 96 |
pickup pensquare scaled normalline; |
| 97 |
draw (z2--z3--z4--z5) shifted (x0-x1,0); |
| 98 |
endchar; |
| 99 |
|
| 100 |
"Nadelimpuls"; |
| 101 |
beginchar(4,1.5sym#,sym#,0); |
| 102 |
impuls |
| 103 |
pickup pensquare scaled normalline; |
| 104 |
draw (z0--z1--z2--z6--z7--z8); |
| 105 |
endchar; |
| 106 |
|
| 107 |
"inverser Nadelimpuls"; |
| 108 |
beginchar(12,1.5sym#,sym#,0); |
| 109 |
impuls |
| 110 |
pickup pensquare scaled normalline; |
| 111 |
draw (z10--z2--z1--z7--z6--z11); |
| 112 |
endchar; |
| 113 |
|
| 114 |
"Rechteckspannung"; |
| 115 |
beginchar(5,3.1sym#,sym#,0); |
| 116 |
impuls |
| 117 |
pickup pensquare scaled normalline; |
| 118 |
draw z0--z1--z2--z3--z4--z5; |
| 119 |
draw (z0--z1--z2--z3--z4--z5) shifted z4; |
| 120 |
endchar; |
| 121 |
|
| 122 |
"Rechteckimpulse"; |
| 123 |
beginchar(13,2.6sym#,sym#,0); |
| 124 |
impuls |
| 125 |
pickup pensquare scaled normalline; |
| 126 |
draw z0--z1--z2--z6--z7--z8; |
| 127 |
draw (z0--z1--z2--z6--z7--z8) shifted z4; |
| 128 |
|
| 129 |
endchar; |
| 130 |
|
| 131 |
"S"&ditto&"agezahn"; |
| 132 |
beginchar(6,1.9sym#,sym#,0); |
| 133 |
impuls |
| 134 |
pickup pensquare scaled normalline; |
| 135 |
draw z0--z9--z3--z4--z5; |
| 136 |
endchar; |
| 137 |
|
| 138 |
"Trigger"; |
| 139 |
beginchar(7,.87sym#,sym#,0); |
| 140 |
trigger |
| 141 |
pickup pensquare scaled normalline; |
| 142 |
draw z0--z1--z2--z5; |
| 143 |
draw z1--z3--z4; |
| 144 |
endchar; |
| 145 |
|
| 146 |
"Abstandsst"&ditto&"uck"; |
| 147 |
fourchars(8)(disarrow)(z0)(.5darr_ht#,darr_lt#,.5darr_ht#); |
| 148 |
|
| 149 |
"sinus wave"; |
| 150 |
beginchar(16,1.6sym#,9/35*sym#,9/35*sym#); |
| 151 |
pickup pencircle scaled normalline; |
| 152 |
sinus(9/35*sym,1.6sym/360,45); |
| 153 |
endchar; |
| 154 |
|
| 155 |
"variable sinus wave"; |
| 156 |
beginchar(17,1.6sym#,9/35*sym#,9/35*sym#); |
| 157 |
pickup pencircle scaled normalline; |
| 158 |
sinus(9/35*sym,1.6sym/360,45); |
| 159 |
fillarrow((.8*sym,0),20/35*sym,15/35*sym,45,15/35*sym,15)(); |
| 160 |
endchar; |
| 161 |
|
| 162 |
"symbol of amplifier"; |
| 163 |
beginchar(24,cosd(30)*1.9sym#,.95sym#,.95sym#); |
| 164 |
z0=(0,0); |
| 165 |
eqtriangle(1.9sym); |
| 166 |
pickup pencircle scaled normalline; |
| 167 |
draw z1--z2--z3--cycle; |
| 168 |
endchar; |
| 169 |
|
| 170 |
"symbol of buffer"; |
| 171 |
beginchar(25,cosd(30)*1sym#,.5sym#,.5sym#); |
| 172 |
z0=(0,0); |
| 173 |
eqtriangle(1sym); |
| 174 |
pickup pencircle scaled normalline; |
| 175 |
draw z1--z2--z3--cycle; |
| 176 |
endchar; |
| 177 |
|
| 178 |
bye; |
| 179 |
%% |
| 180 |
%% |
| 181 |
%% End of file `cisym.mf'. |