summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/doc/latex/TKZdoc-euclide-main.tex
blob: 1d59e074f4e3c111d7610c2942c3d05334e94556 (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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
% !TEX TS-program = lualatex
% encoding : utf8 
% Documentation of tkz-euclide v4
% 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.
% 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.
\PassOptionsToPackage{unicode}{hyperref}

\documentclass[DIV         = 14,
               fontsize    = 10,
               index       = totoc,
               twoside,
               headings    = small,
               cadre
               ]{tkz-doc}
%\usepackage{etoc}
\gdef\tkznameofpack{tkz-euclide}
\gdef\tkzversionofpack{4.05b}
\gdef\tkzdateofpack{2022/02/07}
\gdef\tkznameofdoc{doc-tkz-euclide}
\gdef\tkzversionofdoc{4.05b} 
\gdef\tkzdateofdoc{2022/02/07}
\gdef\tkzauthorofpack{Alain Matthes}
\gdef\tkzadressofauthor{}
\gdef\tkznamecollection{AlterMundus}
\gdef\tkzurlauthor{http://altermundus.fr}
\gdef\tkzengine{lualatex}
\gdef\tkzurlauthorcom{http://altermundus.fr}
% -- Packages ---------------------------------------------------          
\usepackage[dvipsnames,svgnames]{xcolor}
\usepackage{calc}
\usepackage{tkz-euclide} 
\usetikzlibrary{backgrounds}
\usepackage[colorlinks,pdfencoding=auto, psdextra]{hyperref}
\hypersetup{
      linkcolor=Gray,
      citecolor=Green,
      filecolor=Mulberry,
      urlcolor=NavyBlue,
      menucolor=Gray,
      runcolor=Mulberry,
      linkbordercolor=Gray,
      citebordercolor=Green,
      filebordercolor=Mulberry,
      urlbordercolor=NavyBlue,
      menubordercolor=Gray,
      runbordercolor=Mulberry,
      pdfsubject={Euclidean Geometry},
      pdfauthor={\tkzauthorofpack},
      pdftitle={\tkznameofpack},
      pdfcreator={\tkzengine}
}
\usepackage{tkzexample}
\usepackage{fontspec}
\setmainfont{texgyrepagella}[
  Extension = .otf,
  UprightFont = *-regular ,
  ItalicFont  = *-italic  ,
  BoldFont    = *-bold    ,
  BoldItalicFont = *-bolditalic
]
\setsansfont{texgyreheros}[
  Extension = .otf,
  UprightFont = *-regular ,
  ItalicFont  = *-italic  ,
  BoldFont    = *-bold    ,
  BoldItalicFont = *-bolditalic ,
]

\setmonofont{lmmono10-regular.otf}[
  Numbers={Lining,SlashedZero},
  ItalicFont=lmmonoslant10-regular.otf,
  BoldFont=lmmonolt10-bold.otf,
  BoldItalicFont=lmmonolt10-boldoblique.otf,
]
\newfontfamily\ttcondensed{lmmonoltcond10-regular.otf}
%% (La)TeX font-related declarations:
\linespread{1.05}      % Pagella needs more space between lines
%\usepackage{unicode-math}
\usepackage[math-style=literal,bold-style=literal]{unicode-math}
\usepackage{fourier-otf}
\makeatletter
\if@tkzcadre \usepackage{zorna} \fi
\makeatother
\usepackage{datetime,multicol,lscape}
\usepackage[english]{babel}
\usepackage[normalem]{ulem}
\usepackage{array,multirow,multido,booktabs}
\usepackage{shortvrb,fancyvrb,bookmark} 

\renewcommand{\labelitemi}{--}
\setlength\parindent{0pt}
\RedeclareSectionCommand[tocnumwidth=3.5em]{part}
\RedeclareSectionCommand[tocnumwidth=3.5em]{section}
\RedeclareSectionCommand[tocnumwidth=3.5em]{subsection}
\RedeclareSectionCommand[tocnumwidth=3.5em]{subsubsection}
\renewcommand\partheadstartvskip{\clearpage\null\vfil}
\renewcommand\partheadmidvskip{\par\nobreak\vskip 20pt\thispagestyle{empty}}
\renewcommand\partheadendvskip{\vfil\clearpage}
\renewcommand\raggedpart{\centering}
\RequirePackage{makeidx} 
\makeindex 
% \def\tkzref{\arabic{section}-\arabic{subsection}-\arabic{subsubsection}}
% \renewenvironment{tkzexample}[1][]{%
%  \tkz@killienc \VerbatimOut{tkzeuclide-\tkzref.tex}%
%   }{%
% \endVerbatimOut
% }
%<---------------------------------------------------------------------------> 
\AtBeginDocument{\MakeShortVerb{\|}} % link to shortvrb
\makeatletter
% We need to save the node
% Every append after command might be useful to have this code
\def\savelastnode{\pgfextra\edef\tmpA{\tikzlastnode}\endpgfextra}
\def\restorelastnode{\pgfextra\edef\tikzlastnode{\tmpA}\endpgfextra}

% Define box and box title style
\tikzstyle{mybox} = [draw=blue!50!black, very thick,
    rectangle, rounded corners, inner sep=10pt, inner ysep=20pt,text=darkgray]
\tikzstyle{fancytitle} =[fill=MidnightBlue!20, text=blue!50!black,rounded corners]
\tikzstyle{title} = [append after command={%
    \savelastnode node[fancytitle,right=10pt] at (\tikzlastnode.north west)%
    {#1}\restorelastnode}]
\makeatother 

\newcommand{\red}{\color{BrickRed}}
\newcommand{\orange}{\color{PineGreen}}
\newcommand{\blanc}{\color{White}}
\newcommand{\ntt}{\normalfont\ttfamily}
%    command name
\newcommand{\cn}[1]{{\protect\ntt\bslash#1}}
%    LaTeX package name
%    File name
\newcommand{\fn}[1]{{\protect\ntt#1}}
%    environment name
\newcommand{\env}[1]{{\protect\ntt#1}}
\hfuzz1pc % Don't bother to report overfull boxes if overage is < 1pc

\newcommand{\pkg}[1]{{\protect\ntt#1}}

% settings
\tkzSetUpColors[background=white,text=black]  
\tkzSetUpCompass[color=orange, line width=.4pt,delta=10]
\tkzSetUpArc[color=gray,line width=.4pt]
\tkzSetUpPoint[size=2,color=teal]
\tkzSetUpLine[line width=.4pt,color=teal]
\tkzSetUpStyle[color=orange,ultra thin]{new}
\tikzset{every picture/.style={line width=.4pt}}
\tikzset{label angle style/.append style={color=teal,font=\footnotesize}}
\tikzset{new/.style={color=orange,ultra thin}}  
%\tikzset{label style/.append style={color=teal,font=\footnotesize}}

\newcommand{\tkzsubf}[2]{%
  {\small\begin{tabular}[t]{@{}c@{}}
  #1\\#2
  \end{tabular}}%
}


\begin{document} 
  

\parindent=0pt
\author{\tkzauthorofpack}  
\title{\tkznameofpack}
\date{\today}
\clearpage
\thispagestyle{empty}
\maketitle
\null
\makeatletter
\if@tkzcadre
\AddToShipoutPicture*{%
\setlength\unitlength{1mm}
\put(70,120){%
\begin{tikzpicture}
 \node at (30pt,30pt){\fontsize{60}{60}\selectfont \zorna{c}};  
 \node at (270pt,30pt){\fontsize{60}{60}\selectfont \zorna{d}};
 \node at (30pt,210pt){\fontsize{60}{60}\selectfont \zorna{a}};  
 \node at (270pt,210pt){\fontsize{60}{60}\selectfont \zorna{b}};
 \draw[line width=2pt,double,color=MidnightBlue,
 fill=myblue!10,opacity=.5] (0,0) rectangle (300pt,240pt);
 \node[text width=240pt] at (150 pt,120 pt){%
  \begin{center}
    \color{MidnightBlue}
      \fontsize{24}{48}
    \selectfont tkz-euclide\\ 
                tool for \\
                Euclidean Geometry 
 \end{center}};
\end{tikzpicture}}    
} 
\else
\fi
\makeatother

\clearpage
\tkzSetUpColors[background=white,text=darkgray]

\let\rmfamily\ttfamily
\nameoffile{\tkznameofpack}
\defoffile{\lefthand\
\tkzname{\tkznameofpack} 4.00 is now independent of tkz-base. It is a set of convenient macros for drawing in a plane (fundamental two-dimensional object) with a Cartesian coordinate system. It  handles the most classic situations in Euclidean Geometry. \tkzname{\tkznameofpack} is built on top of PGF and its associated front-end \TIKZ\ and is a (La)TeX-friendly drawing package. The aim is to provide a high-level user interface  to build graphics  relatively simply.  The idea is to allow you to follow step by step a construction that would be done by hand as naturally as possible.\\
English is  not my native language so there  might be some errors.
}

\presentation

\vspace*{1cm}
\lefthand\ Firstly, I would like to thank \textbf{Till Tantau} for the  beautiful \LaTeX{}  package, namely  \href{http://sourceforge.net/projects/pgf/}{\TIKZ}.

\vspace*{12pt}
\lefthand\ Acknowledgements : I received much valuable advice, remarks, corrections and examples from \tkzimp{Jean-Côme Charpentier}, \tkzimp{Josselin Noirel}, \tkzimp{Manuel Pégourié-Gonnard}, \tkzimp{Franck Pastor}, \tkzimp{David Arnold}, \tkzimp{Ulrike Fischer}, \tkzimp{Stefan Kottwitz}, \tkzimp{Christian Tellechea}, \tkzimp{Nicolas Kisselhoff}, \tkzimp{David Arnold}, \tkzimp{Wolfgang Büchel}, \tkzimp{John Kitzmiller}, \tkzimp{Dimitri Kapetas}, \tkzimp{Gaétan Marris}, \tkzimp{Mark Wibrow}, \tkzimp{Yves Combe} for his work on a protractor, \tkzimp{Paul Gaborit}, \tkzimp{Laurent Van Deik} for all his corrections, remarks and questions and \tkzimp{Muzimuzhi Z} for the code about the option "dim".

\vspace*{12pt}
\lefthand\ I would also like to thank Eric Weisstein, creator of MathWorld:
\href{http://mathworld.wolfram.com/about/author.html}{MathWorld}.

\vspace*{12pt}
\lefthand\ You can find some examples on my site:
\href{http://altermundus.fr}{altermundus.fr}. \hspace{2cm} under construction!

\vfill
Please report typos or any other comments to this documentation to: \href{mailto:al.ma@mac.com}{\textcolor{blue}{Alain Matthes}}.

This file can be redistributed and/or modified under the terms of the \LaTeX{} 
Project Public License Distributed from \href{http://www.ctan.org/}{CTAN}\  archives.

\clearpage
\tableofcontents

\clearpage
\newpage

\part{General survey : a brief but comprehensive review}
\include{TKZdoc-euclide-installation}
\include{TKZdoc-euclide-presentation}
\include{TKZdoc-euclide-elements}
\include{TKZdoc-euclide-news}

\part{Setting}
\include{TKZdoc-euclide-points}

\part{Calculating}
\include{TKZdoc-euclide-pointsSpc}
\include{TKZdoc-euclide-pointby}
\include{TKZdoc-euclide-pointwith}
\include{TKZdoc-euclide-lines}
\include{TKZdoc-euclide-triangles}
\include{TKZdoc-euclide-polygons}
\include{TKZdoc-euclide-circles}
\include{TKZdoc-euclide-circleby}
\include{TKZdoc-euclide-intersec}
\include{TKZdoc-euclide-angles}
\include{TKZdoc-euclide-rnd}

\part{Drawing and Filling}
\include{TKZdoc-euclide-drawing}
\include{TKZdoc-euclide-filling}
\include{TKZdoc-euclide-clipping}

\part{Marking}
\include{TKZdoc-euclide-marking}

\part{Labelling}
\include{TKZdoc-euclide-labelling}

\part{Complements}
\include{TKZdoc-euclide-compass}
\include{TKZdoc-euclide-show}
\include{TKZdoc-euclide-rapporteur}
\include{TKZdoc-euclide-tools}

\part{Working with style}
\include{TKZdoc-euclide-styles}

\part{Examples}
\include{TKZdoc-euclide-others}
\include{TKZdoc-euclide-examples}

\part{FAQ}
\include{TKZdoc-euclide-FAQ}

\clearpage\newpage
\small\printindex
\end{document}