diff options
author | Norbert Preining <norbert@preining.info> | 2020-01-13 03:01:06 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-01-13 03:01:06 +0000 |
commit | d8d4c8c20f235a6610baf22bea580063cc19e9a6 (patch) | |
tree | 09a89e3094b33de98b14cf7c002991b04c8ee969 /macros/latex/contrib/circledsteps/circledsteps.sty | |
parent | b0cb2086fcb39d89f7f5f6b8a9eea09f78272b52 (diff) |
CTAN sync 202001130301
Diffstat (limited to 'macros/latex/contrib/circledsteps/circledsteps.sty')
-rw-r--r-- | macros/latex/contrib/circledsteps/circledsteps.sty | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/macros/latex/contrib/circledsteps/circledsteps.sty b/macros/latex/contrib/circledsteps/circledsteps.sty index db49c69cbc..8b5d69cfc8 100644 --- a/macros/latex/contrib/circledsteps/circledsteps.sty +++ b/macros/latex/contrib/circledsteps/circledsteps.sty @@ -1,7 +1,7 @@ % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1996/06/01] -\ProvidesPackage{circledsteps}[2020/01/08 v1.2 Circled steps that you can reference] -\def\cstepsversion{v1.2} +\ProvidesPackage{circledsteps}[2020/01/12 v1.3 Circled steps that you can reference] +\def\cstepsversion{v1.3} % \end{macrocode} % % Copyright (c) 2019 Romano Giannetti @@ -35,7 +35,12 @@ \@ifpackageloaded{picture}{\patchcmd\PcOrg@@oval}{\patchcmd\@oval} {\pIIe@strokeGraph} {\ifcstepsfilledovals\pIIe@fillGraph\else\pIIe@strokeGraph\fi} - {}{} + {}{% + \PackageWarningNoLine{circledsteps}{% + Failed to patch either picture.sty or pict2e.sty:\MessageBreak + \space\space oval shapes will not be filled. + } + } \newsavebox\csteps@CBox @@ -56,8 +61,8 @@ \makebox[\csteps@XLength]{% X bigger than Y \makebox(0,\csteps@YLength){% \ifx\csteps@fillcolor\csteps@none\else - \color{\csteps@fillcolor}% - {\cstepsfilledovalstrue\put(0,0){\oval(\csteps@XLength,\csteps@YLength)}}% + {\color{\csteps@fillcolor}% + \cstepsfilledovalstrue\put(0,0){\oval(\csteps@XLength,\csteps@YLength)}}% \fi \ifx\csteps@outercolor\csteps@none\else \color{\csteps@outercolor}% @@ -77,8 +82,8 @@ \makebox[\csteps@YLength]{% \makebox(0,\csteps@YLength){% \ifx\csteps@fillcolor\csteps@none\else - \color{\csteps@fillcolor}% - \put(0,0){\circle*{\csteps@YLength}}% + {\color{\csteps@fillcolor}% + \put(0,0){\circle*{\csteps@YLength}}}% \fi \ifx\csteps@outercolor\csteps@none\else \color{\csteps@outercolor}% |