← All templates

MathematicS In Action (cedram)

The cedram class with the MSIA option of MathematicS In Action, SMAI's applied-mathematics journal: journal title block, abstract, sections, a sample figure, xy-pic diagram and BibTeX references.

Create an account to use this
Category
Journal
Document class
cedram (cedram.cls) — ships with TeX Live
Workflow
Journal manuscript — submissions and revision rounds
Author
Centre Mersenne / Société de Mathématiques Appliquées et Industrielles (SMAI)
Source
Centre Mersenne / Société de Mathématiques Appliquées et Industrielles (SMAI)
Licence
No licence is stated in the files. Centre Mersenne / Société de Mathématiques Appliquées et Industrielles (SMAI) distributes them for authors preparing a submission.

These are the publisher’s own files. This project starts from Centre Mersenne / Société de Mathématiques Appliquées et Industrielles (SMAI)’s package for this publication — their manuscript, their cedram.cls, their bibliography style — so what compiles here is what they would have given you.

Centre Mersenne / Société de Mathématiques Appliquées et Industrielles (SMAI) serves this exact file to MathematicS In Action. Check Centre Mersenne / Société de Mathématiques Appliquées et Industrielles (SMAI)’s author pages for the current instructions.

What you get

  • MSIA-logo.pdf · 19 KB
  • biblio.bib · 2 KB
  • cc-by-small.pdf · 4 KB
  • cedram-MSIA.clo · 162 B
  • cedram-MSIA.sty · 13 KB
  • cedram-graphics.sty · 7 KB
  • cedram.cls · 159 KB
  • figure-msia.pdf · 115 KB
  • msia-sample.tex — the file that is compiled · 4 KB

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Journals using this template

Source

MSIA-logo.pdf — binary, 19 KB

biblio.bib · 2 KB
%   This is a sample bibliography file, with examples of references
% to books, articles, articles in books and unpublished works.
%
%   Each entry is of the form -at sign-XXXXX{....} (do not forget the closing brace), 
% where AAA is the code used in the \cite{AAA} command to refer to this entry.
%   Note that each element must be included within quotation marks "..." or
% braces {...}, and that a comma must follow.
%   If you wish to capitalize letters in titles, put them into braces (this is
% not necessary for the first letter of the first word).


% Example of book protect TeX command with braces

@BOOK{KNU,
  AUTHOR =	 "Knuth, Donald E.",
  TITLE =	 "The {\TeX}book",
  PUBLISHER =	 {Addison Wesley Professional},
  ADDRESS =	 {Massachusetts},
  YEAR =	 1984
}

% Example of article protect TeX accents with braces, or use latin1 encoding when applicable
% Use \url for URLs

