summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/profcollege/latex/PfCResoudreEquation.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/profcollege/latex/PfCResoudreEquation.tex')
-rw-r--r--macros/latex/contrib/profcollege/latex/PfCResoudreEquation.tex18
1 files changed, 9 insertions, 9 deletions
diff --git a/macros/latex/contrib/profcollege/latex/PfCResoudreEquation.tex b/macros/latex/contrib/profcollege/latex/PfCResoudreEquation.tex
index ae3896a98e..b88aa3d582 100644
--- a/macros/latex/contrib/profcollege/latex/PfCResoudreEquation.tex
+++ b/macros/latex/contrib/profcollege/latex/PfCResoudreEquation.tex
@@ -47,9 +47,9 @@
\setcounter{Nbequa}{0}
%CT
-\newdimen\fdashwidth \fdashwidth = 0.8pt % \'epaisseur traits
-\newdimen\fdashlength \fdashlength = 0.5mm % longueur des pointill\'es et s\'eparation entre pointill\'es
-\newdimen\fdashsep \fdashsep = 3pt % s\'eparateur entre contenu et traits
+\newdimen\fdashwidth\fdashwidth = 0.8pt % \'epaisseur traits
+\newdimen\fdashlength\fdashlength = 0.5mm % longueur des pointill\'es et s\'eparation entre pointill\'es
+\newdimen\fdashsep\fdashsep = 3pt % s\'eparateur entre contenu et traits
\def\fdash#1{%
\leavevmode\begingroup%
@@ -57,19 +57,19 @@
\def\hdash{\vrule height\fdashwidth width\fdashlength\relax}%
\def\vdash{\hrule height\fdashlength width\fdashwidth\relax}%
\def\dashblank{\kern\fdashlength}%
- \ifdim\fdashsep>0pt
+ \ifdim\fdashsep>0pt%
\setbox0\hbox{\vrule width0pt height\dimexpr\ht0+\fdashsep depth\dimexpr\dp0+\fdashsep\kern\fdashsep\unhbox0 \kern\fdashsep}%
- \fi
+ \fi%
\edef\hdash{\hbox to\the\wd0{\noexpand\color{Csymbole}\hdash\kern.5\fdashlength\xleaders\hbox{\hdash\dashblank}\hfil\hdash}}%
\edef\vdash{\vbox to\the\dimexpr\ht0+\dp0+2\fdashwidth{\noexpand\color{Csymbole}\vdash\kern.5\fdashlength\xleaders\vbox{\vdash\dashblank}\vfil\vdash}}%
\hbox{%
- \vdash
+ \vdash%
\vtop{\vbox{\offinterlineskip\hdash\hbox{\unhbox0 }\hdash}}%
\vdash}%
- \endgroup
-}
+ \endgroup%
+}%
% fin CT
-\def\Fdash#1{\raisebox{-2\fdashsep+\fdashwidth}{\fdash{#1}}}
+\def\Fdash#1{\raisebox{-2\fdashsep+\fdashwidth}{\fdash{#1}}}%
%Une simplification de a/b est possible ou non ?
\newboolean{Simplification}