diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/curve2e/curve2e-manual.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/curve2e/curve2e-manual.tex | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/curve2e/curve2e-manual.tex b/Master/texmf-dist/doc/latex/curve2e/curve2e-manual.tex index e2dc3de5a67..23a35a8f85a 100644 --- a/Master/texmf-dist/doc/latex/curve2e/curve2e-manual.tex +++ b/Master/texmf-dist/doc/latex/curve2e/curve2e-manual.tex @@ -36,17 +36,19 @@ \renewcommand\cs[1]{{\normalfont\texttt{\char92#1}}} \providecommand\Pbox{} -\RenewDocumentCommand\Pbox{D(){0,0} O{cc} m O{0.5ex}}{% -\put(#1){% -\dimendef\Dim=2566\relax -\settowidth\Dim{#2}% -\edef\Rapp{\fpeval{\Dim/{1ex}}}% +\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}% +\edef\Rapp{\fpeval{\PbDim/{1ex}}}% \fptest{\Rapp > 1.5}{\fboxsep=0.5ex}{\fboxsep=0.75ex}% -\fboxrule=0pt -\fptest{#4 = 0sp}{\makebox(0,0)[#2]{\fbox{$\relax#3\relax$}}}% -{\edef\Diam{\fpeval{#4/\unitlength}}% -\makebox(0,0){\circle*{\Diam}}% -\makebox(0,0)[#2]{\fbox{$\relax\mathsf#3\relax$}}}% +\IfBooleanTF{#5}{\fboxrule=0.4pt}{\fboxrule=0pt}% +\fptest{#4 = 0sp}% + {\makebox(0,0)[#2]{\fbox{$\relax#3\relax$}}}% + {\edef\Diam{\fpeval{(#4)/\unitlength}}% + \makebox(0,0){\circle*{\Diam}}% + \makebox(0,0)[#2]{\fbox{$\relax\mathsf#3\relax$}}% + }}}% }\ignorespaces} \def\LissajousCoefs#1,#2,#3,#4,#5,#6!{% |