summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
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 /Master/texmf-dist/source/latex
parentd2da7f5f40ade904cccb2e82630d15bd42520ff5 (diff)
euclideangeometry (11feb20)
git-svn-id: svn://tug.org/texlive/trunk@53757 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/euclideangeometry/euclideangeometry.dtx152
1 files changed, 42 insertions, 110 deletions
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%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%