diff options
author | Karl Berry <karl@freefriends.org> | 2020-01-12 21:40:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-01-12 21:40:19 +0000 |
commit | ab8cc8d27680e68accc6c8975c5f66dfbd1f5300 (patch) | |
tree | 6cad2ca5c24249208de2bf382cabae16576a5d6e /Master/texmf-dist/tex | |
parent | f25280c072d3756c0ff3c440b463b03ec80c71e1 (diff) |
circledsteps (12jan20)
git-svn-id: svn://tug.org/texlive/trunk@53382 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty b/Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty index db49c69cbc7..8b5d69cfc8c 100644 --- a/Master/texmf-dist/tex/latex/circledsteps/circledsteps.sty +++ b/Master/texmf-dist/tex/latex/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}% |