%% CML.cfg pour cedram.cls
%% Version du 07-04-2016
%% Metadonnees
% titre du journal 
\def\currentjournaltitle{Confluentes Mathematici}%
% entite editrice du journal 
\protected@edef\currentjournalpublisher{Institut Camille Jordan}
% titre abrege du journal
\def\currentjournalshorttitle{Confluentes Math.}%
% acronyme
\def\cdr@journalacro{CML}
% ISSN
%\ISSN{1793-7434}
\eISSN{1793-7434}
%
\CDRjournalURL{cml}
%
\RequirePackage{soul}
\RequirePackage{multicol}
\RequirePackage{afterpage}
\RequirePackage[b5paper,margin=70.4pt]{geometry}
%\RequirePackage[b5paper]{geometry}
%% si DVI -> PS -> PDF
%\ifcdr@HTML
\def\cdr@dvipsoptions{ -T158mm,240mm }%
%\fi
% %%%% Versions jolies -- macros specifiques
\RequirePackage{amssymb}
\let\le\leqslant
\let\ge\geqslant 
\let\leq\leqslant   
\let\geq\geqslant
\def\vcorr{~\\*[-2\baselineskip]}
%% Truc discutable...
\DeclareRobustCommand\em
        {\@nomath\em \ifdim \fontdimen\@ne\font >\z@
                       \upshape \else \slshape \fi}
