summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/context/third/circuitikz/t-circuitikz.tex4
-rw-r--r--Master/texmf-dist/tex/generic/circuitikz/pgfcirc.defines.tex9
-rw-r--r--Master/texmf-dist/tex/generic/circuitikz/pgfcirctripoles.tex73
-rw-r--r--Master/texmf-dist/tex/latex/circuitikz/circuitikz.sty4
4 files changed, 86 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/context/third/circuitikz/t-circuitikz.tex b/Master/texmf-dist/tex/context/third/circuitikz/t-circuitikz.tex
index f3984d02ee0..ac8bbf4296a 100644
--- a/Master/texmf-dist/tex/context/third/circuitikz/t-circuitikz.tex
+++ b/Master/texmf-dist/tex/context/third/circuitikz/t-circuitikz.tex
@@ -10,8 +10,8 @@
%
% See the files gpl-3.0_license.txt and lppl-1-3c_license.txt for more details.
-\def\pgfcircversion{1.0.1}
-\def\pgfcircversiondate{2020/02/22}
+\def\pgfcircversion{1.0.2}
+\def\pgfcircversiondate{2020/03/22}
\writestatus{loading}{\pgfcircversiondate{} The CircuiTikz circuit drawing package version \pgfcircversion}
\usemodule[tikz]
diff --git a/Master/texmf-dist/tex/generic/circuitikz/pgfcirc.defines.tex b/Master/texmf-dist/tex/generic/circuitikz/pgfcirc.defines.tex
index ae0f8ee6426..ad86e496271 100644
--- a/Master/texmf-dist/tex/generic/circuitikz/pgfcirc.defines.tex
+++ b/Master/texmf-dist/tex/generic/circuitikz/pgfcirc.defines.tex
@@ -801,6 +801,15 @@
\pgfkeys{/tikz/nobase/.add code={}{\pgf@circuit@bpt@drawgatefalse}}
\ctikzset{nobase/.add code={}{\pgf@circuit@bpt@drawgatefalse}}
+% Option draw bpt with schottky base
+\newif\ifpgf@circuit@bpt@schottky
+\pgf@circuit@bpt@schottkyfalse
+\pgfkeys{/tikz/schottky base/.add code={}{\pgf@circuit@bpt@schottkytrue}}
+\ctikzset{schottky base/.add code={}{\pgf@circuit@bpt@schottkytrue}}
+\pgfkeys{/tikz/no schottky base/.add code={}{\pgf@circuit@bpt@schottkyfalse}}
+\ctikzset{no schottky base/.add code={}{\pgf@circuit@bpt@schottkyfalse}}
+\ctikzset{tripoles/schottky base size/.initial=0.07}
+
% Option draw bpt without base connection
\newif\ifpgf@circuit@bpt@drawbase
\pgf@circuit@bpt@drawbasetrue
diff --git a/Master/texmf-dist/tex/generic/circuitikz/pgfcirctripoles.tex b/Master/texmf-dist/tex/generic/circuitikz/pgfcirctripoles.tex
index 9957fdee5af..672cbf78b03 100644
--- a/Master/texmf-dist/tex/generic/circuitikz/pgfcirctripoles.tex
+++ b/Master/texmf-dist/tex/generic/circuitikz/pgfcirctripoles.tex
@@ -1699,6 +1699,7 @@
{\ctikzvalof{tripoles/#1/base height 2}\pgf@circ@res@up}}
\pgfusepath{draw}
+ % drawing base
\pgfscope
\pgfpathmoveto{\pgfpoint
{\ctikzvalof{tripoles/#1/base width}\pgf@circ@res@left}
@@ -1707,6 +1708,42 @@
{\ctikzvalof{tripoles/#1/base width}\pgf@circ@res@left}
{\ctikzvalof{tripoles/#1/base height}\pgf@circ@res@down}}
\pgf@circ@setlinewidth{tripoles}{\pgflinewidth}
+ \ifpgf@circuit@bpt@schottky
+ % upper
+ \pgfpathmoveto{\pgfpoint
+ {\ctikzvalof{tripoles/#1/base width}\pgf@circ@res@left}
+ {\ctikzvalof{tripoles/#1/base height}\pgf@circ@res@up}}
+ \pgfpathlineto{\pgfpoint
+ {\ctikzvalof{tripoles/#1/base width}\pgf@circ@res@left}
+ {\ctikzvalof{tripoles/#1/base height}\pgf@circ@res@up+
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}}
+ \pgfpathlineto{\pgfpoint
+ {\ctikzvalof{tripoles/#1/base width}\pgf@circ@res@left+
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}
+ {\ctikzvalof{tripoles/#1/base height}\pgf@circ@res@up+
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}}
+ \pgfpathlineto{\pgfpoint
+ {\ctikzvalof{tripoles/#1/base width}\pgf@circ@res@left+
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}
+ {\ctikzvalof{tripoles/#1/base height}\pgf@circ@res@up}}
+ % % lower
+ \pgfpathmoveto{\pgfpoint
+ {\ctikzvalof{tripoles/#1/base width}\pgf@circ@res@left}
+ {\ctikzvalof{tripoles/#1/base height}\pgf@circ@res@down}}
+ \pgfpathlineto{\pgfpoint
+ {\ctikzvalof{tripoles/#1/base width}\pgf@circ@res@left}
+ {\ctikzvalof{tripoles/#1/base height}\pgf@circ@res@down-
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}}
+ \pgfpathlineto{\pgfpoint
+ {\ctikzvalof{tripoles/#1/base width}\pgf@circ@res@left-
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}
+ {\ctikzvalof{tripoles/#1/base height}\pgf@circ@res@down-
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}}
+ \pgfpathlineto{\pgfpoint
+ {\ctikzvalof{tripoles/#1/base width}\pgf@circ@res@left-
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}
+ {\ctikzvalof{tripoles/#1/base height}\pgf@circ@res@down}}
+ \fi
\pgfusepath{draw}
\endpgfscope
@@ -2027,6 +2064,42 @@
{\ctikzvalof{tripoles/bjt/base width}\pgf@circ@res@left}
{\ctikzvalof{tripoles/bjt/base height}\pgf@circ@res@down-(\numdown-1)*\multistep}}
\pgf@circ@setlinewidth{tripoles}{\pgflinewidth}
+ \ifpgf@circuit@bpt@schottky
+ % upper
+ \pgfpathmoveto{\pgfpoint
+ {\ctikzvalof{tripoles/bjt/base width}\pgf@circ@res@left}
+ {\ctikzvalof{tripoles/bjt/base height}\pgf@circ@res@up+(\numup-1)*\multistep}}
+ \pgfpathlineto{\pgfpoint
+ {\ctikzvalof{tripoles/bjt/base width}\pgf@circ@res@left}
+ {\ctikzvalof{tripoles/bjt/base height}\pgf@circ@res@up+(\numup-1)*\multistep+
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}}
+ \pgfpathlineto{\pgfpoint
+ {\ctikzvalof{tripoles/bjt/base width}\pgf@circ@res@left+
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}
+ {\ctikzvalof{tripoles/bjt/base height}\pgf@circ@res@up+(\numup-1)*\multistep+
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}}
+ \pgfpathlineto{\pgfpoint
+ {\ctikzvalof{tripoles/bjt/base width}\pgf@circ@res@left+
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}
+ {\ctikzvalof{tripoles/bjt/base height}\pgf@circ@res@up+(\numup-1)*\multistep}}
+ % lower
+ \pgfpathmoveto{\pgfpoint
+ {\ctikzvalof{tripoles/bjt/base width}\pgf@circ@res@left}
+ {\ctikzvalof{tripoles/bjt/base height}\pgf@circ@res@down-(\numdown-1)*\multistep}}
+ \pgfpathlineto{\pgfpoint
+ {\ctikzvalof{tripoles/bjt/base width}\pgf@circ@res@left}
+ {\ctikzvalof{tripoles/bjt/base height}\pgf@circ@res@down-(\numdown-1)*\multistep-
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}}
+ \pgfpathlineto{\pgfpoint
+ {\ctikzvalof{tripoles/bjt/base width}\pgf@circ@res@left-
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}
+ {\ctikzvalof{tripoles/bjt/base height}\pgf@circ@res@down-(\numdown-1)*\multistep-
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}}
+ \pgfpathlineto{\pgfpoint
+ {\ctikzvalof{tripoles/bjt/base width}\pgf@circ@res@left-
+ \ctikzvalof{tripoles/schottky base size}\pgf@circ@scaled@Rlen}
+ {\ctikzvalof{tripoles/bjt/base height}\pgf@circ@res@down-(\numdown-1)*\multistep}}
+ \fi
\pgfsetroundcap % I like it more...
\pgfusepath{draw}
\endpgfscope
diff --git a/Master/texmf-dist/tex/latex/circuitikz/circuitikz.sty b/Master/texmf-dist/tex/latex/circuitikz/circuitikz.sty
index 0460d13c900..74d8e070ba5 100644
--- a/Master/texmf-dist/tex/latex/circuitikz/circuitikz.sty
+++ b/Master/texmf-dist/tex/latex/circuitikz/circuitikz.sty
@@ -12,8 +12,8 @@
\NeedsTeXFormat{LaTeX2e}
-\def\pgfcircversion{1.0.1}
-\def\pgfcircversiondate{2020/02/22}
+\def\pgfcircversion{1.0.2}
+\def\pgfcircversiondate{2020/03/22}
\ProvidesPackage{circuitikz}%
[\pgfcircversiondate{} The CircuiTikz circuit drawing package version \pgfcircversion]