@ARTICLE{LL,
  AUTHOR =	 "J. Leray and J-L. Lions",
  TITLE =	 "Quelques r{\'e}sultats de {V}i{\v{s}}ik sur les
                  probl{\`e}mes elliptiques nonlin{\'e}aires par les
                  m{\'e}thodes de {M}inty-{B}rowder",
  JOURNAL =	 {Bull. Soc. Math. France},
  VOLUME =	 93,
  YEAR =	 1965,
  PAGES =	 {97-107},
  note =
                  {\url{http://www.numdam.org/numdam-bin/item?id=BSMF_1965__93__97_0}}
}


% Example of article in a book
@INCOLLECTION{KT,
  AUTHOR =	 "King, C. and Terng, C.-L.",
  TITLE =	 "Submanifolds in path space",
  BOOKTITLE =	 "Global Analysis in Modern Mathematics",
  PUBLISHER =	 {Publish or Perish, Inc., Houston},
  YEAR =	 1993,
  EDITOR =	 {K. Uhlenbeck},
  PAGES =	 {253-282}
}


% Example of Ph. D. Thesis
@phdthesis{V,
  AUTHOR =	 "M. Vajiac",
  TITLE =	 "Gauge theory techniques in quantum cohomology",
  school =	 {Boston University},
  YEAR =	 2000
}     


% Example of unpublished work
@Unpublished{MSIADOC,
  author =	 {Maday, Yvon and Talay, Denis J.},
  title =	 {How to use the {\emph{MathematicS in Actions}} class
                  file},
  note =
                  {\url{http://msia.cedram.org/telechargeable/cedram-msia.pdf}},
  year =	 2008
}



cc-by-small.pdf — binary, 4 KB

cedram-MSIA.clo · 162 B
\setpublname{MathematicS In Action}%
\cdr@uppercaseheadtitlesfalse
\cdr@uppercaseheadauthorsfalse
\let\iftagsleft@\iffalse 
\PassOptionsToPackage{reqno}{amsmath}
cedram-MSIA.sty · 13 KB
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{cedram-MSIA}
\RequirePackage{cedram-graphics}

\def\currentjournaltitle{MathematicS In Action}
\protected@edef\currentjournalpublisher{Soci\'et\'e de Math\'ematiques Appliqu\'ees et Industrielles}
\def\currentjournalshorttitle{MathS In A.}%
\eISSN{2102-5754}
\CDRjournalURL{msia}
\CDRsetmeta{license}{ccby4}

\definecolor{MSIABlue}{HTML}{1718F7}

%
%% g\'eom\'etries
% papier A4 = d\'efaut.
\textwidth=160truemm
\textheight=233truemm
\ifx\undefined\pdfpagewidth\else
\pdfpagewidth\paperwidth
\pdfpageheight\paperheight
\fi
% \topmargin4truemm
% \oddsidemargin-2truemm
% \evensidemargin-2truemm
 \headheight11pt
 \headsep22pt
 \footskip27pt
\let\bbl@nonfrenchspacing\frenchspacing
\frenchspacing
%
%%�11pt
\def\@mainsize{11}\def\@ptsize{1}%
  \def\@typesizes{%
    \or{6}{7}\or{7}{8}\or{8}{10}\or{9}{11}\or{10}{12}%
    \or{\@xipt}{13}% normalsize
    \or{\@xiipt}{14}\or{\@xivpt}{17}\or{\@xviipt}{20}%
    \or{\@xxpt}{24}\or{\@xxvpt}{30}}%
  \normalsize \linespacing=\baselineskip
  \def\@listi{\leftmargin\leftmargini
            \parsep 5\p@  \@plus2.5\p@ \@minus\p@
            \topsep 10\p@ \@plus4\p@   \@minus6\p@
            \itemsep5\p@  \@plus2.5\p@ \@minus\p@
            \labelwidth=\leftmargini \advance\labelwidth-\labelsep }%
%
\let\@listI\@listi
\@listi
%
%%�pas de Pas de mise en romain des num\'erotations intempestives !
%\def\@upn#1{#1}
%\let\cdr@up\relax
%
%% Param{\`e}tres de mise en page
%%�1re page
\pagenumbering{arabic}%
%% Forme des r\'esum\'es {\`a} faire
\def\abstractheadfont{\bfseries}
\def\alttitlefont{\large\itshape}
\def\@setabstracthead{\centerline{\abstractheadfont\abstractname}%
	\item\relax\hspace*{\normalparindent}\ignorespaces}
\def\@setaltabstracthead{%
  \ifx\@alttitle\@empty\else
  \vskip16pt
  \begin{minipage}{\linewidth}
    \centering\alttitlefont\@alttitle
  \end{minipage}\fi
\nobreak\vskip8pt
\centerline{\abstractheadfont\altabstractname}%
	\item\relax\hspace*{\normalparindent}\ignorespaces}%
%% Style des pages courantes
\def\ps@headings{
      \def\@oddhead{\hfil\textsc{\shorttitle}\hfil}%
      \def\@evenhead{\hfil\textsc{\shortauthors}\hfil}%
      \def\@oddfoot{\hfil\thepage\hfil}%
        \let\@evenfoot\@oddfoot
}
\pagestyle{headings}%
%% Style de la premi{\`e}re page
\def\ps@firstpage{\ps@plain
      \def\@oddfoot{\hfil\thepage\hfil
\global\topskip\normaltopskip}%
        \let\@evenfoot\@oddfoot
  \def\@oddhead{\@serieslogo\hss}%
  \let\@evenhead\@oddhead % in case an article starts on a left-hand page
}
%
%% Identificiation article premi{\`e}re page
\def\@logofont{\small}
\def\article@logo{%
  \set@logo{%
    \textit{\publname}\\
    \ifx\@empty\currentvolume \textbf{Version de travail}
    \else {Vol.~\currentvolume}\ifnum\value{article}=0\else, \no\arabic{article}\fi, \pageinfo\ (\currentyear)%
    \fi
  }%
}
%
%% Pr\'esentation du titre
\def\@settitle{%
  \begin{center}%
%    \vspace*{-48pt}
    \Large
    \bfseries
    \@title
  \end{center}%
}
%% Pr\'esentation des auteurs
% \if@francais
% \def\@@and{et}%
%  \else
% \def\@@and{and}%
% \fi

\def\@@and{\&}
\def\author@andify{%
  \nxandlist {\unskip ,\penalty-2 \space\ignorespaces}%
    {\unskip {} \@@and~}%
    {\unskip {} \penalty-1  \@@and~}%
}
\def\msia@author@andify{%
  \nxandlist{\unskip\\}{\unskip\\}{\unskip\\}}

\newcommand{\msia@shortxandlist}[4]{\msia@shortandlista{{#1}{#2}{#3}}#4\and\and}
\def\msia@shortandlista#1#2\and#3\and{\msia@shortandlistc{#2}\@ifnotempty{#3}{%
  \msia@shortandlistb#1{#3}}}
\def\msia@shortandlistb#1#2#3#4#5\and{%
  \@ifempty{#5}{%
    \msia@shortandlistc{#2#4}%
  }{%
    \msia@shortandlistc{#1#4}%
    \msia@shortandlistbx{#1}{#3}{#3}{\emph{et al.}}%
  }}
\def\msia@shortandlistbx#1#2#3#4#5\and{%
  \@ifempty{#5}{%
    \msia@shortandlistc{#2#4}%
  }{%
    %\msia@shortandlistc{#1#4}%
    \msia@shortandlistbx{#1}{#3}{#3}{\emph{et al.}}%
  }}
\newcommand{\msia@shortnxandlist}[4]{%
  \def\msia@shortandlistc##1{\toks@\@xp{\the\toks@##1}}%
  \toks@{\toks@\@emptytoks \msia@shortandlista{{#1}{#2}{#3}}}%
  \the\@xp\toks@#4\and\and
  \edef#4{\the\toks@}%
  \let\msia@shortandlistc\@iden}

\def\msia@shortauthor@andify{%
  \msia@shortnxandlist{\unskip ,\penalty-2 \space\ignorespaces}%
    {\unskip {} \&~}%
    {\unskip , }}

\def\@maketitle@shortauthors@hook{\msia@shortauthor@andify\shortauthors\let\topauthors\shortauthors}
\newcount\cdr@thankcount
\cdr@thankcount0
\def\@fnsymbol#1{\ensuremath{\ifcase#1\or *\or **\or ***\or \dagger\or \ddagger\or\dagger\dagger
   \or \ddagger\ddagger \or \mathsection\or \mathparagraph \else\@ctrerr\fi}}
%%% pour avoir deux adresses dans sameaddress
\def\addressSameAs#1#2{%
    \g@addto@macro\xmladdresses{\address{}{#2}}%
    \g@addto@macro\authors{\hasaddress{#1}{#2}}%
}
\def\@setauthors{%
  \begingroup
  \def\thanks{\protect\thanks@warning}%
  \trivlist
  \centering\footnotesize \@topsep22\p@\relax
  \advance\@topsep by -\baselineskip
  \item\relax
  \msia@author@andify\authors
  \def\\{\protect\linebreak}%
  \def\Same{\same}%
  \def\New{\new}%
  \def\hasaddress##1##2{%
\@ifempty{##1}{% cas pas sameaddress
%%�increment de compteur
\global\advance\cdr@thankcount1
\unskip\kern.2em\textsuperscript{\@fnsymbol\cdr@thankcount}%
}{% cas sameaddress
\def\What{##1}\ifx\What\Same
%%�pas d'increment de compteur
\unskip\kern.2em\textsuperscript{\@fnsymbol\cdr@thankcount}%
\else\ifx\What\New
%%�increment de compteur
\global\advance\cdr@thankcount1
\unskip\kern.2em\textsuperscript{\@fnsymbol\cdr@thankcount}%
\else
%% mode manuel
\count@=##1\textsuperscript{, \@fnsymbol\count@}%
\fi\fi}}%
  \large\textsc{\authors}%
  \ifx\@empty\contribs
  \else
    \\\penalty-3 \space \@setcontribs
    \@closetoccontribs
    \fi
    \linebreak
  \endtrivlist
  \endgroup
}
\def\@setafterauthor{%
  \vglue-3mm
  \hspace*{\normalparindent}\begin{minipage}[t]{13.3cm}
  \raggedright
  \normalfont\Small
  \@afterauthor
  \end{minipage}
  \vskip10pt plus 3pt minus 4pt
}
\def\@afterauthor{\ifx\@empty\addresses \else\@setaddresses\fi}
\newcount\cdr@notes@adress\cdr@notes@adress0
\def\@setaddresses{%\par
   \begingroup
   \url@samestyle
   \def\lastname##1{\relax}%
   \def\firstname##1{\relax}%
   \def\hasthanks##1{##1\@addpunct.\@par}
   \def\hasaddress##1{\relax}%
   \def\author##1{\ifnum\cdr@notes@adress=\z@\else\@@par\indent\fi\advance\cdr@notes@adress1
   \textsuperscript{\@fnsymbol\cdr@notes@adress}\kern.2em\def\\{ \ignorespaces}\ignorespaces}%
%   \def\noauthor##1##2{}%
   \def\address##1##2{\begingroup
     {\ignorespaces##2\unskip}\endgroup}%
   \def\curraddr##1##2{\begingroup
     \@ifnotempty{##2}{\@@par\curraddrname{}\thsp: %
       {\ignorespaces##2\unskip}\endgroup}}%
   \def\email##1##2{\begingroup
     \@ifnotempty{##2}{\@@par\emailaddrname{}\thsp: %
       \href{mailto:##2}{##2}}\endgroup}%
   \def\urladdr##1##2{\begingroup
%     \def~{\char`\~}%
     \@ifnotempty{##2}{\@@par\urladdrname{}\thsp: %
       \url{##2}}\endgroup}%
   \addresses\@addpunct.%
   \endgroup
 }
%% Notes de la premi{\`e}re page
\def\@adminfootnotes{%
  \let\@makefnmark\relax  \let\@thefnmark\relax
  \begingroup\parindent=0pt\normalparindent=0pt
  \ifx\@empty\thankses\else \@footnotetext{%
    \def\par{\let\par\@par}\@setthanks}%
  \fi
  \ifx\@empty\@keywords\else \@footnotetext{\@setkeywords}\fi
  \ifx\@empty\@subjclass\else \@footnotetext{\@setsubjclass}\fi
  \CDRifmeta{editornote}{\@footnotetext{\@seteditornote}}{}
\endgroup}
\def\@setthanks{\def\thanks##1{\par##1\@addpunct.}%
  \thankses}%
\def\@setsubjclass{%
  {\slshape\subjclassname\thsp:}\space\@subjclass\@addpunct.}
\def\@setkeywords{%
  {\slshape \keywordsname\thsp:}\space \@keywords\@addpunct.}
\def\@seteditornote{%
  {\slshape \CDRgetmeta{editornotename}\thsp:}\space \CDRgetmeta{editornote}\@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
%% Derni{\`e}re page
\def\emailsaddrname{{\itshape E-mail addresses}}

\newcount\auth@count
\auth@count0
\def\@setXaddresses{\par
  \begingroup
  \def\author##1{\ifcase\auth@count
    \def\tab@@what{}\or
    \def\tab@@what{&}\or
    \def\tab@@what{\tabularnewline[.4\baselineskip]}\or
    \def\tab@@what{&}\or
    \def\tab@@what{\tabularnewline[.4\baselineskip]}\or
    \def\tab@@what{&}\or
    \def\tab@@what{\tabularnewline[.4\baselineskip]}\fi
	\tab@@what
%	\message{**\the\auth@count**}
    \global\advance\auth@count1\relax
    \@ifnotempty{##1}\textsc{##1}\\}%
  \def\noauthor##1##2{\ifcase\auth@count
	    \def\tab@@what{}\or
    \def\tab@@what{&}\or
    \def\tab@@what{\tabularnewline[.4\baselineskip]}\or
    \def\tab@@what{&}\or
    \def\tab@@what{\tabularnewline[.4\baselineskip]}\or
    \def\tab@@what{&}\or
    \def\tab@@what{\tabularnewline[.4\baselineskip]}\fi
	\tab@@what
%	\message{**\the\auth@count**}
    \global\advance\auth@count1\relax
    \@ifnotempty{##2}\textsc{##2}\\}%
   \def\address##1##2{%
     \@ifnotempty{##1}{(\ignorespaces##1\unskip)\\}%
     \ignorespaces##2\unskip\\}%
 \def\curraddr##1##2{%
     \@ifnotempty{##2}{\curraddrname{}%
       \@ifnotempty{##1}{(\ignorespaces##1\unskip)}:\\
       ##2\\}}%
   \def\email##1##2{%
     \@ifnotempty{##2}{%
       \href{mailto:##2}{\path{##2}}\\}}%
   \def\urladdr##1##2{%
%     \def~{\char`\~}%
     \@ifnotempty{##2}{%\nobreak\urladdrname
%       \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
       \url{##2}\\}}%
   \footnotesize
   \begin{longtable}[t]{*{2}{>{\raggedright}p{.48\textwidth}}}%
     \addresses
   \end{longtable}
   \endgroup}%
%%�final
\def\enddoc@text{}
% \ifcdr@special\else\ifcdr@recup\else
% \def\enddoc@text{%\ifx\@empty\@translators \else\@settranslators\fi
% %\normalfont\footnotesize
% %\unskip
% \nobreak\addvspace{.7cm}\parindent=0pt\parskip0pt\relax
% %% \begingroup\interlinepenalty\@M
% %% \ifx\@empty\@datereceived Manuscrit jamais re{\c c}u !\else\@setdatereceived\fi
% %% \ifx\@empty\@daterevised\else\@setdaterevised\fi
% %% \ifx\@empty\@dateaccepted Manuscrit non accept\'e !\else\@setdateaccepted\fi
% %% \endgroup
% %% \vspace{.3cm}
% \ifx\@empty\addresses \else\@setaddresses\fi\@@par}
% \fi\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% sections
\renewcommand\section{\@startsection {section}{1}{\z@}%
                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
                                   {2.3ex \@plus.2ex}%
                                   {\normalfont\large\bfseries}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\normalfont\normalsize\bfseries}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\normalfont\normalsize\itshape}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
                                    {3.25ex \@plus1ex \@minus.2ex}%
                                    {-1em}%
                                    {\normalfont\normalsize\bfseries}}
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
                                       {3.25ex \@plus1ex \@minus .2ex}%
                                       {-1em}%
                                      {\normalfont\normalsize\itshape}}
