summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/curve2e/curve2e-manual.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/curve2e/curve2e-manual.tex')
-rw-r--r--macros/latex/contrib/curve2e/curve2e-manual.tex19
1 files changed, 9 insertions, 10 deletions
diff --git a/macros/latex/contrib/curve2e/curve2e-manual.tex b/macros/latex/contrib/curve2e/curve2e-manual.tex
index e7da649852..614f853cbd 100644
--- a/macros/latex/contrib/curve2e/curve2e-manual.tex
+++ b/macros/latex/contrib/curve2e/curve2e-manual.tex
@@ -75,15 +75,6 @@
\NewDocumentCommand\Pall{O{1.5} R(){0,0}}{\put(#2){\circle*{#1}}}
-\def\legenda(#1)#2{\put(#1){\setbox3333\hbox{$#2$}%
- \dimen3333\dimexpr\wd3333*\p@/\unitlength +3\p@\relax
- \edef\@tempA{\strip@pt\dimen3333}%
- \framebox(\@tempA,7){\box3333}}}
-
-\NewDocumentCommand\Zbox{R(){0,0} O{cc} m O{1}}{%
-\put(#1){\makebox(0,0)[#2]{\fboxrule=0pt\fboxsep=3pt\fbox{$#3$}}\makebox(0,0)[cc]{\circle*{#4}}}}
-
-
\providecommand\setfontsize{}
\DeclareRobustCommand\setfontsize[2][1.2]{%
\linespread{#1}\fontsize{#2}{#2}\selectfont}
@@ -462,6 +453,14 @@ Remember to delete all these subfolders if you decide to install a complete upda
\pack{pict2e} can receive. If the user wants to use the \pack{xcolor}
package, it has to load it \emph{before} \pack{curve2e}.
%%
+\item Since they are used very much in the following examples, we recall some commands to label certain drawing elements, such as points, lines, arcs, and similar lines, ad to insert legends in some figures. They are \cs{legenda}, \cs{Zbox} and \cs{Pbox}; their syntax is the following:
+\begin{flushleft}\ttfamily\obeylines
+|\legenda|\parg{coordinates}\marg{formula}
+|\Zbox|\parg{coordinates}\oarg{position}\marg{formula}\oarg{dot diameter}
+|\Pbox|\parg{coordinates}\oarg{position}\marg{text}\oarg{dot diameter}\meta{\texttt{*}}\aarg{angle}
+\end{flushleft}
+They are described in any up to date documentation of package \pack{curve2e}.
+%%
\item The user is offered new commands in order to control the line
terminators and the line joins; specifically:
\begin{itemize}
@@ -497,7 +496,7 @@ Remember to delete all these subfolders if you decide to install a complete upda
follow the standard syntax:
\begin{flushleft}
|\linethickness|\marg{dimensioned value}\\
- |\defaultlinethicknes|\marg{dimensioned value}
+ |\defaultlinethickness|\marg{dimensioned value}
\end{flushleft}
where \meta{dimensioned value} means either a length specification
complete of its units, or a dimensional expression.