%%
\def\todo{A faire !}
\def\pointir{\discretionary{.}{}{.\kern.3em---\kern.4em\ignorespaces}}
% Pas de mise en romain des numerotations intempestives !
\def\@upn#1{#1}
\let\cdr@up\relax
\AtBeginDocument{%% 
%% compatibilite enumerate.sty
\@ifpackageloaded{enumerate}{%
\def\@@enum@[#1]{%
  \@enLab{}\let\@enThe\@enQmark
  \@enloop#1\@enum@
  \ifx\@enThe\@enQmark\@warning{The counter will not be printed.%
   ^^J\space\@spaces\@spaces\@spaces The label is: \the\@enLab}\fi
  \expandafter\edef\csname label\@enumctr\endcsname{\the\@enLab}%
  \expandafter\let\csname the\@enumctr\endcsname\@enThe
  \csname c@\@enumctr\endcsname7
  \expandafter\settowidth
            \csname leftmargin\romannumeral\@enumdepth\endcsname
            {\the\@enLab\hspace{\labelsep}}%
  \advance\leftmargini by \normalparindent
  \@enum@}
\def\@enum@{\list{\csname label\@enumctr\endcsname}%
           {\usecounter{\@enumctr}\def\makelabel##1{\hss\llap{\upshape##1}}}}%
}{}}%
%% Macros pratiques
\def\tn#1{\text{\normalfont#1}}
\newcommand\nfrac[2]{#1/#2}
\newcommand\pfrac[2]{(#1/#2)}
%% Parametres de mise en page
%% 1re page
\pagenumbering{arabic}%
%% Mention de copyright
\def\@setcopyright{}%
%% Pas de logo pour certains articles speciaux
%\def\NoLogo{\xdef\article@logo{}}
% %% Identificiation article premiere page
 \def\@logofont{\Small}
 \def\article@logo{%
   \set@logo{%
     {\shortpublname}\\
     \ifx\@empty\currentvolume \textbf{Version de travail}
     \else \textbf{\currentvolume}, \currentissue\ (\currentyear) \pageinfo
     \fi
   }%
 }
% Presentation des auteurs
\def\author@andify{%
  \nxandlist {\unskip ,\penalty-2 \space\ignorespaces}%
    {\unskip {} \@@and~}%
    {\unskip {} \penalty-1  \@@and~}%
}
\def\@setredactor@contribs{%
\if@francais
R\'edig\'e par
\else
Redacted by
\fi
\author@andify\redactor@contribs
\redactor@contribs
}
\def\@setappendixwriter@contribs{%
\if@francais
Avec un appendice par
\else
With an appendix by
\fi
\author@andify\appendixwriter@contribs
\appendixwriter@contribs
}
\def\@settranslators{%
  \def\lastname##1{\def\l@stmp@{##1}\uppercasenonmath\l@stmp@\l@stmp@}%
  \def\junior##1{\unskip, ##1}%
\andify\@translators
\if@francais
Traduit par
\else
Translated by
\fi
\@translators\@addpunct.}
\def\@setthanks{\def\thanks##1{\par##1\@addpunct.}%
  (*)\kern\fontdimen2\font\thankses}% 
\def\@setsubjclass{%
  {\slshape\subjclassname\thsp:}\space\@subjclass\@addpunct.}
\def\@setkeywords{%
  {\slshape \keywordsname\thsp:}\space \@keywords\@addpunct.}
\if@francais
 \def\keywordsname{Mots-cl\'es}
 \def\subjclassname{Classification math.}
\else
 \def\keywordsname{Keywords}
 \def\subjclassname{Math. classification}
\fi
\@xp\let\csname subjclassname@2000\endcsname \subjclassname
\RequirePackage[french,orig]{isodate}
%% Derniere page
\def\@setdatereceived{%
  \nobreak\par
\if@francais
\selectlanguage{french}
  Manuscrit re\c cu le \printdate\@datereceived,%
\else
\selectlanguage{english}
  Manuscript received \printdate\@datereceived,%
\fi
}
\def\@setdaterevised{%
  \newline\nopagebreak
\if@francais
\selectlanguage{french}
  r\'evis\'e le \printdate\@daterevised,%
\else
\selectlanguage{english}
  revised \printdate\@daterevised,%
\fi
}
\def\@setdateaccepted{%
  \newline\nopagebreak
\if@francais
\selectlanguage{french}
  accept\'e le \printdate\@dateaccepted.%
\else
\selectlanguage{english}
  accepted \printdate\@dateaccepted.%
}
%
\def\rightragged{%
  \let\\\@centercr\@rightskip\@flushglue \rightskip\@rightskip
%  \leftskip\z@skip
%  \parindent\z@
}
\def\@setaddresses{\par
  \ifcdr@hyperref  \url@samestyle
  \else\def\url##1{##1}%
  \def\href##1##2{##2}\fi
%  \nobreak 
  \begingroup
   \rightragged
  \interlinepenalty\@M
    \def\lastname##1{\def\l@stmp@{##1}\uppercasenonmath\l@stmp@\l@stmp@}%
  \def\junior##1{\unskip, ##1}%
\ifcdr@printnames
  \def\author##1{\par\allowbreak\addvspace\medskipamount\ignorespaces##1\unskip}%
  \def\noauthor##1##2{\par\allowbreak\addvspace\medskipamount\ignorespaces##2\unskip}%
  \def\address##1##2{\begingroup
    \newline\nopagebreak%\addvspace\bigskipamount\indent
    \@ifnotempty{##1}{(\ignorespaces##1\unskip)\newline\nopagebreak }%
    {\ignorespaces##2\unskip}\endgroup}%
\else
   \def\author##1{\relax}%
   \def\noauthor##1{\relax}%
   \def\address##1##2{\par\allowbreak\addvspace\medskipamount\ignorespaces\begingroup
    %\newline\nopagebreak%\addvspace\bigskipamount\indent
    \@ifnotempty{##1}{\ignorespaces##1\unskip\newline\nopagebreak }%
    {\ignorespaces##2\unskip}\endgroup}%
\fi
  \def\curraddr##1##2{\begingroup
    \newline\nopagebreak
    \@ifnotempty{##2}{\curraddrname{}%
      \@ifnotempty{##1}{(\ignorespaces##1\unskip)}\thsp:\\*
      ##2}\endgroup}%
  \def\email##1##2{\begingroup\nopagebreak\par\addvspace\smallskipamount
    \@ifnotempty{##2}{%\nobreak%\indent
      \@ifnotempty{##1}{\emailaddrname \space (\ignorespaces##1\unskip):\\*}%
      \href{mailto:##2}{##2}}\endgroup}%
  \def\urladdr##1##2{\begingroup\newline\nopagebreak
%    \def~{\char`\~}%
    \@ifnotempty{##2}{%\nobreak\indent\urladdrname
      \@ifnotempty{##1}{\urladdrname \space (\ignorespaces##1\unskip):\\*}%
      \url{##2}}\endgroup}%
  \addresses
  \endgroup
}
%% final

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Theoremes
\OneNumberAllTheorems
\def\th@plain{%
  \thm@bodyfont{\normalfont\slshape}%
  \thm@headfont{\normalfont\scshape}%
  \thm@notefont{\normalfont}%
  \thm@headpunct{\pointir}%
  \thm@headsep 0\p@\relax
  \let\thm@indent\indent 
  \def\thm@space@setup{%
    \thm@preskip=\smallskipamount
    \thm@postskip=\thm@preskip}%
  \slshape
}
\def\th@definition{%
  \thm@bodyfont{\normalfont}%
  \thm@headfont{\normalfont\scshape}%
  \thm@notefont{\normalfont}%\slshape}%
  \thm@headpunct{\pointir}%
  \thm@headsep 0\p@\relax
  \let\thm@indent\indent 
  \thm@headsep 0\p@\relax
  \def\thm@space@setup{%
    \thm@preskip=\smallskipamount
    \thm@postskip=\thm@preskip}%
 % \slshape
}
\def\th@remark{%
  \thm@bodyfont{\normalfont}%
  \thm@headfont{\normalfont\slshape}%
  \thm@notefont{\normalfont}%\slshape}%
  \thm@headpunct{\pointir}%
  \let\thm@indent\indent 
  \thm@headsep 0\p@\relax
  \def\thm@space@setup{%
    \thm@preskip=\smallskipamount
    \thm@postskip=\thm@preskip}%
}
%\let\th@definition\th@plain
% Versions coupees -- sans pointir !
 \def\th@plainc{%
   \th@plain
   \thm@headpunct{.}%
   \def\thmheadnl{\newline\indent}%
   \thm@headsep\z@skip
 }
 \def\th@remarkc{%
   \th@remark
   \thm@headpunct{.}%
   \def\thmheadnl{\newline\indent}%
   \thm@headsep\z@skip
 }
\AtBeginDocument{%
\theoremstyle{plainc}%
  \newtheorem{theoc}[\cdr@thm]{\theoname}%
  \newtheorem{propc}[\cdr@thm]{\propname}%
  \newtheorem{conjc}[\cdr@thm]{\conjname}%
  \newtheorem{coroc}[\cdr@thm]{\coroname}%
  \newtheorem{lemmc}[\cdr@thm]{\lemmname}%
  \newtheorem{defic}[\cdr@thm]{\definame}%
  \newtheorem*{theoc*}{\theoname}%
  \newtheorem*{propc*}{\propname}%
  \newtheorem*{conjc*}{\conjname}%
  \newtheorem*{coroc*}{\coroname}%
  \newtheorem*{lemmc*}{\lemmname}%
  \newtheorem*{defic*}{\definame}%
  \theoremstyle{remarkc}%
  \newtheorem{notac}[\cdr@thm]{\notaname}%
  \newtheorem{notasc}[\cdr@thm]{\notasname}%
  \newtheorem{remac}[\cdr@thm]{\remaname}%
  \newtheorem{remasc}[\cdr@thm]{\remasname}%
  \newtheorem{exemc}[\cdr@thm]{\exemname}%
  \newtheorem{exemsc}[\cdr@thm]{\exemsname}%
  \newtheorem*{notac*}{\notaname}%
  \newtheorem*{notasc*}{\notasname}%
  \newtheorem*{remac*}{\remaname}%
  \newtheorem*{remasc*}{\remasname}%
  \newtheorem*{exemc*}{\exemname}%
  \newtheorem*{exemsc*}{\exemsname}%
\theoremstyle{plain}%
}%
%\def\proofheadfont{\slshape}
\renewenvironment{proof}[1][\proofname]{\par
  \pushQED{\qed}%
  \normalfont \topsep\smallskipamount
  \trivlist
  \item\hskip\parindent
        \slshape
        #1\@addpunct{\pointir}\ignorespaces\normalfont
}{%
  \popQED\endtrivlist\@endpefalse
}
\newenvironment{proofc}[1][\proofname]{\par
  \pushQED{\qed}%
  \normalfont \topsep\smallskipamount
  \trivlist
  \item\hskip\parindent
        \slshape
        #1\@addpunct{.}\ignorespaces\nobreak\par\normalfont
}{%
  \popQED\endtrivlist\@endpefalse
}
%
%% Page de garde
\def\@makePagedeGarde{%
\ifcdr@pagedegarde
{\makeatletter\input{CML-pagedegarde}}%
\newpage\ifcdr@HTML\pagecolor{white}\else\gdef\GPT@pageliteral{}\fi
\fi}
\def\received#1{\def\@received{#1}}
\let\@received=\@empty
\def\@setreceived{%
  \abstractfont
  {\abstractheadfont\receivedclassname}\enspace\ignorespaces
  \@received\@addpunct{{\upshape.}}}

% \def\revised#1{\def\@revised{#1}}
% \let\@revised=\@empty
% \def\@setrevised{%
%   \abstractfont
%   {\abstractheadfont\revisedclassname}\enspace\ignorespaces
%   \@revised\@addpunct{{\upshape.}}}
%  \def\receivedclassname
%  {Received:}%
%  \def\revisedclassname
%  {Revised:}%
% \def\@adminfootnotes{%
%   \let\@makefnmark\relax  \let\@thefnmark\relax
%   \ifx\@empty\@date\else \@footnotetext{\@setdate}\fi
%   \ifx\@empty\@subjclass\else \@footnotetext{\@setsubjclass}\fi
%   \ifx\@empty\@keywords\else \@footnotetext{\@setkeywords}\fi
%   \ifx\@empty\thankses\else \@footnotetext{%
%     \def\par{\let\par\@par}\@setthanks}%
%   \fi
%  }
\def\@setauthors{%
  \begingroup\def\nobreakauthor{~}%
  \def\thanks{\protect\thanks@warning}%
  \trivlist
  \centering\footnotesize \@topsep30\p@\relax
  \advance\@topsep by -\baselineskip
  \item\relax
  \author@andify\authors
  \def\\{\protect\linebreak}%
  \MakeUppercase{\authors}%
  \ifx\@empty\contribs
  \else
    ,\penalty-3 \space \@setcontribs
    \@closetoccontribs
  \fi
  \endtrivlist
  \vskip0.3cm
  \endgroup
}
\setlength{\@titlebotskip}{15\p@}
\def\@printauthors{\samepage
\par\normalfont\footnotesize
%\nobreak\addvspace{.4cm}\leftskip4.5cm\parindent=0pt\parskip0pt\relax
\nobreak\addvspace{.4cm}\leftskip0.5cm\parindent=0pt\parskip0pt\relax
\begingroup\selectlanguage{french}\interlinepenalty\@M
\ifx\@empty\@datereceived\else\@setdatereceived
\ifx\@empty\@daterevised\else\@setdaterevised\fi
\ifx\@empty\@dateaccepted\newline\nopagebreak Manuscrit non accept\'e !\else\@setdateaccepted\fi\fi
\endgroup
\vspace{.3cm}
\ifx\@empty\addresses \else\@setaddresses\fi\@@par}
\def\printauthors{\xdef\enddoc@text{}{\@printauthors}}
\ifcdr@special\def\enddoc@text{}\else
\def\enddoc@text{\@printauthors}
%\ifx\@empty\@received\else\@footnotetext{\@setreceived}\fi
 % \ifx\@empty\@revised\else\@footnotetext{\@setrevised}\fi
\fi
\newcommand\editor[3]{\small{\bf\noindent #1}\newline{\sl
    (#2)}\newline#3\newline}
%\newcommand\SomLine[9]{\normalfont #4\newline {\sl\makeatother%
%#1\makeatletter}\hspace{\stretch{1}}#8\medskip\newline}
\def\author@andify{%
  \nxandlist {\unskip ,\penalty-1 \space\ignorespaces}%
    {\unskip {} and~}%
    {\unskip ,\penalty-2 \space and~}%
}
\ifcdr@volume%%
\newcommand\lastpage{%
\centerline{\Large\sc\bf Confluentes Mathematici}\vspace*{3mm}%
\centerline{\sl\large Volume \currentvolume, No. \currentissue
  ~(\currentmonth~ \currentyear)}\vspace*{0.8cm}%
\centerline{\sc\large CONTENTS}\vspace*{0.7cm}%
\noindent

\makeatletter
\renewcommand{\@pnumwidth}{4.5em}
\def\@@tmp{english}%
\newcommand\SomLine[9]{%
%% commandes generales de mise en page -- a caler ou oublier...
  \par \addpenalty\@secpenalty\addvspace{\z@skip}%
    \begingroup\hyphenpenalty50\def\\{\allowbreak}%
\noindent\normalfont
%% la langue pour les coupures de mots est celle de l'article
    \foreign@language{##3}%
%% Test sur la langue de l'article
\def\@@@tmp{##3}\ifx\@@tmp\@@@tmp
%% Titre dans la langue
##4\else##5\fi\newline
%% Auteur
{\slshape##2}%
%% page
\hspace{\stretch{1}}##8\medskip\newline
\endgroup}

\sloppy
\InputIfFileExists{CML-Sommaire-data.tex}{}{%
\SomLine{Sommaire}{}{Incomplet}{Incomplet}{}{}{000}{000}}
\makeatother

\vspace*{\stretch{1}}
\raggedright{\sf ISSN:~1793-7434}
}
\fi
\pagestyle{headings}
\thispagestyle{plain}
