feature: add latex sources of drawings

This commit is contained in:
Matthias Jung
2026-01-31 18:45:15 +01:00
parent d650329417
commit 9baada3a50
781 changed files with 150903 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
% Author: Dr. Matthias Jung
% Year: 2022
\begin{tikzpicture}
\def\stripe#1#2{\draw[fill=#2,#2] ++(#1,0) +(-0.15,-0.51) rectangle +(0.15,0.51);}
% wire
\draw[fill=rsilver] (-3,-0.2) rectangle (3,0.2);
% resistor
\draw[rounded corners,fill=r]
++(0,0.5) -- ++(1.5,0) -- ++(0.2,0.2) -- ++(0.8,0)
.. controls +(0.2,-0.5) and +(0.2,0.5) .. ++(0,-1.4) -- ++(-0.8,0)
-- ++(-0.2,0.2) -- ++(-3,0) -- ++(-0.2,-0.2) -- ++(-0.8,0)
.. controls +(-0.2,0.5) and +(-0.2,-0.5) .. ++(0,1.4) -- ++(0.8,0)
-- ++(0.2,-0.2) -- cycle;
\stripe{-1.00}{ryellow}
\stripe{-0.33}{rviolet}
\stripe{ 0.33}{rorange}
\stripe{ 1.20}{rsilver}
\draw[rounded corners,very thick,black]
++(0,0.5) -- ++(1.5,0) -- ++(0.2,0.2) -- ++(0.8,0)
.. controls +(0.2,-0.5) and +(0.2,0.5) .. ++(0,-1.4) -- ++(-0.8,0)
-- ++(-0.2,0.2) -- ++(-3,0) -- ++(-0.2,-0.2) -- ++(-0.8,0)
.. controls +(-0.2,0.5) and +(-0.2,-0.5) .. ++(0,1.4) -- ++(0.8,0)
-- ++(0.2,-0.2) -- cycle;
\draw[thick](-1.00,-0.5) -- ++(0,-0.5) -- ++(-1.5,-1.0) node[below]{1. Ziffer};
\draw[thick](-0.33,-0.5) -- ++(0,-0.5) -- ++( 0.0,-1.0) node[below]{2. Ziffer};
\draw[thick]( 0.33,-0.5) -- ++(0,-0.5) -- ++( 1.5,-1.0) node[below]{Multiplikator};
\draw[thick]( 1.20, 0.5) -- ++(0, 0.5) -- ++(-1.5, 1.0) node[above]{Toleranz};
\end{tikzpicture}