diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-04 22:30:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-04 22:30:53 +0000 |
commit | 2826ceba9c796e6ec935ff71098328b0042b3ff3 (patch) | |
tree | 254ae6dcd883e55308b733164f8e0445590e3ea6 /Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg | |
parent | 3886457c768d0a6fd86ca3aa7139026e39ef5724 (diff) |
tkz-base (4jan22)
git-svn-id: svn://tug.org/texlive/trunk@61495 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg')
-rw-r--r-- | Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg | 49 |
1 files changed, 38 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg b/Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg index fbab54e1371..d28fc66d97a 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg @@ -1,5 +1,5 @@ % tkz-base.cfg -% Copyright 2020 Alain Matthes +% Copyright 2022 Alain Matthes % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 % of this license or (at your option) any later version. @@ -16,10 +16,10 @@ % and save the file in a directory part of your TEXINPUTS environment % variable. -%utf8 encoding -\def\fileversion{3.06c} -\def\filedate{2020/03/18} -\typeout{2020/03/18 3.06c tkz-base.cfg} +\def\fileversion{4.00} +\def\filedate{2022/01/04} +\typeout{2022/01/04 4.00 tkz-base.cfg} +%<------ colors ---------------------------------------–> %<------ colors ---------------------------------------–> \def\tkz@backgroundcolor{white} \def\tkz@textcolor{black} @@ -46,7 +46,7 @@ \def\tkz@euc@pointshape{circle} \def\tkz@euc@pointcolor{\tkz@mainlinecolor} \def\tkz@euc@labelcolor{\tkz@mainlinecolor} -\def\tkz@euc@pointsize{3 pt} +\def\tkz@euc@pointsize{3} \def\tkz@euc@pointpos{below right} \def\tkz@euc@segmentcolor{\tkz@mainlinecolor} \def\tkz@euc@circlecolor{\tkz@mainlinecolor} @@ -90,7 +90,11 @@ %<------------------------- compass -----------------------------------–> \def\tkz@euc@compasscolor{\tkz@otherlinecolor} \def\tkz@euc@compasswidth{0.4pt} -\def\tkz@euc@compassstyle{solid} +\def\tkz@euc@compassstyle{solid} +%<------------------------- arc -----------------------------------–> +\def\tkz@arc@lw{0.4pt} +\def\tkz@arc@color{\tkz@mainlinecolor} +\def\tkz@arc@style{solid} %<---------------------------- mark -----------------------------------–> \def\tkz@mk@color{\tkz@mainlinecolor} \def\tkz@mk@mark{*} @@ -98,6 +102,8 @@ \def\tkz@mk@fill{\tkz@otherlinecolor} %<--------------------------------------------------------------------------–> %<------------------------------ styles ---------------------------------–> +\def\tkzSetUpStyle[#1]#2{\tikzset{#2/.style={#1}}}% add 2022 + \tikzset{xlabel style/.style = {below = 3 pt, inner sep = 1pt, outer sep = 0pt} @@ -122,11 +128,13 @@ \tkz@euc@labelcolor, font = \normalsize} } - +\tikzset{label angle style/.style={ \tkz@euc@labelcolor, + font = \normalsize} + } \tikzset{line style/.style = {line width = \tkz@euc@linewidth, color = \tkz@euc@linecolor, style = \tkz@euc@linestyle, - add = {\tkz@euc@lineleft} and {\tkz@euc@lineright}% + add = {\tkz@euc@lineleft} and {\tkz@euc@lineright}% } } \tikzset{label seg style/.style = {color = \tkz@mainlinecolor, @@ -148,6 +156,7 @@ } } } +\tikzset{arc style/.style={gray,thin}} %<---------------------- show coord -----------------------------------–> \tikzset{arrow coord style/.style = {dashed, \tkz@euc@linecolor, @@ -173,7 +182,25 @@ %<--------------------------- vector --------------------------------------–> \tikzset{vector style/.style={>=latex,->} } -\tikzset{ tkzdotted/.style={% +\tikzset{tkzdotted/.style={% dash pattern=on 0.4\pgflinewidth off #1\pgflinewidth,line cap=round, shorten >=#1\pgflinewidth/2,shorten <=#1\pgflinewidth/2, - tkzdotted/.default=2}} + tkzdotted/.default=8}} + +% \tikzset{tkzreverseclip/.style={insert path={% +% (\tkz@xa,\tkz@ya) rectangle (\tkz@xb,\tkz@yb)}}} + +\tikzset{tkzreverseclip/.style={insert path={ + (current bounding box.south west) --(current bounding box.north west) + --(current bounding box.north east) -- (current bounding box.south east) + -- cycle} }} + +\def\tkzPhi{1.618034} +\def\tkzInvPhi{0.618034} +\def\tkzSqrtPhi{1.27202} +\def\tkzSqrTwo{1.414213} +\def\tkzSqrThree{1.7320508} +\def\tkzSqrFive{2.2360679} +\def\tkzSqrTwobyTwo{0.7071065} +\def\tkzPi{3.1415926} +\def\tkzEuler{2.71828182} \endinput
\ No newline at end of file |