-%% This is a part of bclogo.sty v2.27
+%% This is a part of bclogo.sty v3.0
%% This file is loaded by bclogo when pstrick is used
%% It is a modification of md-frame-3.mdf file, from the mdframed package
%% This file may be distributed under the terms of the LaTeX Project
%
\def\md@putbox@single{%boite qui tient sur la page
\leftline{\null\hspace*{\mdf@leftmargin@length}%%
- \setlength\mdfboxwidth{\wd\@tempboxa}%
- \setlength\mdfboxheight{\ht\@tempboxa+\dp\@tempboxa}%
- \setlength{\bc@invboxh}{\mdfboxheight}%
+ \setlength\bc@mdfboxwidth{\wd\@tempboxa}%
+ \setlength\bc@mdfboxheight{\ht\@tempboxa+\dp\@tempboxa}%
+ \setlength{\bc@invboxh}{\bc@mdfboxheight}%
\setlength{\mdfboundingboxheight}{%
- \mdfboxheight%
+ \bc@mdfboxheight%
+\mdf@innertopmargin@length%
+\mdf@innerbottommargin@length%
% +\mdf@middlelinewidth@length%
\ifbool{mdf@topline}{\addtolength{\mdfboundingboxheight}{\mdf@middlelinewidth@length}}{}%
\ifbool{mdf@bottomline}{\addtolength{\mdfboundingboxheight}{\mdf@middlelinewidth@length}}{}%
\setlength{\mdfboundingboxwidth}{%
- \mdfboxwidth%
+ \bc@mdfboxwidth%
+\mdf@innerleftmargin@length%
+\mdf@innerrightmargin@length%
% +\mdf@middlelinewidth@length%
\ifKV@bclogo@ombre%cadre ombre
\ifKV@bclogo@blur%blur
\psframe[fillstyle=solid, shadow=true, blur=true, shadowsize=\bcval@epOmbre cm,%
- shadowcolor=\bcval@couleurOmbre, fillcolor=\bcval@couleur,linewidth=\bcval@borderWidth,%
+ shadowcolor=\bcval@couleurOmbre, fillcolor=\bcval@couleur,linewidth=\bcval@borderWidth,%
linestyle=\ifKV@bclogo@noborder none\else solid\fi,linecolor=\bcval@couleurBord]%
(0,0)(\mdfboundingboxwidth,\mdfboundingboxheight)%
\else%
\psframe[fillstyle=solid, shadow=true, shadowsize=\bcval@epOmbre cm,%
- shadowcolor=\bcval@couleurOmbre, fillcolor=\bcval@couleur,linewidth=\bcval@borderWidth,%
+ shadowcolor=\bcval@couleurOmbre, fillcolor=\bcval@couleur,linewidth=\bcval@borderWidth,%
linestyle=\ifKV@bclogo@noborder none\else solid\fi,linecolor=\bcval@couleurBord]%
(0,0)(\mdfboundingboxwidth,\mdfboundingboxheight)%
\fi%
\else%
- \psframe[fillstyle=solid, fillcolor=\bcval@couleur,linewidth=\bcval@borderWidth,
+ \psframe[fillstyle=solid, fillcolor=\bcval@couleur,linewidth=\bcval@borderWidth,
linestyle=\ifKV@bclogo@noborder none\else solid\fi,linecolor=\bcval@couleurBord]%
(0,0)(\mdfboundingboxwidth,\mdfboundingboxheight)%
\fi%
\end{pspicture}%
}%
}%
-
-
-\def\md@putbox@first{%tete d'une boite coupée
+%
+\def\md@putbox@first{%tete d'une boite coupée
\leftline{\null\hspace*{\mdf@leftmargin@length}%%
- \setlength\mdfboxwidth{\wd\tw@}%
- \setlength\mdfboxheight{\ht\tw@+\dp\tw@}%
- \setlength{\bc@invboxh}{\mdfboxheight}%
+ \setlength\bc@mdfboxwidth{\wd\tw@}%
+ \setlength\bc@mdfboxheight{\ht\tw@+\dp\tw@}%
+ \setlength{\bc@invboxh}{\bc@mdfboxheight}%
\setlength{\mdfboundingboxheight}{%
- +\mdfboxheight%
+ +\bc@mdfboxheight%
+\mdf@innertopmargin@length%
+\mdf@splitbottomskip@length%
}%
\ifbool{mdf@topline}{\addtolength{\mdfboundingboxheight}{\mdf@middlelinewidth@length}}{}%
\setlength{\mdfboundingboxwidth}{%
+\mdf@innerleftmargin@length%
- +\mdfboxwidth
+ +\bc@mdfboxwidth
+\mdf@innerrightmargin@length%
}%
\ifbool{mdf@leftline}{\addtolength{\mdfboundingboxwidth}{\mdf@middlelinewidth@length}}{}%
\fi%
}%
\rput[tl](\dimexpr0.5\bcval@framesep+\mdf@middlelinewidth@length,%
- \dimexpr\mdfboundingboxheight-0.75\bcval@framesep-\mdf@middlelinewidth@length){\usebox\bc@envbox}%
+ \dimexpr\mdfboundingboxheight-0.75\bcval@framesep-\mdf@middlelinewidth@length){\box\bc@envbox}%
\rput[bl](\dimexpr\mdf@middlelinewidth@length+0.5\bcval@framesep,0){\bc@barre}%
\rput[bl](\dimexpr\mdf@innerleftmargin@length+\mdf@middlelinewidth@length,0){\box\tw@}%
\end{pspicture}%
}%
-}
-
+}%
+%
\def\md@putbox@middle{%milieu d'une boite coupée (occupe une page entière)
\leftline{\null\hspace*{\mdf@leftmargin@length}%%
- \setlength\mdfboxwidth{\wd\tw@}%
- \setlength\mdfboxheight{\ht\tw@+\dp\tw@}%
- \setlength{\bc@invboxh}{\mdfboxheight}%
+ \setlength\bc@mdfboxwidth{\wd\tw@}%
+ \setlength\bc@mdfboxheight{\ht\tw@+\dp\tw@}%
+ \setlength{\bc@invboxh}{\bc@mdfboxheight}%
\setlength{\mdfboundingboxheight}{%
- +\mdfboxheight%
+ +\bc@mdfboxheight%
+\mdf@splitbottomskip@length%
}%
\setlength{\mdfboundingboxwidth}{%
+\mdf@innerleftmargin@length%
- +\mdfboxwidth%
+ +\bc@mdfboxwidth%
+\mdf@innerrightmargin@length%
}%
\ifbool{mdf@leftline}{\addtolength{\mdfboundingboxwidth}{\mdf@middlelinewidth@length}}{}%
%
\def\md@putbox@second{%pied d'une boite coupée
\leftline{\null\hspace*{\mdf@leftmargin@length}%%
- \setlength\mdfboxwidth{\wd\@tempboxa}%
- \setlength\mdfboxheight{\ht\@tempboxa+\dp\@tempboxa}%
- \setlength{\bc@invboxh}{\mdfboxheight}%
+ \setlength\bc@mdfboxwidth{\wd\@tempboxa}%
+ \setlength\bc@mdfboxheight{\ht\@tempboxa+\dp\@tempboxa}%
+ \setlength{\bc@invboxh}{\bc@mdfboxheight}%
\setlength{\mdfboundingboxheight}{%
- +\mdfboxheight%
+ +\bc@mdfboxheight%
+\mdf@innerbottommargin@length%
}%
\ifbool{mdf@bottomline}{\addtolength{\mdfboundingboxheight}{\mdf@middlelinewidth@length}}{}%
\setlength{\mdfboundingboxwidth}{%
+\mdf@innerleftmargin@length%
- +\mdfboxwidth
+ +\bc@mdfboxwidth
+\mdf@innerrightmargin@length%
}%
\ifbool{mdf@leftline}{\addtolength{\mdfboundingboxwidth}{\mdf@middlelinewidth@length}}{}%