summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-11 22:09:57 +0000
committerKarl Berry <karl@freefriends.org>2020-02-11 22:09:57 +0000
commit5e49fa64bd451d499e66784df6f9a437f8b3ab71 (patch)
tree4fea1aaf853d931143a85d054f7386e69d05882e
parentd2da7f5f40ade904cccb2e82630d15bd42520ff5 (diff)
euclideangeometry (11feb20)
git-svn-id: svn://tug.org/texlive/trunk@53757 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/euclideangeometry/README.txt2
-rw-r--r--Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry-man.pdfbin558099 -> 559270 bytes
-rw-r--r--Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry-man.tex37
-rw-r--r--Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry.pdfbin436347 -> 410913 bytes
-rw-r--r--Master/texmf-dist/source/latex/euclideangeometry/euclideangeometry.dtx152
-rw-r--r--Master/texmf-dist/tex/latex/euclideangeometry/euclideangeometry.sty43
6 files changed, 81 insertions, 153 deletions
diff --git a/Master/texmf-dist/doc/latex/euclideangeometry/README.txt b/Master/texmf-dist/doc/latex/euclideangeometry/README.txt
index 4e3d182cd65..300e9c9f936 100644
--- a/Master/texmf-dist/doc/latex/euclideangeometry/README.txt
+++ b/Master/texmf-dist/doc/latex/euclideangeometry/README.txt
@@ -10,7 +10,7 @@
%% License information appended
%%
File README.txt for package euclideangeometry
- [2020-02-09 v.0.1.3 Extension package for curve2e]
+ [2020-02-11 v.0.1.4 Extension package for curve2e]
The package bundle euclideangeometry is composed of the following files
diff --git a/Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry-man.pdf b/Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry-man.pdf
index 46062de27e6..593310a47f5 100644
--- a/Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry-man.pdf
+++ b/Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry-man.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry-man.tex b/Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry-man.tex
index ab35cdb93db..01ee2978b3f 100644
--- a/Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry-man.tex
+++ b/Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry-man.tex
@@ -97,8 +97,45 @@ g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
\def\hz{\hskip0pt}
+\makeatletter
+\newwrite\example@out
+\newlength\Wboxu \newlength\Wboxd
+
+\DeclareDocumentEnvironment{Esempio}{ O{\normalsize} D(){0.40}}
+{\par\addvspace{3.0ex plus 0.8ex minus 0.5ex}\vskip -\parskip
+\Wboxu=#2\textwidth\relax
+\Wboxd=\dimexpr\linewidth-\columnsep-\Wboxu\relax
+\begingroup
+\@bsphack
+\immediate\openout\example@out\jobname-temp.tex
+\let\do\@makeother\dospecials\catcode`\^^M\active
+\def\verbatim@processline{%
+ \immediate\write\example@out{\the\verbatim@line}}%
+\verbatim@start\relax}%
+{\immediate\closeout\example@out\@esphack\endgroup
+\begin{lrbox}{0}%
+\begin{minipage}{\textwidth}%
+\begin{minipage}{\Wboxu}%
+#1\relax
+\verbatiminput{\jobname-temp.tex}
+\end{minipage}%
+\hfill
+\begin{minipage}{\Wboxd}\raggedleft
+\input{\jobname-temp}%
+\end{minipage}
+\end{minipage}%
+\end{lrbox}%
+\medskip
+\noindent\makebox[\textwidth]{\box0}%
+\par\addvspace{3.0ex plus 0.8ex minus 0.5ex}\vskip -\parskip
+}
+\makeatother
+\newenvironment{ttsintassi}{\begin{lrbox}{0}
+\minipage{\dimexpr\linewidth-2\fboxrule-2\fboxsep}\ttfamily\obeylines}%
+{\endminipage\end{lrbox}\center\fbox{\box0}\endcenter}
+\let\ttsyntax\ttsintassi \let\endttsyntax\endttsintassi
\newcommand\heart[3]{%
\edef\X{\fpeval{#1*16*(sind(#2)^3)}}
diff --git a/Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry.pdf b/Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry.pdf
index d3c88483e33..54f15c13550 100644
--- a/Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry.pdf
+++ b/Master/texmf-dist/doc/latex/euclideangeometry/euclideangeometry.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/euclideangeometry/euclideangeometry.dtx b/Master/texmf-dist/source/latex/euclideangeometry/euclideangeometry.dtx
index 36a7a438c3a..054ee39ae1a 100644
--- a/Master/texmf-dist/source/latex/euclideangeometry/euclideangeometry.dtx
+++ b/Master/texmf-dist/source/latex/euclideangeometry/euclideangeometry.dtx
@@ -45,7 +45,7 @@ This work consists of files:
%<package>\ProvidesPackage{euclideangeometry}%
%<readme>File README.txt for package euclideangeometry
%<*package|readme>
- [2020-02-09 v.0.1.3 Extension package for curve2e]
+ [2020-02-11 v.0.1.4 Extension package for curve2e]
%</package|readme>
%<*driver>
\documentclass{ltxdoc}\errorcontextlines=100
@@ -88,7 +88,47 @@ This work consists of files:
\providecommand\TB{\mbox{\normalfont\slshape TUGboat}\xspace}
+\definecolor{verdeguit}{rgb}{0, 0.40, 0}
+\def\GuIT{\mbox{\color{verdeguit}\def\I{\textcolor{black}{I}}%
+ \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}
+\DeclareRobustCommand{\LaTeX}{L\kern-.36em%
+ {\sbox\z@ T%
+ \vbox to\ht\z@{\hbox{\check@mathfonts
+ \fontsize\sf@size\z@
+ \math@fontsfalse\selectfont
+ A}%
+ \vss}%
+ }%
+ \kern-.15em%
+ \TeX}}
+\makeatother
+\DeclareRobustCommand*\TeXLive{\TeX\ Live\xspace}
+\DeclareRobustCommand*\MikTeX{Mik\TeX}
+\DeclareRobustCommand*\MacTeX{Mac\TeX}
+\DeclareRobustCommand*\pdfLaTeX{pdf\/\LaTeX}
+\DeclareRobustCommand*\LuaLaTeX{Lua\LaTeX}
+\DeclareRobustCommand*\XeLaTeX{X\ifdim\fontdimen1\font=0pt\kern-0.15em\fi
+\lower.5ex\hbox{\rotatebox[origin=c]{180}{E}}%
+\ifdim\fontdimen1\font=0pt\kern-0.15em\else\kern-0.275em\fi
+\LaTeX}
+\DeclareRobustCommand*\TikZ{Ti\emph{k}Z\xspace}
+\newenvironment{ttsintassi}{\begin{lrbox}{0}
+\minipage{\dimexpr\linewidth-2\fboxrule-2\fboxsep}\ttfamily\obeylines}%
+{\endminipage\end{lrbox}\center\fbox{\box0}\endcenter}
+\let\ttsyntax\ttsintassi \let\endttsyntax\endttsintassi
+
+\unless\ifcsname Gr@phGrid\endcsname
+\let\originalGraphGrid\GraphGrid
+\RenewDocumentCommand\GraphGrid{r() d()}{%
+\IfValueTF{#2}{\put(#1){\originalGraphGrid(#2)}}%
+ {\put(0,0){\originalGraphGrid(#1)}}}\fi
\begin{document}\errorcontextlines=100
\GetFileInfo{euclideangeometry.dtx}
@@ -114,7 +154,7 @@ This work consists of files:
% installed with your updated complete \TeX system installation.
% Please refer to the user manual before using this package.
-%^^A \CheckSum{}
+% \CheckSum{1108}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\StopEventually{}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -160,114 +200,6 @@ This work consists of files:
}%
% \end{macrocode}
-%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% \subsection{Service macros}
-%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-% The next code is used to typeset the \GuIT logo;
-% if necessary the |\RequirePackage| macro loads the |xspace| package;
-% therefore these macros do not require any special terminator of the
-% control sequence name, because the |\xspace| command takes care of the
-% necessary space; this command avoids inserting any space if macros are
-% followed by any reasonable sign different form a space, such as
-% punctuation marks, parentheses, quotation marks, and so on.
-%
-% \begin{macrocode}
-
-\definecolor{verdeguit}{rgb}{0, 0.40, 0}
-\def\GuIT{\mbox{\color{verdeguit}\def\I{\textcolor{black}{I}}%
- \fontfamily{lmr}\fontseries{m}\fontshape{sc}\selectfont
-g\raisebox{-0.715ex}{\kern-0.26em u}\kern-0.13em\I\kern-0.14em t}\xspace}
-% \end{macrocode}
-% The following \LaTeX related logos are provided so as to make them
-% coherent with the smart final space we have discussed above. The real
-% difference is that it is necessary to use tue |etoolbox| facilities;
-% therefore the package is (possibly) loaded. With it we add at the end
-% of their original definition the |\xspace| command. But what is the
-% “original definition”? Of course |\TeX| and |\LaTeX| macros are defined
-% within the \LaTeX kernel, but the user might have loaded other packages
-% that have redefined them; therefore these patches are applied only at
-% the preamble end, so if other definitions were provided by other
-% packages loaded in the preamble, such redefinitions are patched.
-% Only |\XeLaTeX| is completely redefined, because the other existing
-% definitions work correctly only with OpenType fonts; with Type~1 fonts
-% and oblique fonts (italics, slanted, etc.) the reversed “E” generally
-% is inclined in the wrong direction; by rotating it, instead of
-% reflecting it, the “E” might not be the best, but al least slants in
-% the right direction.
-% \begin{macrocode}
-\RequirePackage{etoolbox}
-\AfterEndPreamble{%
-\DeclareRobustCommand{\TeX}{T\kern-.1667em
- \lower.5ex\hbox{E}\kern-.125emX\@\xspace}
-\DeclareRobustCommand{\LaTeX}{L\kern-.36em%
- {\sbox\z@ T%
- \vbox to\ht\z@{\hbox{\check@mathfonts
- \fontsize\sf@size\z@
- \math@fontsfalse\selectfont
- A}%
- \vss}%
- }%
- \kern-.15em%
- \TeX}}
-
-\DeclareRobustCommand*\TeXLive{\TeX\ Live\xspace}
-\DeclareRobustCommand*\MikTeX{Mik\TeX}
-\DeclareRobustCommand*\MacTeX{Mac\TeX}
-\DeclareRobustCommand*\pdfLaTeX{pdf\/\LaTeX}
-\DeclareRobustCommand*\LuaLaTeX{Lua\LaTeX}
-\DeclareRobustCommand*\XeLaTeX{X\ifdim\fontdimen1\font=0pt\kern-0.15em\fi
-\lower.5ex\hbox{\rotatebox[origin=c]{180}{E}}%
-\ifdim\fontdimen1\font=0pt\kern-0.15em\else\kern-0.275em\fi
-\LaTeX}
-\DeclareRobustCommand*\TikZ{Ti\emph{k}Z\xspace}
-
-% \end{macrocode}
-% Here we have a command that allows to display some framed code; it is
-% usable also to display the syntax of some commands; and when doing this
-% action the full range of service macros at the beginning of this section
-% play the best of their role. The English aliases for the opening and
-% closing environments are also provided. Attention: do not use |\\|
-% commands to specify new lines, unless you want to produce empty/blank
-% lines; within this environment the source code “end of line” characters
-% are not treated as spaces, but are actually executed according to their
-% name.
-% \begin{macrocode}
-\newenvironment{ttsintassi}{\begin{lrbox}{0}
-\minipage{\dimexpr\linewidth-2\fboxrule-2\fboxsep}\ttfamily\obeylines}%
-{\endminipage\end{lrbox}\center\fbox{\box0}\endcenter}
-\let\ttsyntax\ttsintassi \let\endttsyntax\endttsintassi
-% \end{macrocode}
-% The following macro probably will migrate to |curve2e|; meanwhile
-% this redefinition is useful in order to save some input and to make
-% a more flexible macro. We used it virtually in every picture we
-% inserted in the user manual of this package; of course the user does
-% not need to have any drawing superimposed onto a red grid. Actually
-% the grid is useful while drawing; when the image is complete, the
-% grid command may be deleted or its line commented out. The purpose
-% of this macro is to avoid the |\put| command to place the grid; and
-% since its reference point in the original definition is arbitrary,
-% the connection with real coordinates is very small and might become
-% confusing or of little help.
-% Now the syntax is the following:
-%\begin{ttsyntax}
-%\cs(GraphGrid)\parg{reference point or dimensions}\parg{overall dimensions}
-%\end{ttsyntax}
-% where the second argument is optional; if it is missing, the first
-% argument contains the \meta{overall dimensions}, otherwise it
-% contains the lower left corner coordinate that represent the
-% \meta{reference point} that an internal |\put| command will use
-% to place the grid; if no \meta{reference point} is specified, the
-% reference point is \texttt{0,0}, and the grid is |\put| with its
-% lower left corner in the origin of the |picture| coordinates.
-% \begin{macrocode}
-
-\unless\ifcsname Gr@phGrid\endcsname
-\let\originalGraphGrid\GraphGrid
-\RenewDocumentCommand\GraphGrid{r() d()}{%
-\IfValueTF{#2}{\put(#1){\originalGraphGrid(#2)}}%
- {\put(0,0){\originalGraphGrid(#1)}}}\fi
-% \end{macrocode}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\subsection{Labelling}
%^^A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/tex/latex/euclideangeometry/euclideangeometry.sty b/Master/texmf-dist/tex/latex/euclideangeometry/euclideangeometry.sty
index b6524bf0cb7..f7923a44fe4 100644
--- a/Master/texmf-dist/tex/latex/euclideangeometry/euclideangeometry.sty
+++ b/Master/texmf-dist/tex/latex/euclideangeometry/euclideangeometry.sty
@@ -11,7 +11,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2019/01/01]
\ProvidesPackage{euclideangeometry}%
- [2020-02-09 v.0.1.3 Extension package for curve2e]
+ [2020-02-11 v.0.1.4 Extension package for curve2e]
\RequirePackage{curve2e}
\@ifpackagelater{curve2e}{2020/01/18}{}%
@@ -25,47 +25,6 @@
\@@end
}%
-
-\definecolor{verdeguit}{rgb}{0, 0.40, 0}
-\def\GuIT{\mbox{\color{verdeguit}\def\I{\textcolor{black}{I}}%
- \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}
-\AfterEndPreamble{%
-\DeclareRobustCommand{\TeX}{T\kern-.1667em
- \lower.5ex\hbox{E}\kern-.125emX\@\xspace}
-\DeclareRobustCommand{\LaTeX}{L\kern-.36em%
- {\sbox\z@ T%
- \vbox to\ht\z@{\hbox{\check@mathfonts
- \fontsize\sf@size\z@
- \math@fontsfalse\selectfont
- A}%
- \vss}%
- }%
- \kern-.15em%
- \TeX}}
-
-\DeclareRobustCommand*\TeXLive{\TeX\ Live\xspace}
-\DeclareRobustCommand*\MikTeX{Mik\TeX}
-\DeclareRobustCommand*\MacTeX{Mac\TeX}
-\DeclareRobustCommand*\pdfLaTeX{pdf\/\LaTeX}
-\DeclareRobustCommand*\LuaLaTeX{Lua\LaTeX}
-\DeclareRobustCommand*\XeLaTeX{X\ifdim\fontdimen1\font=0pt\kern-0.15em\fi
-\lower.5ex\hbox{\rotatebox[origin=c]{180}{E}}%
-\ifdim\fontdimen1\font=0pt\kern-0.15em\else\kern-0.275em\fi
-\LaTeX}
-\DeclareRobustCommand*\TikZ{Ti\emph{k}Z\xspace}
-
-\newenvironment{ttsintassi}{\begin{lrbox}{0}
-\minipage{\dimexpr\linewidth-2\fboxrule-2\fboxsep}\ttfamily\obeylines}%
-{\endminipage\end{lrbox}\center\fbox{\box0}\endcenter}
-\let\ttsyntax\ttsintassi \let\endttsyntax\endttsintassi
-
-\unless\ifcsname Gr@phGrid\endcsname
-\let\originalGraphGrid\GraphGrid
-\RenewDocumentCommand\GraphGrid{r() d()}{%
-\IfValueTF{#2}{\put(#1){\originalGraphGrid(#2)}}%
- {\put(0,0){\originalGraphGrid(#1)}}}\fi
\providecommand\Pbox{}
\newlength\PbDim
\RenewDocumentCommand\Pbox{D(){0,0} O{cc} m O{0.5ex} s D<>{0}}{%