summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/profcollege/latex/ProfCollege.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-05-14 03:00:45 +0000
committerNorbert Preining <norbert@preining.info>2023-05-14 03:00:45 +0000
commite14ce2a2aedfdc10d3e64b5b632a0b5aef10a618 (patch)
tree8a7b37dcb53fc67c655fa38ee7db5fec296c48c5 /macros/latex/contrib/profcollege/latex/ProfCollege.sty
parentb083364ee56b8a47b344b455440f0fdc16c9306b (diff)
CTAN sync 202305140300
Diffstat (limited to 'macros/latex/contrib/profcollege/latex/ProfCollege.sty')
-rw-r--r--macros/latex/contrib/profcollege/latex/ProfCollege.sty22
1 files changed, 13 insertions, 9 deletions
diff --git a/macros/latex/contrib/profcollege/latex/ProfCollege.sty b/macros/latex/contrib/profcollege/latex/ProfCollege.sty
index 80dca0a8df..c80726c53a 100644
--- a/macros/latex/contrib/profcollege/latex/ProfCollege.sty
+++ b/macros/latex/contrib/profcollege/latex/ProfCollege.sty
@@ -2,9 +2,9 @@
% licence : Released under the LaTeX Project Public License v1.3c
% or later, see http://www.latex-project.org/lppl.txtf
\NeedsTeXFormat{LaTeX2e}%
-\def\filedate{2023/05/01}%
+\def\filedate{2023/05/15}%
\let\PfCfiledate\filedate%
-\def\fileversion{0.99-z-k}%
+\def\fileversion{0.99-z-l}%
\let\PfCfileversion\fileversion%
\ProvidesPackage{ProfCollege}[\filedate\space v\fileversion\space Aide pour utiliser LaTeX au college]%
@@ -45,6 +45,9 @@
\DeclareSIUnit{\octet}{o}%
\DeclareSIUnit{\fahrenheit}{\text{\textdegree}F}%
\DeclareSIUnit{\EuRo}{€}%
+\DeclareSIUnit{\Dollar}{\$}%
+\DeclareSIUnit{\LivreSterling}{£}%
+
\RequirePackage[table,svgnames]{xcolor}%Gestion des couleurs
\RequirePackage{xstring}%Gestion de chaines de caractères
@@ -213,18 +216,17 @@
\newcommand\PfCfrac[2]{%
\ooalign{$\genfrac{}{}{0pt}{0}{#1}{#2}$\cr\PfCdotover\cr}%
}%
-\makeatother%
-\newcommand\MultiCol[2]{%
+\NewDocumentCommand\MultiCol{O{}mm}{%
\setsepchar[*]{/}%
- \readlist*\ListeNombreCol{#1}%
+ \readlist*\ListeNombreCol{#2}%
\setsepchar[*]{§}%
- \readlist*\ListeContenuCol{#2}%
- \xintFor* ##1 in {\xintSeq {1}{\ListeNombreCollen}}\do{%
- \begin{minipage}{\ListeNombreCol[##1]\linewidth}%
+ \readlist*\ListeContenuCol{#3}%
+ \xintFor* ##1 in {\xintSeq{1}{\ListeNombreCollen}}\do{%
+ \begin{minipage}[#1]{\ListeNombreCol[##1]\linewidth}%
\ListeContenuCol[##1]%
\end{minipage}%
- \xintifboolexpr{##1<\ListeNombreCollen}{\hfill}{}%
+ \xintifboolexpr{##1<\ListeNombreCollen}{\hfill\vrule width \columnseprule\hfill}{}%
}%
}%
@@ -569,6 +571,8 @@
}%\emoticon
}%\raisebox
}
+\input{PfCErathostene}
+\input{PfCDobble}
\input{PfCPavage}
\input{PfCNonogramme}
\input{PfCJeuRangement}