diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/profcollege/PfCCartesJeux.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/profcollege/PfCCartesJeux.tex | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/profcollege/PfCCartesJeux.tex b/Master/texmf-dist/tex/latex/profcollege/PfCCartesJeux.tex index bf9b9e0cdef..1e2075d91af 100644 --- a/Master/texmf-dist/tex/latex/profcollege/PfCCartesJeux.tex +++ b/Master/texmf-dist/tex/latex/profcollege/PfCCartesJeux.tex @@ -417,11 +417,16 @@ \ifboolKV[Cards]{Jointes}{\setlength{\largeurcards}{\largeurcarte}}{}% \ifboolKV[Cards]{Jointes}{\setlength{\hauteurcards}{\hauteurcarte}}{}% % décalage entre les cartes ou pas - \ifnum\PfCNbCartesLarg>1\relax - \setlength{\margeh}{\fpeval{(\paperwidth-\PfCNbCartesLarg*\largeurcards)/(\PfCNbCartesLarg-1)}pt}% + \ifnum\PfCNbCartesLarg>2\relax + \setlength{\margeh}{\fpeval{(\paperwidth-\PfCNbCartesLarg*\largeurcards)/(\PfCNbCartesLarg-1)}pt}% + % \setlength{\margeh}{0pt} + \else + \setlength{\margeh}{\fpeval{(\paperwidth-\PfCNbCartesLarg*\largeurcards)/(\PfCNbCartesLarg+1)}pt}% \fi - \ifnum\PfCNbCartesHaut>1\relax + \ifnum\PfCNbCartesHaut>2\relax \setlength{\margev}{\fpeval{(\paperheight-\PfCNbCartesHaut*\hauteurcards)/(\PfCNbCartesHaut-1)}pt}% + \else + \setlength{\margev}{\fpeval{(\paperheight-\PfCNbCartesHaut*\hauteurcards)/(\PfCNbCartesHaut+1)}pt}% \fi % \setlength{\hauteurtitre}{\fpeval{\useKV[Cards]{HauteurTheme}}pt}% |