summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/euclideangeometry
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-17 20:44:32 +0000
committerKarl Berry <karl@freefriends.org>2021-05-17 20:44:32 +0000
commitc7c49efc9306695afe0a839544dd11cafbfa57aa (patch)
treed5fad133dfca0d6e1b7db880eda63741d7d1d5e2 /Master/texmf-dist/source/latex/euclideangeometry
parentddff96ba716922034323f696c53dfb5f779c8371 (diff)
euclideangeometry (17may21)
git-svn-id: svn://tug.org/texlive/trunk@59246 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/euclideangeometry')
-rw-r--r--Master/texmf-dist/source/latex/euclideangeometry/euclideangeometry.dtx122
1 files changed, 38 insertions, 84 deletions
diff --git a/Master/texmf-dist/source/latex/euclideangeometry/euclideangeometry.dtx b/Master/texmf-dist/source/latex/euclideangeometry/euclideangeometry.dtx
index af615d4b55e..f8850eef509 100644
--- a/Master/texmf-dist/source/latex/euclideangeometry/euclideangeometry.dtx
+++ b/Master/texmf-dist/source/latex/euclideangeometry/euclideangeometry.dtx
@@ -6,30 +6,18 @@
\keepsilent
\preamble
- Copyright (C) 2020 Claudio Beccari all rights reserved.
- License information appended
+ Copyright (C) 2020-2021 Claudio Beccari all rights reserved.
+
+ Distributable under the LaTeX Project Public License,
+ version 1.3c or higher (your choice). The latest version of
+ this license is at: http://www.latex-project.org/lppl.txt
\endpreamble
-\postamble
-
-Distributable under the LaTeX Project Public License,
-version 1.3c or higher (your choice). The latest version of
-this license is at: http://www.latex-project.org/lppl.txt
-
-This work is "maintained"
-
-This work consists of files:
-1) euclideangeometry.dtx, and the derived files euclideangeometry.sty
- and euclideangeometry.pdf,
-2) euclideangeometry-man.tex and the derived file euclideangeometry-man.pdf,
-3) the auxiliary derived file README.txt
-
-\endpostamble
\askforoverwritefalse
\generate{\file{euclideangeometry.sty}{\from{euclideangeometry.dtx}{package}}}
-\generate{\file{README.txt}{\from{euclideangeometry.dtx}{readme}}}
+%\generate{\file{README.txt}{\from{euclideangeometry.dtx}{readme}}}
\def\tmpa{plain}
\ifx\tmpa\fmtname\endgroup\expandafter\bye\fi
@@ -45,7 +33,7 @@ This work consists of files:
%<package>\ProvidesPackage{euclideangeometry}%
%<readme>File README.txt for package euclideangeometry
%<*package|readme>
- [2020-04-15 v.0.1.8 Extension package for curve2e]
+ [2021-05-016 v.0.2.0 Extension package for curve2e]
%</package|readme>
%<*driver>
\documentclass{ltxdoc}\errorcontextlines=100
@@ -93,7 +81,9 @@ This work consists of files:
\fontfamily{lmr}\fontseries{m}\fontshape{sc}\selectfont
g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
\RequirePackage{etoolbox}
+
\makeatletter
+
\AfterEndPreamble{%
\DeclareRobustCommand{\TeX}{T\kern-.1667em
\lower.5ex\hbox{E}\kern-.125emX\@\xspace}
@@ -108,6 +98,7 @@ g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
\kern-.15em%
\TeX}}
\makeatother
+
\DeclareRobustCommand*\TeXLive{\TeX\ Live\xspace}
\DeclareRobustCommand*\MikTeX{Mik\TeX}
\DeclareRobustCommand*\MacTeX{Mac\TeX}
@@ -130,6 +121,7 @@ g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
\IfValueTF{#2}{\put(#1){\originalGraphGrid(#2)}}%
{\put(0,0){\originalGraphGrid(#1)}}}\fi
+
\begin{document}\errorcontextlines=100
\GetFileInfo{euclideangeometry.dtx}
\title{The \textsf{euclideangeometry} package}
@@ -154,7 +146,7 @@ g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
% installed with your updated complete \TeX system installation.
% Please refer to the user manual before using this package.
-% \CheckSum{1296}
+% \CheckSum{1294}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\StopEventually{}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -167,7 +159,7 @@ g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% \subsection{Checking the date of a sufficiently recent \texttt{curve2e}
+% \subsection{Test the date of a sufficiently recent \texttt{curve2e}
% package}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This package has been already identified by the commands extracted
@@ -175,7 +167,7 @@ g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
% In any case, if the test checks that the |curve2e| file date is too old;
% it warns the user with an emphasised error message on the console,
% loading this |euclideangeometry| package is stopped and the whole
-% job aborts. The emphasised error message appears like this:
+% job aborts. The emphasised error message appears like this:\\~
%\begin{flushleft}\ttfamily\obeylines
%*************************************************************
%Package curve2e too old
@@ -205,10 +197,10 @@ g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% While doing any graphical geometrical drawing it is necessary to label
-% points, lines, angles and other such items. Non measurable labels should
-% be in upright sans serif font, according to the ISO regulations, but here
-% we are dealing witt point identified by macros the contain their
-% (cartesian or polar) coordinates that very often are both labels
+% points, lines, angles and other such items. Non measurable labels
+% should be in upright sans serif font, according to the ISO regulations,
+% but here we are dealing with point identified by macros the contain
+% their (cartesian or polar) coordinates that very often are both labels
% and math variables.
%
% Here we provide a versatile macro that can do several things. Its name
@@ -228,20 +220,21 @@ g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
% incoherent, as well as \texttt{lr}), but in absence of this optional
% specification, the couple \texttt{cc} is assumed; most often than
% not, the label position becomes such that when the user reviews the
-% document drafts, s/he understands immediately that s/he forgot to specify
-% some reasonable \meta{alignment} codes; in any case the \texttt{cc} code
-% works fine to just put the dot of a specified diameter but with an empty
-% label. Think of the \meta{alignment}
+% document drafts, s/he understands immediately that s/he forgot to
+% specify some reasonable \meta{alignment} codes; in any case the
+% \texttt{cc} code works fine to just put the dot of a specified
+% diameter but with an empty label. Think of the \meta{alignment}
% letters as the position of the reference point with respect to the
% the \meta{label} optical center. The optional \meta{angle} argument
% produces a rotation of the whole label by that angle; it may be used
% in several circumstances, especially when the label is just text, to
% produce, for example, a sideways legend. It is useful also when the
-% labels are produced within a rotated box, in order to counterrotate them.
+% labels are produced within a rotated box, in order to counterrotate
+% them.
%
-% The optional asterisk draws a frame around the \emph{label}. Notice that
-% the separator between the visible or the invisible frame and the box
-% contents varies according the the fact that the \meta{alignment}
+% The optional asterisk draws a frame around the \emph{label}. Notice
+% that the separator between the visible or the invisible frame and the
+% box contents varies according the the fact that the \meta{alignment}
% specification contains just one or two letter codes; this is useful,
% because the diagonal position of the label should be optically equal
% to the gap that exists between the reference point and the \meta{label}
@@ -264,7 +257,6 @@ g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
% a sloping line.
% \begin{macrocode}
\providecommand\Pbox{}
-\newlength\PbDim
\RenewDocumentCommand\Pbox{D(){0,0} O{cc} m O{0.5ex} s D<>{0}}{%
\put(#1){\rotatebox{#6}{\makebox(0,0){%
\settowidth\PbDim{#2}%
@@ -296,11 +288,11 @@ g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
% fonts; with Type~1 fonts the only scalable fonts I know of, are the
% LibertinusMath fonts, usable through the LibertinusT1math package, are
% also the only ones that have 8~bit encoded math fonts (256
-% glyph fonts), while the standard default Type~1 math fonts are just
+% glyph fonts), while the standard default math fonts are just
% 7~bit encoded (128 glyphs fonts).
%
% Another useful labelling command is |Zbox|; this command is an
-% evolution of a command that I been using for years in several
+% evolution of a command that I have been using for years in several
% documents of mine. It uses some general text, not necessarily
% connected to a particular point of the |picture| environment,
% as a legend; It can draw short text as a simple horizontal box,
@@ -310,7 +302,7 @@ g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
%\begin{ttsyntax}
%\cs{Zbox}\parg{position}\parg(dimensions)\oarg{alignment}\marg{text}
%\end{ttsyntax}
-% where \meta{position} is where the reference point of the box has
+% where \meta{position} is where the box reference point has
% to be put in the picture; \meta{dimensions} are optional; if not
% specified, the box is a horizontal one, and it is as wide as its
% contents; if it is specified, it must be a comma separated list
@@ -753,7 +745,7 @@ g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
\edef\TCIdiffR{\fpeval{\Runo-\Rdue}}\edef\TCIsumR{\fpeval{\Runo+\Rdue}}
\fptest{\TCIdiffR > \A || \A > \TCIsumR}{%
\edef#5{0,0}\edef#6{0,0}% Valori assurdi se i cerchi non si intersecano
- \PackageWarning{TestFP}{%
+ \PackageWarning{euclideangeometry}{%
***********************************\MessageBreak
Circles do not intersect \MessageBreak
Check centers and radii and retry \MessageBreak
@@ -1513,65 +1505,27 @@ g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
% document |euclideangeometry-man.pdf| describes much clearly with
% examples what you can do with the macros described in this package.
% In facts, this file just describes the package macros, and it gives
-% some ideas on how to extend the ability of |curve2e| to draw geometrical
-% diagrams.
+% some ideas on how to extend the ability of |curve2e| to draw
+% geometrical diagrams.
% The users who would like to modify or to add some functionalities
% are invited to do so; I will certainly acknowledge their contributions
% and even add their names to the list of authors.
%
-% As long as I can, I enjoy playing with \LaTeX and its wonderful
+% As long as I can, I enjoy playing with \LaTeX\ and its wonderful
% facilities; but, taking into consideration my age, I would invite
% the users to consider the possibility of assuming the maintenance
% of this package.
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%\section*{Aknowledgements}
+%\section{Acknowledgements}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% I am very grateful to Enrico Gregorio who let me know the several
% glitches I made in my first version; besides being a real \TeX wizard,
% he is a wise person and suggested me several things that was important
-% to change, because they could offer risks of confusion with other packages.
+% to change, because they could offer risks of confusion with other
+% packages.
%
%\iffalse
%</package>
%\fi
-%
-%\iffalse
-%<*readme>
-%^^A\fi
-% \section{The \texttt{README.txt} file}
-% The following is the text that forms the contents of the |README.txt|
-% file that accompanies the package. We found it handy to have it in
-% the documented source, because in this way certain pieces of
-% information don't need to be repeated again and again in different
-% files.
-% \begin{macrocode}
-The package bundle euclideangeometry is composed of the following files
-
-euclideangeometry.dtx
-euclideangeometry.pdf
-euclideangeometry-man.tex
-euclideangeometry-man.pdf
-README.txt
-
-euclideangeometry.dtx is the documented TeX source file of package
-euclideangeometry.sty; you get euclideangeometry.sty,
-euclideangeometry.pdf by running pdflatex on euclideangeometry.dtx.
-
-README.txt, this file, contains general information.
-
-euclideangeometry-man.tex and euclideangeometry-man.pdf are
-the source file and the readable document containing the end
-user manual.
-In other words euclideangeometry.pdf is oriented towards the
-developers and euclideangeometry-man.pdf to the end users.
-
-
-Claudio Beccari
-
-claudio dot beccari at gmail dot com
-% \end{macrocode}
-%^^A\iffalse
-%</readme>
-%\fi
% \Finale
-%^^A <driver>\endinput
+% \ No newline at end of file