% tkz-base.cfg
% Copyright 2020  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.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status “maintained”.
% 
% The Current Maintainer of this work is Alain Matthes.
% If you modify this original file, YOUR CHANGES WILL BE LOST when it is
% updated.  Instead, put your changes in the entire copy of tkz-base.cfg 
% 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}
%<------   colors  ---------------------------------------–> 
\def\tkz@backgroundcolor{white}
\def\tkz@textcolor{black}  
%<---------------------------------------------------------
\def\tkz@fillcolor{\tkz@backgroundcolor}    
\def\tkz@mainlinecolor{\tkz@textcolor} 
\def\tkz@otherlinecolor{\tkz@mainlinecolor!50} 
%<------------------------- Cartesian system   -----------------------------–>
% Default unity cm
% Geometry Euclidean  with unity for x and y = 1cm ---> step = 1
% 0 ≤ x ≤ 10
% 0 ≤ y ≤ 10
\def\tkz@init@xorigine{0}
\def\tkz@init@yorigine{0}
\def\tkz@init@xstep{1}
\def\tkz@init@ystep{1}
\def\tkz@init@xmin{0}
\def\tkz@init@ymin{0}
\def\tkz@init@xmax{10}
\def\tkz@init@ymax{10}
\def\tkz@init@xdec{1}
\def\tkz@init@ydec{1}  
%<--------------------------    points   -----------------------------------–>
\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@pointpos{below right}
\def\tkz@euc@segmentcolor{\tkz@mainlinecolor}
\def\tkz@euc@circlecolor{\tkz@mainlinecolor}
%<--------------------------   line  ---------------------------------------–>
\def\tkz@euc@linecolor{\tkz@mainlinecolor}
\def\tkz@euc@linewidth{0.6pt}
\def\tkz@euc@linestyle{solid}
\def\tkz@euc@lineleft{.2}
\def\tkz@euc@lineright{.2}
%<------   axes cartesian system  ---------------------------------------–>   
\def\tkz@init@color{\tkz@textcolor}
\def\tkz@init@lw{0.4 pt}
\def\tkz@init@tickwd{0.8 pt}
\def\tkz@init@ticka{2 pt}  
\def\tkz@init@tickb{2 pt}
\def\tkz@init@xlabel{$x$}
\def\tkz@init@ylabel{$y$}
\def\tkz@init@tickb{2 pt}
\def\tkz@init@rightspace{.5} 
\def\tkz@init@leftspace{0}
\def\tkz@init@upspace{.5} 
\def\tkz@init@downspace{0}
\global\let\tkzmathstyle\displaystyle
\def\tkz@legend@line@len{1cm}
%<--------------------------   rep  ---------------------------------------–>
\def\tkz@sur@color{\tkz@mainlinecolor}
\def\tkz@sur@colorlabel{\tkz@mainlinecolor}
\def\tkz@sur@lw{0.8 pt}
\def\tkz@sur@posxlabel{below=2pt}
\def\tkz@sur@posylabel{left=2pt}
%<--------------------------   grid  ---------------------------------------–>
\def\tkz@grid@color{gray}
\def\tkz@grid@lw{0.4 pt}
\def\tkzCoeffSubColor{50} 
\def\tkzCoeffSubLw{0.8}
\def\tkz@grid@xstep{0.2}
\def\tkz@grid@ystep{0.2} 
\def\tkz@init@gradsize{\textstyle}
\def\tkzRatioLineGrid{0.75} 
\def\tkz@gd@sublw{0.4 pt}% size line sub grid
%<-------------------------    compass   -----------------------------------–> 
\def\tkz@euc@compasscolor{\tkz@otherlinecolor}
\def\tkz@euc@compasswidth{0.4pt}
\def\tkz@euc@compassstyle{solid}    
%<----------------------------    mark   -----------------------------------–> 
\def\tkz@mk@color{\tkz@mainlinecolor}
\def\tkz@mk@mark{*}
\def\tkz@mk@size{3pt}
\def\tkz@mk@fill{\tkz@otherlinecolor} 
%<--------------------------------------------------------------------------–>
%<------------------------------  styles   ---------------------------------–>
\tikzset{xlabel style/.style                =   {below      =   3 pt,
                                                inner sep   =   1pt,
                                                outer sep   =   0pt}
                                                }                                       
\tikzset{ylabel style/.style                =   {left       =   3 pt,
                                                inner sep   =   1pt,
                                                outer sep   =   0pt}}
\tikzset{xaxe style/.style                  =   {>          =   latex,  ->}
}  
\tikzset{yaxe style/.style                  =   {>          =   latex,  ->}
}    

\tikzset{point style/.style = {draw         = \tkz@euc@pointcolor,
                               inner sep    = 0pt,
                               shape        = \tkz@euc@pointshape,
                               minimum size = \tkz@euc@pointsize,
                               fill         = \tkz@euc@pointcolor
                               }
        }  
% label for the point 
\tikzset{label style/.style={   \tkz@euc@pointpos,
                                \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}%
                             }
        }
\tikzset{label seg style/.style = {color      = \tkz@mainlinecolor,
                                   auto
                                   }
        }   
        
\tikzset{rep style/.style       = { ->,
                                    >=latex}
                                }                             
\tikzset{compass style/.style         = {color         = \tkz@euc@compasscolor,
                                         line width    = \tkz@euc@compasswidth,
                                         style         = \tkz@euc@compassstyle}
                                 } 
\tikzset{mark style/.style            =  {mark         =    \tkz@mk@mark,
                                          mark size    =    \tkz@mk@size,
                                          mark options = {color= \tkz@mk@color,
                                          fill         = \tkz@mk@fill
                                                 }
                                }
}
%<----------------------    show coord   -----------------------------------–> 
\tikzset{arrow coord style/.style   =   {dashed,
                                        \tkz@euc@linecolor,
                                        >   =   latex',
                                        ->}
                                        }
\tikzset{xcoord style/.style        =   {\tkz@euc@labelcolor,
                                        font        =   \normalsize,
                                        text height =   1ex,
                                        inner sep   =   0pt,
                                        outer sep   =   0pt,
                                        fill        =   \tkz@fillcolor,
                                        below       =   3pt}
                                        } 
\tikzset{ycoord style/.style        =   {\tkz@euc@labelcolor,
                                        font        =   \normalsize,
                                        text height =   1ex, 
                                        inner sep   =   0pt,
                                        outer sep   =   0pt, 
                                        fill        =   \tkz@fillcolor,
                                        left        =   3pt}
                                        }  
%<---------------------------  vector --------------------------------------–>
\tikzset{vector style/.style={>=latex,->}
}
\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}}
\endinput