diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-main.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-main.tex | 196 |
1 files changed, 127 insertions, 69 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-main.tex b/Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-main.tex index a62d02eb579..6b0f8f1c177 100644 --- a/Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-main.tex +++ b/Master/texmf-dist/doc/latex/tkz-euclide/TKZdoc-euclide-main.tex @@ -1,70 +1,44 @@ % !TEX TS-program = lualatex -% encoding : utf8 -% Documentation of tkz-euclide -% Copyright 2020 Alain Matthes +% 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 +% 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. -% -% This work consists of the files: -% TKZdoc-euclide-pointby.tex -% TKZdoc-euclide-presentation.tex -% TKZdoc-euclide-exemples.tex -% TKZdoc-euclide-rapporteur.tex -% TKZdoc-euclide-compass.tex -% TKZdoc-euclide-intersec.tex -% TKZdoc-euclide-tools.tex -% TKZdoc-euclide-arcs.tex -% TKZdoc-euclide-circles.tex -% TKZdoc-euclide-polygons.tex -% TKZdoc-euclide-triangles.tex -% TKZdoc-euclide-lines.tex -% TKZdoc-euclide-pointwith.tex -% TKZdoc-euclide-pointsSpc.tex -% TKZdoc-euclide-points.tex -% TKZdoc-euclide-installation.tex -% TKZdoc-euclide-angles.tex -% TKZdoc-euclide-config.tex -% TKZdoc-euclide-base.tex -% TKZdoc-euclide-FAQ.tex -% TKZdoc-euclide-show.tex -% TKZdoc-euclide-sectors.tex -% TKZdoc-euclide-rnd.tex -% TKZdoc-euclide-news.tex +\PassOptionsToPackage{unicode}{hyperref} \documentclass[DIV = 14, fontsize = 10, - headinclude = false, index = totoc, - footinclude = false, twoside, - headings = small + headings = small, + cadre ]{tkz-doc} +%\usepackage{etoc} \gdef\tkznameofpack{tkz-euclide} -\gdef\tkzversionofpack{3.06c} -\gdef\tkzdateofpack{2020/03/18} +\gdef\tkzversionofpack{4.00} +\gdef\tkzdateofpack{2022/01/04} \gdef\tkznameofdoc{doc-tkz-euclide} -\gdef\tkzversionofdoc{3.06c} -\gdef\tkzdateofdoc{2020/03/18} +\gdef\tkzversionofdoc{4.00} +\gdef\tkzdateofdoc{2022/01/04} \gdef\tkzauthorofpack{Alain Matthes} \gdef\tkzadressofauthor{} \gdef\tkznamecollection{AlterMundus} -\gdef\tkzurlauthor{} +\gdef\tkzurlauthor{http://altermundus.fr} \gdef\tkzengine{lualatex} \gdef\tkzurlauthorcom{http://altermundus.fr} % -- Packages --------------------------------------------------- \usepackage[dvipsnames,svgnames]{xcolor} \usepackage{calc} \usepackage{tkz-euclide} -\usepackage[colorlinks]{hyperref} +\usetikzlibrary{backgrounds} +\usepackage[colorlinks,pdfencoding=auto, psdextra]{hyperref} \hypersetup{ linkcolor=Gray, citecolor=Green, @@ -85,29 +59,52 @@ } \usepackage{tkzexample} \usepackage{fontspec} -\setmainfont{texgyrepagella}% - [Extension = .otf , - UprightFont = *-regular, - ItalicFont = *-italic, - BoldFont = *-bold, - BoldItalicFont = *-bolditalic, - Ligatures=TeX, - Numbers={Lowercase,Monospaced}] -\usepackage{unicode-math} +\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[autolanguage]{numprint} \usepackage[normalem]{ulem} -\usepackage{microtype} \usepackage{array,multirow,multido,booktabs} -\usepackage{shortvrb,fancyvrb} +\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}} @@ -118,7 +115,46 @@ % } %<---------------------------------------------------------------------------> \AtBeginDocument{\MakeShortVerb{\|}} % link to shortvrb -\begin{document} +% 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[orange]{new} +\tikzset{every picture/.style={line width=.4pt}} +\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}} +\begin{document} + + \parindent=0pt \author{\tkzauthorofpack} @@ -142,9 +178,9 @@ fill=myblue!10,opacity=.5] (0,0) rectangle (300pt,240pt); \node[text width=240pt] at (150 pt,120 pt){% \begin{center} - \color{MidnightBlue} + \color{MidnightBlue} \fontsize{24}{48} - \selectfont tkz-euclide\\ + \selectfont tkz-euclide\\ tool for \\ Euclidean Geometry \end{center}}; @@ -160,8 +196,8 @@ \let\rmfamily\ttfamily \nameoffile{\tkznameofpack} \defoffile{\lefthand\ -The \tkzname{\tkznameofpack} 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. It uses a Cartesian coordinate system orthogonal provided by the \tkzimp{tkz-base} package as well as tools to define the unique coordinates of points and to manipulate them. The idea is to allow you to follow step by step a construction that would be done by hand as naturally as possible.\\ -Now the package needs the version 3.0 of \TIKZ. English is not my native language so there might be some errors. +\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 @@ -170,7 +206,7 @@ Now the package needs the version 3.0 of \TIKZ. English is not my native langu \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\ 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} and \tkzimp{Laurent Van Deik} for all his corrections, remarks and questions. +\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: @@ -192,32 +228,54 @@ Project Public License Distributed from \href{http://www.ctan.org/}{CTAN}\ arch \clearpage \newpage -\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex} -\include{TKZdoc-euclide-presentation} +\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-rnd} \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-sectors} -\include{TKZdoc-euclide-arcs} -\include{TKZdoc-euclide-tools} +\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-exemples} -\include{TKZdoc-euclide-config} -\include{TKZdoc-euclide-base} +\include{TKZdoc-euclide-tools} + +\part{Working with style} +\include{TKZdoc-euclide-styles} + +\part{Examples} +\include{TKZdoc-euclide-examples} +\include{TKZdoc-euclide-others} +\part{FAQ} \include{TKZdoc-euclide-FAQ} \clearpage\newpage \small\printindex -\end{document} +\end{document}
\ No newline at end of file |