\NeedsTeXFormat{LaTeX2e}%
\def\PackageName{bclogo}%
-\def\fileversion{v3.1}%
-\def\filedate{2016/01/10}%
+\def\fileversion{v3.11}%
+\def\filedate{2016/10/31}%
\ProvidesPackage{bclogo}[\filedate\space\fileversion]%
%
% Extensions a charger
}%
\else%pstricks
\mdfdefinestyle{bc@style}{%
-pstrickssetting={blur=\ifbclogoblur true\else false\fi},%
singleextra={%
\setlength{\bc@invboxh}{\dimexpr\mdfboundingboxheight-2\mdf@innerlinewidth@length-2\mdf@outerlinewidth@length-%
2\mdf@middlelinewidth@length-\mdf@innertopmargin@length-\mdf@innerbottommargin@length\relax}%
\def\bcval@nobreak{\ifKV@bclogo@nobreak true\else false\fi}% gestion nobreak
\def\bcval@shadow{\ifKV@bclogo@ombre true\else false\fi}% gestion ombre
%
+%
+\ifbclogoblur%
+\mdframed[%
+style=bc@style,%
+innerleftmargin={\dimexpr\ifKV@bclogo@avecBarre\logowidth\else\z@\fi+\bcval@framesep\relax},%
+innertopmargin={\dimexpr\ht\bc@envbox+\dp\bc@envbox+\bcval@framesep\relax},%hauteur titre+framesep
+innerrightmargin=\bcval@framesep,%
+innerbottommargin=\bcval@framesep,%
+rightmargin={\dimexpr\bcval@margeD+\ifKV@bclogo@ombre\bcval@epOmbre cm\else\z@\fi\relax},%
+leftmargin=\bcval@margeG,%
+backgroundcolor=\bcval@couleur,%
+fontcolor=\bcval@couleurTexte,%
+middlelinewidth=\bcval@borderWidth,%
+linecolor=\bcval@couleurBord,%
+roundcorner={\bcval@arrondi cm},%
+nobreak=\bcval@nobreak,%l'option nobreak de mdframed vient avec la version 0.9
+shadow=\bcval@shadow,%
+shadowsize=\bcval@epOmbre cm,%
+shadowcolor=\bcval@couleurOmbre,%
+pstrickssetting={%
+ blur=true%
+},%
+]%
+\else%
\mdframed[%
- style=bc@style,%
- innerleftmargin={\dimexpr\ifKV@bclogo@avecBarre\logowidth\else\z@\fi+\bcval@framesep\relax},%
- innertopmargin={\dimexpr\ht\bc@envbox+\dp\bc@envbox+\bcval@framesep\relax},%hauteur titre+framesep
- innerrightmargin=\bcval@framesep,%
- innerbottommargin=\bcval@framesep,%
- rightmargin={\dimexpr\bcval@margeD+\ifKV@bclogo@ombre\bcval@epOmbre cm\else\z@\fi\relax},%
- leftmargin=\bcval@margeG,%
- backgroundcolor=\bcval@couleur,%
- fontcolor=\bcval@couleurTexte,%
- middlelinewidth=\bcval@borderWidth,%
- linecolor=\bcval@couleurBord,%
- roundcorner={\bcval@arrondi cm},%
- nobreak=\bcval@nobreak,%l'option nobreak de mdframed vient avec la version 0.9
- shadow=\bcval@shadow,%
- shadowsize=\bcval@epOmbre cm,%
- shadowcolor=\bcval@couleurOmbre%
+style=bc@style,%
+innerleftmargin={\dimexpr\ifKV@bclogo@avecBarre\logowidth\else\z@\fi+\bcval@framesep\relax},%
+innertopmargin={\dimexpr\ht\bc@envbox+\dp\bc@envbox+\bcval@framesep\relax},%hauteur titre+framesep
+innerrightmargin=\bcval@framesep,%
+innerbottommargin=\bcval@framesep,%
+rightmargin={\dimexpr\bcval@margeD+\ifKV@bclogo@ombre\bcval@epOmbre cm\else\z@\fi\relax},%
+leftmargin=\bcval@margeG,%
+backgroundcolor=\bcval@couleur,%
+fontcolor=\bcval@couleurTexte,%
+middlelinewidth=\bcval@borderWidth,%
+linecolor=\bcval@couleurBord,%
+roundcorner={\bcval@arrondi cm},%
+nobreak=\bcval@nobreak,%l'option nobreak de mdframed vient avec la version 0.9
+shadow=\bcval@shadow,%
+shadowsize=\bcval@epOmbre cm,%
+shadowcolor=\bcval@couleurOmbre,%
]%
+\fi%
}%
{%
\endmdframed\par%