\let\paragraphc\paragraph
\let\subparagraphc\subparagraph
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\numberwithin{equation}{section}
%% Biblio
\renewcommand{\@bibtitlestyle}{%
\if@francais
  \section*{R{\'e}f{\'e}rences}%
 \else
   \section*{References}%
\fi
}
\let\bibliofont\small
%% Th\'eor{\`e}mes
\OneNumberAllTheorems
%
\ifcdr@sommaire
\let\ps@firstpage\ps@empty
\let\ps@headings\ps@empty
\def\lastname#1{\MakeUppercase{#1}}
\advance\@titlebotskip7mm
\renewcommand{\@pnumwidth}{2.5em}
\def\enddoc@text{}
%%
\newcommand\SomLine[1][0]{%
  \ifnum#1>\z@\relax
  % n� expos\'e
  \item[\No\@arabic{#1}:]%
  \@xp\SomLineWithOrdreArt
  \else
  \item[]%
  \@xp\SomLineWithoutOrdreArt
  \fi}
\newcommand\SomLineWithOrdreArt[9]{%
  \def\lng{#3}\def\LNG{french}%
  \begingroup\hyphenpenalty50\def\\{\allowbreak}%
      % auteurs courts
\textbf{\ignorespaces#1\unskip}
      % titre
\emph{\ignorespaces\ifx\lng\LNG#5\else#4\fi\unskip}
(#9~p.)\@par
\endgroup
}
\newcommand\SomLineWithoutOrdreArt[9]{%
  \def\lng{#3}\def\LNG{french}%
  \begingroup\hyphenpenalty50\def\\{\allowbreak}%
  % n� expos\'e
\hspace*{-\leftmargin}\emph{\ignorespaces\ifx\lng\LNG#5\else#4\fi\unskip}\@par
      % auteurs
%\textbf{\ignorespaces#2\unskip}
      % titre
\endgroup
}
\fi
\ifcdr@volume
\def\enddoc@text{}
\fi
cedram-graphics.sty · 7 KB
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{cedram-graphics}

\RequirePackage{graphicx,xcolor,tikz}
\RequirePackage[absolute]{textpos}

\definecolor{MersenneOrange}{HTML}{F5981A}
\definecolor{MersenneBlue}{HTML}{0FAFAD}
\definecolor{MersenneLight}{HTML}{C4DBD1}
\definecolor{MersenneGrey}{HTML}{313131}

\IfFileExists{roboto.sty}%
    {\font\MersenneFont=RobotoCondensed-Bold-tosf-t1 at 20pt}%
    {\def\MersenneFont{\huge\sffamily\bfseries}}

\newcommand\cdr@triright[3]{\fill[#1] (.866*#2,#3) -- (.866*#2,#3+1) -- (.866*#2+.866,#3+.5) -- cycle}
\newcommand\cdr@trileft[3]{\fill[#1] (.866*#2,#3) -- (.866*#2,#3+1) -- (.866*#2-.866,#3+.5) -- cycle}
\newcommand\cdr@triup[3]{\fill[#1] (#2,.866*#3) -- (#2+1,.866*#3) -- (#2+.5,.866*#3+.866) -- cycle}
\newcommand\cdr@tridown[3]{\fill[#1] (#2,.866*#3) -- (#2+1,.866*#3) -- (#2+.5,.866*#3-.866) -- cycle}

\NewDocumentCommand{\MersenneLogo}{O{MersenneOrange}O{MersenneBlue}O{MersenneLight}O{MersenneGrey}}{
    \begin{tikzpicture}
        % orange
        \cdr@trileft{#1}{1}{.5};
        \cdr@trileft{#1}{1}{2.5};
        \cdr@trileft{#1}{4.2}{2.1};
        % blue
        \cdr@trileft{#2}{1}{1.5};
        \cdr@triright{#2}{1}{2.5};
        \cdr@trileft{#2}{3}{2.5};
        \cdr@triright{#2}{3}{1.5};
        % light
        \cdr@triright{#3}{0}{2};
        \cdr@triright{#3}{2}{2};
        \cdr@triright{#3}{3.15}{2.8};
        % dark
        \cdr@triright{#4}{0}{1};
        \cdr@trileft{#4}{2}{2};
        % words
        \draw[#1] (1,.4) node[above right, xscale=.8] {\MersenneFont C\,E\,N\,T\,R\,E};
        \draw[#4] (1,.55) node[below right, xscale=.8, yscale=1.1] {\MersenneFont M\,E\,R\,S\,E\,N\,N\,E};
    \end{tikzpicture}
}

\NewDocumentCommand{\MersenneWave}{O{MersenneOrange}O{MersenneBlue}O{MersenneLight}O{MersenneGrey}}{
    \begin{tikzpicture}
        \clip (-4,-.4) rectangle (20.5,7*.866);
        % orange
        \cdr@tridown{#1}{0}{0};
        \cdr@tridown{#1}{2.5}{1};
        \cdr@tridown{#1}{4.5}{1};
        \cdr@tridown{#1}{12.5}{1};
        \cdr@tridown{#1}{14}{0};
        \cdr@tridown{#1}{8}{2};
        \cdr@tridown{#1}{16}{2};
        \cdr@tridown{#1}{4.8}{4.1};
        \cdr@tridown{#1}{11}{4};
        \cdr@tridown{#1}{15}{4};
        \cdr@tridown{#1}{19}{4};
        \cdr@tridown{#1}{12.5}{5};
        \cdr@tridown{#1}{17.5}{5};
        \cdr@triup{#1}{6}{0};
        \cdr@triup{#1}{1.2}{2};
        \cdr@triup{#1}{6}{2};
        \cdr@triup{#1}{8.5}{-1};
        \cdr@triup{#1}{10.5}{-1};
        \cdr@triup{#1}{16.5}{-1};
        \cdr@triup{#1}{18.5}{-1};
        \cdr@triup{#1}{10.5}{1};
        \cdr@triup{#1}{18.5}{1};
        \cdr@triup{#1}{14}{2};
        % blue
        \cdr@tridown{#2}{1}{0};
        \cdr@tridown{#2}{-.5}{2.5};
        \cdr@tridown{#2}{9.5}{1};
        \cdr@tridown{#2}{14.5}{1};
        \cdr@tridown{#2}{17.5}{1};
        \cdr@tridown{#2}{4}{2};
        \cdr@tridown{#2}{3.7}{3.7};
        \cdr@tridown{#2}{14}{2};
        \cdr@tridown{#2}{9.5}{3};
        \cdr@tridown{#2}{11.5}{3};
        \cdr@tridown{#2}{17.5}{3};
        \cdr@tridown{#2}{12}{4};
        \cdr@tridown{#2}{13}{4};
        \cdr@tridown{#2}{20}{4};
        \cdr@tridown{#2}{11.5}{5};
        \cdr@tridown{#2}{13.5}{5};
        \cdr@tridown{#2}{19.5}{5};
        \cdr@tridown{#2}{18}{6};
        \cdr@tridown{#2}{19}{6};
        \cdr@triup{#2}{3}{0};
        \cdr@triup{#2}{7.5}{-1};
        \cdr@triup{#2}{7.5}{1};
        \cdr@triup{#2}{8.5}{1};
        \cdr@triup{#2}{8.5}{3};
        \cdr@triup{#2}{10.5}{3};
        \cdr@triup{#2}{16.5}{3};
        \cdr@triup{#2}{18.5}{3};
        \cdr@triup{#2}{15.5}{1};
        \cdr@triup{#2}{16.5}{1};
        \cdr@triup{#2}{15.5}{-1};
        \cdr@triup{#2}{12}{0};
        \cdr@triup{#2}{20}{0};
        \cdr@triup{#2}{13}{2};
        \cdr@triup{#2}{7.6}{5};
        \cdr@triup{#2}{16.5}{5};
        % light
        \cdr@tridown{#3}{4}{0};
        \cdr@tridown{#3}{1.5}{1};
        \cdr@tridown{#3}{-4}{1};
        \cdr@tridown{#3}{13}{2};
        \cdr@tridown{#3}{12.5}{3};
        \cdr@tridown{#3}{3.1}{4.6};
        \cdr@tridown{#3}{9}{4};
        \cdr@tridown{#3}{16}{4};
        \cdr@tridown{#3}{17}{4};
        \cdr@tridown{#3}{18.5}{7};
        \cdr@triup{#3}{3.5}{1};
        \cdr@triup{#3}{2.5}{-1};
        \cdr@triup{#3}{6.5}{-1};
        \cdr@triup{#3}{5}{2};
        \cdr@triup{#3}{7}{2};
        \cdr@triup{#3}{9}{2};
        \cdr@triup{#3}{10}{2};
        \cdr@triup{#3}{11}{2};
        \cdr@triup{#3}{15}{2};
        \cdr@triup{#3}{17}{2};
        \cdr@triup{#3}{18}{2};
        \cdr@triup{#3}{19}{2};
        \cdr@triup{#3}{20}{2};
        \cdr@triup{#3}{6.5}{3};
        \cdr@triup{#3}{7.5}{3};
        \cdr@triup{#3}{11.5}{3};
        \cdr@triup{#3}{13.5}{3};
        \cdr@triup{#3}{19.5}{3};
        \cdr@triup{#3}{12}{4};
        \cdr@triup{#3}{13}{4};
        \cdr@triup{#3}{14}{4};
        \cdr@triup{#3}{17}{4};
        \cdr@triup{#3}{18}{4};
        \cdr@triup{#3}{19}{4};
        \cdr@triup{#3}{20}{4};
        \cdr@triup{#3}{15.5}{5};
        \cdr@triup{#3}{17.5}{5};
        \cdr@triup{#3}{19.5}{5};
        \cdr@triup{#3}{6.5}{1};
        \cdr@triup{#3}{9.5}{1};
        \cdr@triup{#3}{11.5}{1};
        \cdr@triup{#3}{17.5}{1};
        \cdr@triup{#3}{19.5}{1};
        \cdr@triup{#3}{8}{0};
        \cdr@triup{#3}{11}{0};
        \cdr@triup{#3}{14}{0};
        \cdr@triup{#3}{16}{0};
        \cdr@triup{#3}{19}{0};
        \cdr@triup{#3}{11.5}{-1};
        \cdr@triup{#3}{12.5}{-1};
        \cdr@triup{#3}{19.5}{-1};
        \cdr@triup{#3}{20}{6};
        % dark
        \cdr@tridown{#4}{2}{0};
        \cdr@tridown{#4}{12}{0};
        \cdr@tridown{#4}{13}{0};
        \cdr@tridown{#4}{20}{0};
        \cdr@tridown{#4}{11}{2};
        \cdr@tridown{#4}{19}{2};
        \cdr@tridown{#4}{20}{2};
        \cdr@tridown{#4}{19.5}{3};
        \cdr@triup{#4}{2.5}{1};
        \cdr@triup{#4}{12.5}{1};
        \cdr@triup{#4}{-2.6}{.6};
        \cdr@triup{#4}{5}{0};
        \cdr@triup{#4}{7}{0};
        \cdr@triup{#4}{10}{0};
        \cdr@triup{#4}{18}{0};
        \cdr@triup{#4}{5.5}{-1};
        \cdr@triup{#4}{9.5}{-1};
        \cdr@triup{#4}{17.5}{-1};
        \cdr@triup{#4}{5.5}{1};
        \cdr@triup{#4}{8}{2};
        \cdr@triup{#4}{16}{2};
        \cdr@triup{#4}{9.5}{3};
        \cdr@triup{#4}{12.5}{3};
        \cdr@triup{#4}{14.5}{3};
        \cdr@triup{#4}{17.5}{3};
        \cdr@triup{#4}{15}{4};
        \cdr@triup{#4}{12.5}{5};
        \cdr@triup{#4}{19}{6};
    \end{tikzpicture}%
}

\NewDocumentCommand{\MersennePaper}{O{MersenneOrange}O{MersenneBlue}O{MersenneLight}O{MersenneGrey}}{
    \TPGrid{10}{15}
    \begin{textblock}{1.4}(0.05,14.95)
        \noindent\smash{\resizebox{.14\paperwidth}{!}{\MersenneLogo[#1][#2][#3][#4]}}%
    \end{textblock}
    \begin{textblock}{5}(5,15)
        \noindent\smash{\resizebox{.5\paperwidth}{!}{\MersenneWave[#1][#2][#3][#4]}}%
    \end{textblock}
}
cedram.cls · 159 KB

159 KB — too long to show here. It arrives with the project.

figure-msia.pdf — binary, 115 KB

msia-sample.tex — the file that is compiled · 4 KB
%  The following template indicates the main features of the class file.
%  In order to avoid mistakes in the handling of meta-data (name, title, etc.),
%  please use all the commands (and only those) indicated in the preamble for
%  the title and authors.

\documentclass[MSIA,screen,Unicode]{cedram}

% Authors may use other style files (e.g. to create figures), as long as
% they do not alter the layout of the article.
\usepackage[all]{xypic}

% Insert here your own symbols, as the following ones:
\newcommand{\bbR}{\mathbb{R}}
\newcommand{\bbC}{\mathbb{C}}
\newcommand{\bbZ}{\mathbb{Z}}

%% Title of the article.
% The optional argument [] is the short version of the title,
% and the mandatory argument {} the title itself
\title[Sample use of the MSIA class]{Your paper}

%% Authors, addresses and supports.
% The optional argument is for shortened version appearing in the headings. Please
% distinguish between first, middle and last names with the appropriate commands.
\author{\firstname{Yvon} \lastname{Maday}}
\address{Laboratoire Jacques-Louis Lions\\
Universit\'eerre et Marie Curie\\
Boit courrier 187\\
75252 Paris Cedex 05\\
France}
\email{[email protected]}

% Repeat the preceding commands for additional authors, commenting out lines
% which should not appear
\author{\firstname{Denis} \middlename{J.} \lastname{Talay}}
\address{Inria Sophia Antipolis\\
2004 route des Lucioles, BP 93,\\
F-06902 Sophia Antipolis\\
France}
\email{[email protected]}

\thanks{The first author is supported by INRIA project OMEGA}

%% Keywords
\keywords{Example, Applied mathematics, Journal}

%% Mathematical classification (2020)
\subjclass{00X99}

% Abstract, leave it in the preamble.
\begin{abstract} This document is a short user's guide to the \LaTeX
class for articles in \emph{MathematicS in Actions}.
\end{abstract}

\begin{document}

% Use the \maketitle command first
\maketitle

%% Beginning of text

% Example of section
\section{Introduction, meta-data commands}

This is the beginning of our article.

% Example of subsection
\subsection{Title}

The command for the title is: \verb#\title#.


\subsection{Citations}

The bibliography must be build using bibtex. A sample of a bibtex file
\texttt{biblio.bib} is available together with this sample document.

The references must be put inside a bibtex file constructed from this sample and
refered to in the article by using the \verb#\cite# command, which produces for
example \cite{KNU} or \cite{LL} (see also the comments in \texttt{biblio.bib}).

\section{Figures}

The article being compiled in pdf, the figures must also be in pdf. The
inclusion of the figure is done using the following commands.

The parameter \emph{xxx}, a real number between $0.0$ and $1.0$, indicates the
width the figure should take in the page.
% One can refer to the figure with \ref{refname}, which gives
% for example:

Figure \ref{exfig} is an example of figure.

\begin{figure}[tbp]
  \includegraphics[width=0.3\linewidth]{figure-msia.pdf}
  \caption{Example of figure.}
  \label{exfig}
\end{figure}

%To refer to a specific definition, theorem, etc., put \label{labelname} inside
%the corresponding environment and use \ref{labelname} in text to point to this
%definition, theorem, etc.

Here is an example:
\begin{theorem}\label{th:true}
  Most theorems are true.
\end{theorem}

\begin{proof}
  Th.~\ref{th:true} is obviously true.
\end{proof}

\begin{example}\label{ex:good}
  This should look like a good example.
\end{example}

\begin{remark}
  Can an example like Ex.~\ref{ex:good} give some insight in
  Th.~\ref{th:true}'s proof?
\end{remark}

% The next command determines the bibliography style. Please do not
% change this.
\bibliographystyle{plain}

%This calls all references from the .bib
\nocite{*}

%  This inserts the bib file
\bibliography{biblio}


\end{document}

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