summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tkz-base/tkz-base.cfg
blob: fbab54e1371c85610a53e6082f8b4ad86156a8d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
% 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