| 1 |
% \iffalse meta-comment -*- mode: doctex -*- |
| 2 |
% |
| 3 |
% Article class for The Canadian Journal of Statistics | La revue |
| 4 |
% canadienne de statistique |
| 5 |
% |
| 6 |
% Copyright (C) 2023-2026 Statistical Society of Canada | Société |
| 7 |
% statistique du Canada |
| 8 |
% |
| 9 |
% The class file and templates derived from this file are licenced |
| 10 |
% under the LaTeX Project Public License, version 1.3c or (at your |
| 11 |
% option) any later version. The latest version of this license is in: |
| 12 |
% |
| 13 |
% https://www.latex-project.org/lppl.txt |
| 14 |
% |
| 15 |
% The documentation is also licensed under CC BY-SA 4.0 International. |
| 16 |
% To view a copy of this license, visit: |
| 17 |
% |
| 18 |
% https://creativecommons.org/licenses/by-sa/4.0/ |
| 19 |
% |
| 20 |
% This work has the LPPL maintenance status `maintained'. |
| 21 |
% |
| 22 |
% The Current Maintainer of this work is Vincent Goulet |
| 23 |
% <[email protected]>. |
| 24 |
% \fi |
| 25 |
% |
| 26 |
% \iffalse |
| 27 |
%<*driver> |
| 28 |
\ProvidesFile{cjs-rcs-article.dtx} |
| 29 |
%</driver> |
| 30 |
%<class>\NeedsTeXFormat{LaTeX2e}[2021/06/01] |
| 31 |
%<class>\ProvidesClass{cjs-rcs-article}% |
| 32 |
%<*class> |
| 33 |
[2026/03/05 v2.0 Article class for The Canadian Journal of |
| 34 |
Statistics | La revue canadienne de statistique] |
| 35 |
%</class> |
| 36 |
%<*driver> |
| 37 |
\expandafter\ifx\csname ifenglish\endcsname\relax |
| 38 |
\expandafter\newif\csname ifenglish\endcsname |
| 39 |
\englishtrue |
| 40 |
\fi |
| 41 |
\ifenglish |
| 42 |
\documentclass[nocjs,x11names,french,english]{cjs-rcs-article} |
| 43 |
\else |
| 44 |
\documentclass[nocjs,x11names,english,french]{cjs-rcs-article} |
| 45 |
\fi |
| 46 |
\setlrmarginsandblock{40mm}{30mm}{*} % increase left margin |
| 47 |
\checkandfixthelayout |
| 48 |
|
| 49 |
%% Loading doc.sty creates some conflicts with the class and memoir. |
| 50 |
%% We need to: |
| 51 |
%% |
| 52 |
%% - keep a copy of the class' \maketitle command; |
| 53 |
%% - undefine the 'glossary' environment created by memoir; |
| 54 |
%% - restore the standard LaTeX commands for the index and glossary |
| 55 |
%% that doc.sty relies upon. |
| 56 |
\let\makeCJStitle\maketitle % keep class definition |
| 57 |
\let\theglossary\relax % avoid conflict with doc.sty |
| 58 |
\let\endtheglossary\relax % avoid conflict with doc.sty |
| 59 |
\makeatletter |
| 60 |
\def\makeindex{% |
| 61 |
\newwrite\@indexfile |
| 62 |
\immediate\openout\@indexfile=\jobname.idx |
| 63 |
\def\index{\@bsphack\begingroup |
| 64 |
\@sanitize |
| 65 |
\@wrindex}\typeout |
| 66 |
{Writing index file \jobname.idx}% |
| 67 |
\let\makeindex\@empty |
| 68 |
} |
| 69 |
\@onlypreamble\makeindex |
| 70 |
\def\@wrindex#1{% |
| 71 |
\protected@write\@indexfile{}% |
| 72 |
{\string\indexentry{#1}{\thepage}}% |
| 73 |
\endgroup |
| 74 |
\@esphack} |
| 75 |
\def\index{\@bsphack\begingroup \@sanitize\@index} |
| 76 |
\def\@index#1{\endgroup\@esphack} |
| 77 |
\def\makeglossary{% |
| 78 |
\newwrite\@glossaryfile |
| 79 |
\immediate\openout\@glossaryfile=\jobname.glo |
| 80 |
\def\glossary{\@bsphack\begingroup |
| 81 |
\@sanitize |
| 82 |
\@wrglossary}\typeout |
| 83 |
{Writing glossary file \jobname.glo }% |
| 84 |
\let\makeglossary\@empty |
| 85 |
} |
| 86 |
\@onlypreamble\makeglossary |
| 87 |
\def\@wrglossary#1{% |
| 88 |
\protected@write\@glossaryfile{}% |
| 89 |
{\string\glossaryentry{#1}{\thepage}}% |
| 90 |
\endgroup |
| 91 |
\@esphack} |
| 92 |
\def\glossary{\@bsphack\begingroup\@sanitize\@index} |
| 93 |
\@twosidefalse\@mparswitchfalse % turn off twoside option |
| 94 |
\makeatother |
| 95 |
\usepackage{doc} |
| 96 |
\def\changes#1#2#3{\glossary{#1>#3}} % simplified |
| 97 |
\usepackage{awesomebox} |
| 98 |
\usepackage{metalogo} |
| 99 |
\DisableCrossrefs |
| 100 |
\CodelineNumbered |
| 101 |
\RecordChanges |
| 102 |
\DontCheckModules |
| 103 |
|
| 104 |
%% Configuration of the glossary (English version only) |
| 105 |
\addto\extrasenglish{% |
| 106 |
\def\glossaryname{Version history}} |
| 107 |
\ifenglish |
| 108 |
\GlossaryPrologue{\section*{\glossaryname}% |
| 109 |
\addcontentsline{toc}{section}{\glossaryname}} |
| 110 |
\setlength{\GlossaryMin}{5cm} |
| 111 |
\else |
| 112 |
\OnlyDescription |
| 113 |
\usepackage{xr} % for reference to English version |
| 114 |
\externaldocument{cjs-rcs-article} |
| 115 |
\fi |
| 116 |
|
| 117 |
%% Name of the journal (in English and French) |
| 118 |
\makeatletter |
| 119 |
\newcommand*\TheCJS{\@ifstar{\emph{The Journal}}{\emph{\CJS@journalname@en}}} |
| 120 |
\newcommand*\LaRevue{\@ifstar{\emph{La revue}}{\emph{\CJS@journalname@fr}}} |
| 121 |
\newcommand*\CJSname{cjs-rcs-article} |
| 122 |
\newcommand*\CJSclass{\class{\CJSname}} |
| 123 |
\newcommand*\CJSpkg{\pkg{\CJSname}} |
| 124 |
\newcommand*\CJSbsten{\code{cjs-rcs-en}} |
| 125 |
\newcommand*\CJSbstfr{\code{cjs-rcs-fr}} |
| 126 |
\newcommand*\SSCen{Statistical Society of Canada} |
| 127 |
\newcommand*\SSCfr{Société statistique du Canada} |
| 128 |
\makeatother |
| 129 |
|
| 130 |
\ifenglish |
| 131 |
\AtEndPreamble{% |
| 132 |
\hypersetup{% |
| 133 |
pdftitle = {Guide to the class cjs-rcs-article}, |
| 134 |
pdfauthor = {\SSCen}}} |
| 135 |
\else |
| 136 |
\AtEndPreamble{% |
| 137 |
\hypersetup{% |
| 138 |
pdftitle = {Guide d'utilisation de la classe cjs-rcs-article}, |
| 139 |
pdfauthor = {\SSCfr}}} |
| 140 |
\fi |
| 141 |
|
| 142 |
%% Additional colors |
| 143 |
\colorlet{codebg}{LightYellow1} % code background |
| 144 |
\colorlet{prompt}{Orchid4} % command prompt |
| 145 |
|
| 146 |
%% New \DescribeMacro type environments for class options and lengths |
| 147 |
\NewDocElement[envlike,notoplevel,printtype=\emph{option}]{Option}{option} |
| 148 |
\NewDocElement[macrolike,notoplevel,printtype=$\ell$]{Length}{length} |
| 149 |
|
| 150 |
%% Additional semantic typesetting |
| 151 |
\let\class\textsf |
| 152 |
|
| 153 |
%% URL of the project web site |
| 154 |
\newcommand*\siteurl{https://cjs-rcs.gitlab.io} |
| 155 |
|
| 156 |
%% Redefine \year and define \isodate using information from |
| 157 |
%% \filedate instead of using compilation time |
| 158 |
\def\parsedate#1/#2/#3\relax{\def\year{#1}\def\isodate{#1-#2-#3}} |
| 159 |
|
| 160 |
%% Definition of a shorthand to either hyphenate a word or insert a |
| 161 |
%% regular dash. Use in the long names of Creative Commons licences. |
| 162 |
%% (Shorthands support provided by babel.) |
| 163 |
\useshorthands*{"} |
| 164 |
\defineshorthand{"-}{\discretionary{-}{}{-}} |
| 165 |
|
| 166 |
%% Source code |
| 167 |
\usepackage{listings} |
| 168 |
\lstset{% |
| 169 |
basicstyle=\ttfamily\NoAutoSpacing, |
| 170 |
moredelim=[is][\color{prompt}]{---}{-}, |
| 171 |
escapeinside=`', |
| 172 |
showstringspaces=false, |
| 173 |
backgroundcolor=\color{codebg}, |
| 174 |
frame=leftline, |
| 175 |
framerule=2pt, |
| 176 |
framesep=5pt, |
| 177 |
xleftmargin=7.4pt |
| 178 |
} |
| 179 |
|
| 180 |
%% The \meta command from memoir needs an additionnel \normalfont to |
| 181 |
%% use the document font in listings. |
| 182 |
\makeatletter |
| 183 |
\def\meta@font@select{\normalfont\itshape} |
| 184 |
\makeatother |
| 185 |
|
| 186 |
%% Suppress the hyperlink from a reference. |
| 187 |
\newcommand{\nolink}[1]{\begin{NoHyper}#1\end{NoHyper}} |
| 188 |
|
| 189 |
\begin{document} |
| 190 |
\DocInput{cjs-rcs-article.dtx} |
| 191 |
\end{document} |
| 192 |
%</driver> |
| 193 |
%<*fr-doc> |
| 194 |
%% Wrapper to set language to French |
| 195 |
%% (https://tex.stackexchange.com/a/28646). |
| 196 |
\expandafter\newif\csname ifenglish\endcsname |
| 197 |
\englishfalse |
| 198 |
\input{cjs-rcs-article.dtx} |
| 199 |
%</fr-doc> |
| 200 |
% \fi |
| 201 |
% \GetFileInfo{cjs-rcs-article.dtx} |
| 202 |
% \expandafter\parsedate\filedate\relax |
| 203 |
% |
| 204 |
% \changes{2.0}{2026-03-05}{After a switch to a single-blind peer |
| 205 |
% review process, the class option \texttt{review} now only numbers |
| 206 |
% lines and increases line spacing.} |
| 207 |
% \changes{1.3}{2025-08-18}{Fix the display of the licensing |
| 208 |
% information at the bottom of the first page, so that very long |
| 209 |
% lists of authors or abstracts no longer push the information to the |
| 210 |
% second page.} |
| 211 |
% \changes{1.2}{2025-07-10}{Split the documentation between the |
| 212 |
% actual class documentation and author guidelines.} |
| 213 |
% \changes{1.1a}{2024-07-25}{Make the command \cs{proglang} robust.} |
| 214 |
% \changes{1.1a}{2024-07-25}{Fix the command \cs{proglang} that would |
| 215 |
% disable hyphenation for the rest of the document. With thanks to |
| 216 |
% Enrico Gregorio (egreg) for the heads up in person at TUG 2024.} |
| 217 |
% \changes{1.1}{2024-07-13}{Add the command \cs{matit} to typeset bold |
| 218 |
% italic in math in a portable way.} |
| 219 |
% \changes{1.1}{2024-07-02}{Add the References section to the table of |
| 220 |
% contents of the PDF.} |
| 221 |
% \changes{1.1}{2024-06-23}{Improve the documentation, in particular |
| 222 |
% the installation instructions and access to the templates.} |
| 223 |
% \changes{1.1}{2024-06-26}{Introduce new commands \cs{specialack} and |
| 224 |
% \cs{specialackmark} for the editors.} |
| 225 |
% \changes{1.1}{2024-06-26}{Provide support to acknowledge usage of |
| 226 |
% data from the Alzheimer’s Disease Neuroimaging Initiative (ADNI) and |
| 227 |
% the Alzheimer’s Disease Neuroimaging Metabolomics Consortium |
| 228 |
% (ADMC).} |
| 229 |
% \changes{1.0}{2023-11-29}{Fix various typos and cosmetic issues in |
| 230 |
% the documentation.} |
| 231 |
% \changes{1.0}{2023-11-29}{First official release distributed through |
| 232 |
% CTAN.} |
| 233 |
% \changes{0.92}{2023-10-27}{Relegate the \texttt{makebst} menu |
| 234 |
% information to the complete master bibliographic style |
| 235 |
% documentation.} |
| 236 |
% \changes{0.92}{2023-10-27}{Proofread all the package documentation.} |
| 237 |
% \changes{0.9}{2023-10-14}{Include bibliographic styles with the |
| 238 |
% class.} |
| 239 |
% \changes{0.5}{2023-09-12}{Improve the measuring and positioning of |
| 240 |
% the space for licensing information at the bottom of the title |
| 241 |
% page.} |
| 242 |
% \changes{0.5}{2023-09-12}{Clarify the documentation as to what is |
| 243 |
% displayed at the bottom of the first page and with which class |
| 244 |
% option.} |
| 245 |
% \changes{0.5}{2023-09-12}{Allow usage of \cs{licence} with option |
| 246 |
% final. Editors or the publisher may now use the command to specify |
| 247 |
% the official licence statement to display at the bottom of the title |
| 248 |
% page.} |
| 249 |
% \changes{0.4}{2023-08-30}{Replace old-style numbers by lining |
| 250 |
% numbers throughout.} |
| 251 |
% \changes{0.3}{2023-08-21}{Make Section 2 (Quick start) independent |
| 252 |
% from the rest of the text, such that readers may either read only |
| 253 |
% that section, or skip it entirely.} |
| 254 |
% \changes{0.3}{2023-08-21}{Increase the visibility of the templates |
| 255 |
% in the documentation, notably with a new subsection at the beginning |
| 256 |
% of Section 4 (Usage).} |
| 257 |
% \changes{0.3}{2023-08-21}{Condense the bibliography by cutting the |
| 258 |
% spacing between the entries in half.} |
| 259 |
% \changes{0.2}{2023-08-18}{Many revisions to the documentation, |
| 260 |
% thanks mostly to Julie Falkner.} |
| 261 |
% \changes{0.2}{2023-08-18}{Specify that CJS may provide an abstract |
| 262 |
% in the second language, for French as well as for English.} |
| 263 |
% \changes{0.2}{2023-08-18}{Change \cs{backmatter*} to |
| 264 |
% \cs{makebackmatter}, to align with \cs{maketitle} and since |
| 265 |
% \cs{appendix*} no longer exists.} |
| 266 |
% \changes{0.2}{2023-08-18}{Appendices now appear between the back |
| 267 |
% matter and the bibliography.} |
| 268 |
% \changes{0.2}{2023-08-18}{The number of appendices is no longer |
| 269 |
% limited to one. The command \cs{appendix*} becomes obsolete and is |
| 270 |
% removed from the class.} |
| 271 |
% \changes{0.1f}{2023-07-20}{The command to print the back matter |
| 272 |
% material is now \cs{backmatter*}. The standard \cs{backmatter} is |
| 273 |
% kept untouched.} |
| 274 |
% \changes{0.1f}{2023-07-20}{The (author) documentation of |
| 275 |
% \cs{appendix} and \cs{appendix*} is moved to its own subsection to |
| 276 |
% the Usage section.} |
| 277 |
% \changes{0.1f}{2023-07-20}{The author documentation now recommends |
| 278 |
% where to use \cs{licence}.} |
| 279 |
% \changes{0.1f}{2023-07-20}{The list of references is always an |
| 280 |
% unnumbered section, even without \cs{backmatter}.} |
| 281 |
% \changes{0.1f}{2023-07-20}{The package natbib is now loaded with the |
| 282 |
% option \texttt{sectionbib}.} |
| 283 |
% \changes{0.1f}{2023-07-20}{The article structure is modified to put |
| 284 |
% the appendix before the back matter and the references.} |
| 285 |
% \changes{0.1e}{2023-07-19}{In addition to the LPPL for the code, |
| 286 |
% licence the documentation under CC BY-SA, if only to provide an |
| 287 |
% example of \cs{licence}.} |
| 288 |
% \changes{0.1e}{2023-07-19}{Introduce commands to typeset Creative |
| 289 |
% Commons licence icons.} |
| 290 |
% \changes{0.1e}{2023-07-19}{Introduce handling of licences depending |
| 291 |
% on the type of document.} |
| 292 |
% \changes{0.1e}{2023-07-19}{The command \cs{appendix} now indicates |
| 293 |
% the start of the appendices like the standard command. A starred |
| 294 |
% variant specially useful for CJS articles is introduced to also |
| 295 |
% insert the sectional division and title in the article.} |
| 296 |
% \changes{0.1d}{2023-07-13}{The user documentation is now available |
| 297 |
% in English.} |
| 298 |
% \changes{0.1d}{2023-07-13}{The role of the option |
| 299 |
% \texttt{supplement} is now to typeset a document similar to a |
| 300 |
% regular article, but with some unnecessary information hidden |
| 301 |
% (abstracts, keywords, back matter, etc.).} |
| 302 |
% \changes{0.1c}{2023-07-8}{The corresponding author mark * is |
| 303 |
% replaced by an envelope. The marker positioned next to the |
| 304 |
% corresponding author name is now a \texttt{mailto:} hyperlink.} |
| 305 |
% \changes{0.1c}{2023-07-8}{Use Font Awesome for all symbols, instead |
| 306 |
% of ccicons for the Creative Commons symbols and a solution based on |
| 307 |
% TikZ to draw the ORCID icon. Therefore, ccicons and tikz are no |
| 308 |
% longer loaded by the class.} |
| 309 |
% \changes{0.1c}{2023-07-8}{Use a key-value interface in \cs{author} to |
| 310 |
% specify not only the ORCID iD, but also the email and |
| 311 |
% corresponding author status.} |
| 312 |
% \changes{0.1b}{2023-07-06}{Documentation on the commands for editors |
| 313 |
% moved in appendix.} |
| 314 |
% \changes{0.1b}{2023-07-06}{The ornament in the journal information |
| 315 |
% now uses the CJS colours.} |
| 316 |
% \changes{0.1b}{2023-07-06}{Option \texttt{final} for the editors.} |
| 317 |
% \changes{0.1b}{2023-07-06}{Support for hyperlinks.} |
| 318 |
% \changes{0.1a}{2023-07-04}{Change the paper size from 7in x 10in to |
| 319 |
% letter paper.} |
| 320 |
% \changes{0.1a}{2023-07-04}{Support for \cs{firstpage} and automatic |
| 321 |
% display of the last page number in the journal information.} |
| 322 |
% \changes{0.1a}{2023-07-04}{Command \cs{surname} to enter the surname |
| 323 |
% of an author and automatically populate the running authors list.} |
| 324 |
% \changes{0.1a}{2023-07-04}{Funding information moved to the end of |
| 325 |
% the paper with other back matter.} |
| 326 |
% \changes{0.1a}{2023-07-04}{Support for ORCID iD.} |
| 327 |
% \changes{0.1}{2023-06-20}{First test version for review by CJS editorial |
| 328 |
% team.} |
| 329 |
% |
| 330 |
% \ifenglish% |
| 331 |
% \title[Guide to the class {\CJSname}]{% |
| 332 |
% Guide to the class {\CJSclass} \\ |
| 333 |
% for \TheCJS} |
| 334 |
% \author{\SSCen} |
| 335 |
% \affil{Class and documentation developed by Vincent Goulet} |
| 336 |
% \else% |
| 337 |
% \title[Guide d'utilisation de la classe {\CJSname}]{% |
| 338 |
% Guide d'utilisation de la classe {\CJSclass} \\ |
| 339 |
% pour \LaRevue} |
| 340 |
% \author{\SSCfr} |
| 341 |
% \affil{Classe et documentation rédigées par Vincent Goulet} |
| 342 |
% \fi |
| 343 |
% |
| 344 |
% \begin{englishabstract} |
| 345 |
% Authors submitting an article to {\TheCJS} should use the document |
| 346 |
% class {\CJSclass} and its companion bibliographic styles to |
| 347 |
% typeset their manuscript with {\LaTeX}. This guide provides a |
| 348 |
% complete description of the characteristics and features of the |
| 349 |
% class{\ifenglish,\else.\fi} % |
| 350 |
% \ifenglish% |
| 351 |
% as well as the details of its implementation and the version |
| 352 |
% history. A French version of this guide is also available, but |
| 353 |
% without these last two elements of documentation. % |
| 354 |
% \else% |
| 355 |
% The English version of this guide also contains the details of its |
| 356 |
% implementation and the version history. % |
| 357 |
% \fi |
| 358 |
% \end{englishabstract} |
| 359 |
% \begin{frenchabstract} |
| 360 |
% Les auteurs qui soumettent un article dans {\LaRevue} doivent |
| 361 |
% utiliser la classe {\CJSclass} et les styles bibliographiques qui |
| 362 |
% l'accompagnent pour préparer leur manuscript avec |
| 363 |
% {\LaTeX}. Ce guide fournit une description complète des |
| 364 |
% caractéristiques et fonctionnalités de la |
| 365 |
% classe{\ifenglish,\else.\fi} % |
| 366 |
% \ifenglish% |
| 367 |
% ainsi que les détails de sa mise en œuvre et l'historique des |
| 368 |
% versions. Une version française de ce guide est également |
| 369 |
% disponible, mais celle-ci ne contient pas ces deux derniers |
| 370 |
% éléments de documentation. % |
| 371 |
% \else% |
| 372 |
% La version anglaise du document contient en plus les détails de sa |
| 373 |
% mise en œuvre et l'historique des versions. % |
| 374 |
% \fi |
| 375 |
% \end{frenchabstract} |
| 376 |
% |
| 377 |
% ^^A abusing the 'classification' environment. The final period is |
| 378 |
% ^^A added by the environment. |
| 379 |
% \begin{classification}[Version] |
| 380 |
% \item[] % |
| 381 |
% \ifenglish% |
| 382 |
% This is the documentation for the class {\CJSclass}~{\fileversion}, |
| 383 |
% dated {\filedate} % |
| 384 |
% \else% |
| 385 |
% Ce document décrit la classe {\CJSclass}~{\fileversion}, datée du |
| 386 |
% {\filedate} % |
| 387 |
% \fi |
| 388 |
% \end{classification} |
| 389 |
% |
| 390 |
% \licence{{\ccbysa*} 2023--{\year}, {\SSCen}~{\textbar}~{\SSCfr}} |
| 391 |
% |
| 392 |
% \makeCJStitle |
| 393 |
% |
| 394 |
% \section{Introduction} |
| 395 |
% \label{sec:introduction} |
| 396 |
% |
| 397 |
% \ifenglish% |
| 398 |
% The {\LaTeX} document class {\CJSclass} and its companion bibliographic |
| 399 |
% styles {\CJSbsten} and {\CJSbstfr} typeset manuscripts immediately |
| 400 |
% in accordance with the presentation rules of {\TheCJS}. In |
| 401 |
% particular, the dimensions of the typeblock, the page layout, the |
| 402 |
% fonts and the list of references are identical to the final version |
| 403 |
% of the article. But for a few modifications, the present guide uses |
| 404 |
% the page layout of the class. % |
| 405 |
% \else% |
| 406 |
% La classe {\CJSclass} et les styles de bibliographie {\CJSbsten} et |
| 407 |
% {\CJSbstfr} qui l'accompagnent permettent de composer des |
| 408 |
% manuscripts conformes aux règles de présentation matérielle de |
| 409 |
% {\LaRevue}. En particulier, la taille de la zone d'impression, la |
| 410 |
% mise en page, les polices de caractères et la liste des références |
| 411 |
% seront identiques à celles de la version finale de l'article. Le |
| 412 |
% présent document reprend d'ailleurs, à quelques différences près, |
| 413 |
% la mise en page de la classe. % |
| 414 |
% \fi |
| 415 |
% |
| 416 |
% \ifenglish% |
| 417 |
% Typesetting a manuscript with {\CJSclass} requires a recent and |
| 418 |
% up-to-date {\TeX} distribution. We recommmend the distributions % |
| 419 |
% \else% |
| 420 |
% La composition d'un manuscript avec la classe |
| 421 |
% {\CJSclass} requiert une distribution {\TeX} récente et |
| 422 |
% à jour. Nous recommandons les distributions % |
| 423 |
% \fi |
| 424 |
% \href{https://tug.org/texlive}{{\TeX}~Live}\ifenglish---\else~--- \fi% |
| 425 |
% \ifenglish or its variant for macOS \else ou sa variante pour macOS \fi% |
| 426 |
% \href{https://tug.org/mactex}{Mac{\TeX}}\ifenglish---\else~--- \fi% |
| 427 |
% \ifenglish and \else et \fi% |
| 428 |
% \href{https://miktex.org}{MiK{\TeX}}. % |
| 429 |
% \ifenglish% |
| 430 |
% You may also use an online {\LaTeX} editor such as % |
| 431 |
% \else% |
| 432 |
% Vous pouvez également avoir recours à une plateforme de rédaction en |
| 433 |
% ligne comme % |
| 434 |
% \fi% |
| 435 |
% \href{https://overleaf.com}{Overleaf}; % |
| 436 |
% \ifenglish% |
| 437 |
% their {\TeX} distributions usually satisfy the conditions |
| 438 |
% above. % |
| 439 |
% \else% |
| 440 |
% leurs distributions {\TeX} satisfont généralement les conditions |
| 441 |
% ci-dessus. |
| 442 |
% \fi |
| 443 |
% |
| 444 |
% \ifenglish% |
| 445 |
% The class {\CJSclass} is part of the standard {\TeX} distributions |
| 446 |
% via the package {\CJSpkg}. If your distribution is up-to-date, you |
| 447 |
% should be able to use the class without any special intervention. % |
| 448 |
% \else% |
| 449 |
% La classe {\CJSclass} fait partie des distributions {\TeX} standards |
| 450 |
% via le paquetage {\CJSpkg}. Dans la mesure où votre distribution est |
| 451 |
% à jour, vous devriez pouvoir l'utiliser sans autre intervention. % |
| 452 |
% \fi |
| 453 |
% |
| 454 |
% \ifenglish% |
| 455 |
% This guide is organized as follows. \autoref{sec:quick-start} |
| 456 |
% explains how to get started quickly with the class, and |
| 457 |
% \autoref{sec:installation} describes how to install the class if |
| 458 |
% it is not already available on your system. \autoref{sec:usage} |
| 459 |
% gives all the details of how to use the package for the various |
| 460 |
% components of your article. \autoref{sec:hyperlinks} discusses |
| 461 |
% hyperlinks and the creation of the table of contents of the PDF. |
| 462 |
% Finally, \autoref{sec:supplement} explains how you can use the class |
| 463 |
% to prepare supplementary material. For {\TeX} experts, we include |
| 464 |
% two appendices. \autoref{sec:editors} discusses features that are |
| 465 |
% primarily intended for editors rather than authors, and |
| 466 |
% \autoref{sec:implementation} gives the details of the |
| 467 |
% implementation. % |
| 468 |
% \else |
| 469 |
% Ce guide est structuré comme suit. La \autoref{sec:quick-start} décrit |
| 470 |
% comment démarrer rapidement la préparation d'un article avec la |
| 471 |
% classe, alors que la \autoref{sec:installation} explique comment |
| 472 |
% l'installer si elle n'est pas déjà disponible sur votre système. La |
| 473 |
% \autoref{sec:usage} passe en revue toutes les fonctionnalités de la |
| 474 |
% classe pour les diverses composantes d'un article. La |
| 475 |
% \autoref{sec:hyperlinks} traite des hyperliens et de la préparation |
| 476 |
% de la table des matières du fichier PDF. Finalement, la |
| 477 |
% \autoref{sec:supplement} explique comment préparer le matériel |
| 478 |
% additionnel à l'aide de la classe. L'\autoref{sec:editors} |
| 479 |
% s'adresse principalement aux éditeurs. Pour les experts {\TeX}, |
| 480 |
% l'\nolink{\autoref{sec:implementation}} de la version anglaise de la |
| 481 |
% documentation contient les détails de mise en œuvre de la classe. % |
| 482 |
% \fi |
| 483 |
% |
| 484 |
% |
| 485 |
% \ifenglish% |
| 486 |
% \section{Quick start} |
| 487 |
% \else% |
| 488 |
% \section{Démarrage rapide} |
| 489 |
% \fi |
| 490 |
% \label{sec:quick-start} |
| 491 |
% |
| 492 |
% \changes{1.1}{2024-06-05}{Documentation: add a link to obtain the |
| 493 |
% templates in the \emph{Quick start} section.} |
| 494 |
% \ifenglish% |
| 495 |
% The class ships with templates for articles in English and in |
| 496 |
% French. They are located with the documentation of the class in |
| 497 |
% {\TeX} distributions. You may also obtain the templates from % |
| 498 |
% \else% |
| 499 |
% La classe est livrée avec des gabarits pour des articles en français |
| 500 |
% et en anglais. Ceux-ci sont classés avec la documentation dans les |
| 501 |
% distributions {\TeX}. Vous pouvez aussi les récupérer à partir de % |
| 502 |
% \fi% |
| 503 |
% \href{https://ctan.org/pkg/\CJSname}{CTAN}. % |
| 504 |
% \ifenglish% |
| 505 |
% To quickly start writing your article, copy the appropriate template |
| 506 |
% to your working directory and follow the brief instructions and |
| 507 |
% the examples therein. You should also review the author guidelines |
| 508 |
% that ship along the present documentation. % |
| 509 |
% \else% |
| 510 |
% Pour débuter rapidement la rédaction de votre article, copiez le |
| 511 |
% gabarit approprié dans votre dossier de travail et suivez les |
| 512 |
% directives succinctes et les exemples qui s'y trouvent. Vous |
| 513 |
% devriez également passer en revue les directives pour les |
| 514 |
% auteurs qui sont livrées avec la présente documentation. % |
| 515 |
% \fi |
| 516 |
% |
| 517 |
% \ifenglish% |
| 518 |
% If your manuscript contains non-ASCII characters (such as accented |
| 519 |
% letters), you have to save your file using the % |
| 520 |
% \else% |
| 521 |
% Dès que le texte contient des caractères non-ASCII (comme des lettres |
| 522 |
% accentuées), vous devez enregistrer votre fichier dans le codage de |
| 523 |
% caractères % |
| 524 |
% \fi% |
| 525 |
% \href{https://fr.wikipedia.org/wiki/UTF-8}{UTF-8}\ifenglish{} character encoding\fi. % |
| 526 |
% \ifenglish% |
| 527 |
% To take full advantage of the class, you should compile your manuscript using |
| 528 |
% {\LuaLaTeX}. % |
| 529 |
% \else% |
| 530 |
% Pour tirer pleinement profit des caractéristiques de la classe, compilez |
| 531 |
% votre manuscript avec {\LuaLaTeX}. % |
| 532 |
% \fi |
| 533 |
% |
| 534 |
% \ifenglish% |
| 535 |
% The remainder of this guide provides detailed information on the |
| 536 |
% characteristics and features of the class. We recommend that you |
| 537 |
% read at least \autoref{sec:usage:mathematics} on mathematical |
| 538 |
% typesetting. % |
| 539 |
% \else% |
| 540 |
% Le reste de ce guide contient les informations détaillées sur les |
| 541 |
% caractéristiques et fonctionnalités de la classe. Nous |
| 542 |
% recommandons de lire au moins la \autoref{sec:usage:mathematics} |
| 543 |
% sur la composition des mathématiques.% |
| 544 |
% \fi |
| 545 |
% |
| 546 |
% |
| 547 |
% \section{Installation} |
| 548 |
% \label{sec:installation} |
| 549 |
% |
| 550 |
% \changes{1.1}{2024-06-05}{Documentation: provide a direct link to |
| 551 |
% the release corresponding to the version of the documentation in the |
| 552 |
% \emph{Installation} section.} |
| 553 |
% \changes{0.91}{2023-10-16}{Revise the documentation, in particular |
| 554 |
% the installation instructions of Section 3 and in the file |
| 555 |
% \texttt{README.md}.} |
| 556 |
% \changes{0.91}{2023-10-16}{Change the name of the archive containing |
| 557 |
% a ``local'' installation of the class from |
| 558 |
% \texttt{-no-local-tex.zip} to \texttt{-project-install.zip}.} |
| 559 |
% \ifenglish% |
| 560 |
% The class {\CJSclass} is distributed as the package % |
| 561 |
% \else% |
| 562 |
% La classe {\CJSclass} est distribuée dans le paquetage % |
| 563 |
% \fi% |
| 564 |
% \href{https://ctan.org/pkg/cjs-rcs-article}{\pkg{cjs-rcs-article}} % |
| 565 |
% \ifenglish% |
| 566 |
% through the Comprehensive {\TeX} Archive Network (CTAN). It is part |
| 567 |
% of the standard {\TeX} distributions such as {TeX}~Live, Mac{\TeX} |
| 568 |
% and MiK{\TeX}. We strongly recommend that you install or update the |
| 569 |
% package using the package manager of your {\TeX} distribution. For |
| 570 |
% example, with {\TeX}~Live, you may install or update from the |
| 571 |
% graphical package manager, or using either of these commands from |
| 572 |
% the command line: % |
| 573 |
% \else% |
| 574 |
% via le réseau de sites \emph{Comprehensive {\TeX} Archive Network} |
| 575 |
% (CTAN). Celui-ci fait partie des distributions {\TeX} standards |
| 576 |
% telles que {TeX}~Live, Mac{\TeX} et MiK{\TeX}. Nous recommandons |
| 577 |
% fortement d'installer ou de mettre à jour le paquetage à l'aide du |
| 578 |
% gestionnaire de paquetages de votre distribution {\TeX}. Par |
| 579 |
% exemple, avec {\TeX}~Live, vous pouvez effectuer ces opérations |
| 580 |
% dans l'assistant graphique, ou encore avec l'une ou l'autre des |
| 581 |
% commandes ci-dessous: % |
| 582 |
% \fi |
| 583 |
% \iffalse |
| 584 |
%<*example> |
| 585 |
% \fi |
| 586 |
\begin{lstlisting} |
| 587 |
---$- tlmgr install cjs-rcs-article |
| 588 |
\end{lstlisting} |
| 589 |
% \iffalse |
| 590 |
%</example> |
| 591 |
% \fi |
| 592 |
% \ifenglish or\else ou\fi |
| 593 |
% \iffalse |
| 594 |
%<*example> |
| 595 |
% \fi |
| 596 |
\begin{lstlisting} |
| 597 |
---$- tlmgr update cjs-rcs-article |
| 598 |
\end{lstlisting} |
| 599 |
% \iffalse |
| 600 |
%</example> |
| 601 |
% \fi |
| 602 |
% |
| 603 |
% \ifenglish% |
| 604 |
% If you are not in position to install packages or update the {\TeX} |
| 605 |
% distribution---notably when using an online editor---you may instead |
| 606 |
% opt for a simplified installation of the class, but that will be |
| 607 |
% limited in scope to your project. Download the archive % |
| 608 |
% \else% |
| 609 |
% S'il vous est impossible d'installer des paquetages ou de mettre à |
| 610 |
% jour la distribution {\TeX}~--- notamment si vous utilisez une |
| 611 |
% plateforme de rédaction en ligne~--- vous pouvez procéder à une |
| 612 |
% installation simplifiée de la classe, mais dont la portée sera |
| 613 |
% limitée à votre projet. Pour ce faire, téléchargez l'archive % |
| 614 |
% \fi% |
| 615 |
% \code{cjs-rcs-article-project-install.zip} % |
| 616 |
% \ifenglish from the \else depuis le \fi% |
| 617 |
% \href{\siteurl}{\ifenglish project website\else site web du projet\fi}, % |
| 618 |
% \ifenglish% |
| 619 |
% uncompress it and place its contents in the directory of your |
| 620 |
% project. You will then have access to all the essential files of the |
| 621 |
% class, including the templates, within this project. % |
| 622 |
% \else% |
| 623 |
% décompressez celle-ci et placez son contenu dans le répertoire de |
| 624 |
% votre projet. Vous disposerez alors à l'intérieur de ce projet de |
| 625 |
% tous les fichiers essentiels de la classe, y compris les gabarits. % |
| 626 |
% \fi |
| 627 |
% |
| 628 |
% \ifenglish% |
| 629 |
% Manual installation with full access to the source code is |
| 630 |
% possible for {\TeX} experts. Please follow the instructions in the |
| 631 |
% \code{README.md} file included in the package. % |
| 632 |
% \else% |
| 633 |
% Si votre expertise {\TeX} vous pousse à préférer une installation |
| 634 |
% manuelle avec accès à l'intégralité du code source de la classe, |
| 635 |
% consultez les instructions qui se trouvent dans le fichier |
| 636 |
% \code{README.md} du paquetage. % |
| 637 |
% \fi |
| 638 |
% |
| 639 |
% |
| 640 |
% \ifenglish% |
| 641 |
% \section{Usage} % |
| 642 |
% \else% |
| 643 |
% \section{Utilisation} % |
| 644 |
% \fi |
| 645 |
% \label{sec:usage} |
| 646 |
% |
| 647 |
% \ifenglish% |
| 648 |
% The class {\CJSclass} relies on modern and advanced tools, all of |
| 649 |
% which are available in recent {\TeX} distributions. In particular: % |
| 650 |
% \else% |
| 651 |
% La classe {\CJSclass} repose sur des outils modernes et évolués qui |
| 652 |
% font tous partie des distributions {\TeX} récentes. En |
| 653 |
% particulier: % |
| 654 |
% \fi |
| 655 |
% \begin{itemize} |
| 656 |
% \item \ifenglish the class\else la classe\fi{} % |
| 657 |
% \href{https://ctan.org/pkg/memoir}{\class{memoir}} % |
| 658 |
% \ifenglish% |
| 659 |
% on which {\CJSclass} is based (therefore, {\CJSclass} inherits all |
| 660 |
% the features of \class{memoir}); % |
| 661 |
% \else% |
| 662 |
% sur laquelle est basée {\CJSclass} (par conséquent, {\CJSclass} |
| 663 |
% hérite de l'intégralité des fonctionnalités de \class{memoir}); % |
| 664 |
% \fi |
| 665 |
% \item \ifenglish the fonts\else les polices\fi{} % |
| 666 |
% \href{https://ctan.org/pkg/stix2-otf}{STIX~Two} % |
| 667 |
% \ifenglish% |
| 668 |
% for text and mathematics; % |
| 669 |
% \else% |
| 670 |
% pour le texte et les mathématiques; % |
| 671 |
% \fi |
| 672 |
% \item \ifenglish the fonts\else les polices\fi{} % |
| 673 |
% \href{https://ctan.org/pkg/fira}{Fira} % |
| 674 |
% \ifenglish% |
| 675 |
% for decorative elements (notably \textsf{Fira Sans} for section |
| 676 |
% titles and \texttt{Fira Mono} for computer code); % |
| 677 |
% \else% |
| 678 |
% pour divers éléments décoratifs (notamment \textsf{Fira Sans} pour |
| 679 |
% les titres de sections et \texttt{Fira Mono} pour le code |
| 680 |
% informatique); % |
| 681 |
% \fi |
| 682 |
% \item \ifenglish the package\else le paquetage\fi{} % |
| 683 |
% \href{https://ctan.org/pkg/babel}{\pkg{babel}} % |
| 684 |
% \ifenglish% |
| 685 |
% to handle multiple languages in a single document. % |
| 686 |
% \else% |
| 687 |
% pour la prise en charge de multiples langues dans un même |
| 688 |
% document. % |
| 689 |
% \fi |
| 690 |
% \end{itemize} |
| 691 |
% |
| 692 |
% \changes{1.2}{2025-05-09}{Recommend compilation with {\LuaLaTeX} ^^A |
| 693 |
% instead of {\XeLaTeX}, to follow the official recommendation of the |
| 694 |
% {\LaTeX} Team.} |
| 695 |
% \ifenglish% |
| 696 |
% The class is largely compatible with the engine {pdf\LaTeX}. |
| 697 |
% However, to take full advantage of its characteristics\footnote{% |
| 698 |
% In particular when it comes to fonts. The engine {pdf\LaTeX} uses |
| 699 |
% the Type~1 versions of the fonts STIX~Two and Fira. Since the |
| 700 |
% PostScript Type~1 technology has been deprecated, the fonts are no |
| 701 |
% longer updated. The engine {\LuaLaTeX} uses the more modern---and |
| 702 |
% complete---OpenType versions of the fonts.} % |
| 703 |
% we recommend that you compile your manuscript using the more |
| 704 |
% modern engine {\LuaLaTeX}. % |
| 705 |
% \else% |
| 706 |
% La classe est en grande partie compatible avec le moteur |
| 707 |
% {pdf\LaTeX}. Cependant, pour tirer pleinement profit de ses |
| 708 |
% caractéristiques\footnote{% |
| 709 |
% Notamment au chapitre des polices de caractères. Le moteur |
| 710 |
% {pdf\LaTeX} utilise les versions Type~1 des polices STIX~Two et |
| 711 |
% Fira. Or, la technologie Type~1 PostScript étant aujourd'hui |
| 712 |
% obsolète, ces polices ne sont plus mises à jour. Le moteur |
| 713 |
% {\LuaLaTeX} utilise les plus modernes~--- et complètes~--- versions |
| 714 |
% OpenType des polices.}, % |
| 715 |
% nous recommandons de compiler votre manuscript avec le plus moderne |
| 716 |
% moteur {\LuaLaTeX}. % |
| 717 |
% \fi |
| 718 |
% |
| 719 |
% \ifenglish% |
| 720 |
% \subsection{Templates} |
| 721 |
% \else% |
| 722 |
% \subsection{Gabarits} |
| 723 |
% \fi |
| 724 |
% \label{sec:usage:templates} |
| 725 |
% |
| 726 |
% \changes{1.3}{2025-08-29}{Documentation: revise wording on the |
| 727 |
% location of the templates (they are with the documentation in all |
| 728 |
% distributions) and remove the obsolete link to download them from |
| 729 |
% the project website.} |
| 730 |
% \changes{1.1}{2024-06-05}{Documentation: add a link to the templates |
| 731 |
% in the \emph{Templates} sub-section.} |
| 732 |
% \ifenglish% |
| 733 |
% The class is distributed with templates for articles in English |
| 734 |
% and French. If you are using the version of the class included |
| 735 |
% with your {\TeX} distribution, the templates are located with the |
| 736 |
% documentation. You may also obtain them from % |
| 737 |
% \else% |
| 738 |
% La classe est distribuée avec des gabarits pour des articles en français |
| 739 |
% et en anglais. Si vous utilisez la version de la classe fournie avec |
| 740 |
% votre distribution {\TeX}, les gabarits sont classés avec la |
| 741 |
% documentation. Vous pouvez aussi les récupérer à partir de % |
| 742 |
% \fi% |
| 743 |
% \href{https://ctan.org/pkg/\CJSname}{CTAN}. % |
| 744 |
% \ifenglish |
| 745 |
% If you followed the limited or manual installation instructions of |
| 746 |
% \autoref{sec:installation}, the templates reside in your working |
| 747 |
% directory. % |
| 748 |
% \else% |
| 749 |
% Si vous avez plutôt opté pour une installation limitée ou manuelle |
| 750 |
% telles que décrites à la \autoref{sec:installation}, les gabarits se |
| 751 |
% trouvent dans votre dossier de travail. % |
| 752 |
% \fi% |
| 753 |
% |
| 754 |
% \ifenglish% |
| 755 |
% We strongly encourage to start from a template to write your |
| 756 |
% article. It may also help to follow a template while reading this |
| 757 |
% section. |
| 758 |
% \else% |
| 759 |
% Nous recommandons fortement de rédiger votre article à partir d'un |
| 760 |
% gabarit. Il peut aussi s'avérer utile de suivre un gabarit en lisant |
| 761 |
% cette section. |
| 762 |
% \fi |
| 763 |
% |
| 764 |
% \ifenglish% |
| 765 |
% \subsection{Text encoding} |
| 766 |
% \else% |
| 767 |
% \subsection{Codage du code source} |
| 768 |
% \fi |
| 769 |
% \label{sec:usage:encoding} |
| 770 |
% |
| 771 |
% \ifenglish% |
| 772 |
% When the text contains accented letters or any other non-ASCII |
| 773 |
% symbol, you must save your manuscript using the % |
| 774 |
% \else% |
| 775 |
% Lorsqu'il contient du texte avec des accents ou tout autre symbole |
| 776 |
% non-ASCII, le code source de votre manuscript doit obligatoirement |
| 777 |
% être enregistré dans le codage de caractères % |
| 778 |
% \fi% |
| 779 |
% \href{https://fr.wikipedia.org/wiki/UTF-8}{UTF-8}\ifenglish{} |
| 780 |
% character encoding.\footnote{% |
| 781 |
% Since UTF-8 is usually not the default encoding on Windows, |
| 782 |
% be particularly careful if you are using this |
| 783 |
% operating system.}\else.\footnote{% |
| 784 |
% L'UTF-8 n'étant pas le codage par défaut sous Windows, portez une |
| 785 |
% attention toute particulière à ce point si vous utilisez ce système |
| 786 |
% d'exploitation.} % |
| 787 |
% \fi |
| 788 |
% |
| 789 |
% \ifenglish% |
| 790 |
% \subsection{Class declaration and options} |
| 791 |
% \else% |
| 792 |
% \subsection{Déclaration de la classe et options} |
| 793 |
% \fi |
| 794 |
% \label{sec:usage:options} |
| 795 |
% |
| 796 |
% \ifenglish% |
| 797 |
% The class is loaded with the command: % |
| 798 |
% \else% |
| 799 |
% On charge la classe avec la commande: % |
| 800 |
% \fi |
| 801 |
% \iffalse |
| 802 |
%<*example> |
| 803 |
% \fi |
| 804 |
\begin{lstlisting} |
| 805 |
\documentclass`\oarg{options}'{cjs-rcs-article} |
| 806 |
\end{lstlisting} |
| 807 |
% \iffalse |
| 808 |
%</example> |
| 809 |
% \fi |
| 810 |
% \ifenglish% |
| 811 |
% Some \meta{options} of the class are intended for the authors, |
| 812 |
% whereas others are instead intended for the editors of {\TheCJS*}. |
| 813 |
% Presentation of the editor \meta{options} is deferred to |
| 814 |
% \autoref{sec:editors}. Here, we concentrate on the author |
| 815 |
% \meta{options}, that is: the languages of the article, |
| 816 |
% \code{review}, \code{supplement}, and \code{nocjs}. % |
| 817 |
% \else% |
| 818 |
% La classe comporte des \meta{options} pour les auteurs et d'autres |
| 819 |
% qui s'adressent plus spécifiquement aux éditeurs de {\LaRevue*}. La |
| 820 |
% présentation des \meta{options} pour les éditeurs est repoussée à |
| 821 |
% l'\autoref{sec:editors}. Pour l'instant, nous nous concentrons sur |
| 822 |
% les \meta{options} pour les auteurs, soit: les langues de l'article, |
| 823 |
% \code{review}, \code{supplement} et \code{nocjs}. % |
| 824 |
% \fi% |
| 825 |
% |
| 826 |
% \begin{DescribeOption}{english} |
| 827 |
% \begin{DescribeOption}{french} |
| 828 |
% \ifenglish% |
| 829 |
% {\TheCJS} asks for abstracts in English and French. Therefore, |
| 830 |
% \code{english} and \code{french} are required in the |
| 831 |
% \meta{options} of the class. You need to declare these options in |
| 832 |
% a specific order, because the \emph{last} one becomes the main |
| 833 |
% language of the article. % |
| 834 |
% \else% |
| 835 |
% {\LaRevue} exige des résumés en anglais et en français. Par |
| 836 |
% conséquent, \code{english} et \code{french} doivent figurer dans |
| 837 |
% les \meta{options} de la classe. Vous devez les déclarer dans un |
| 838 |
% ordre précis, car la \emph{dernière} langue mentionnée devient la |
| 839 |
% langue principale de l'article. % |
| 840 |
% \fi |
| 841 |
% \end{DescribeOption} |
| 842 |
% \end{DescribeOption} |
| 843 |
% |
| 844 |
% \begin{DescribeOption}{review} |
| 845 |
% \ifenglish% |
| 846 |
% The option \code{review} produces version of the manuscript |
| 847 |
% suitable for peer review. With this option, the lines are numbered |
| 848 |
% and the line spacing is increased. % |
| 849 |
% \else% |
| 850 |
% L'option \code{review} produit une version pour le processus |
| 851 |
% d'évaluation. Avec cette option, les lignes sont numérotées et |
| 852 |
% l'interligne est augmenté. % |
| 853 |
% \fi |
| 854 |
% \end{DescribeOption} |
| 855 |
% |
| 856 |
% \begin{DescribeOption}{supplement} |
| 857 |
% \ifenglish% |
| 858 |
% The class option \code{supplement} allows you to use the class |
| 859 |
% {\CJSclass} to prepare your supplementary material. See |
| 860 |
% \autoref{sec:supplement} for additional details. % |
| 861 |
% \else% |
| 862 |
% L'option \code{supplement} vous permet d'utiliser la classe |
| 863 |
% {\CJSclass} pour préparer le matériel additionnel de l'article. |
| 864 |
% Consultez la \autoref{sec:supplement} pour de plus amples |
| 865 |
% informations. % |
| 866 |
% \fi |
| 867 |
% \end{DescribeOption} |
| 868 |
% |
| 869 |
% \begin{DescribeOption}{nocjs} |
| 870 |
% \ifenglish% |
| 871 |
% If you wish to use the class {\CJSclass} to typeset documents |
| 872 |
% other than an article for {\TheCJS*}, use the option \code{nocjs} |
| 873 |
% to hide all journal-specific publication information.\footnote{% |
| 874 |
% This guide uses the option \code{nocjs}.} % |
| 875 |
% The option also allows you to specify a licence agreement in a |
| 876 |
% statement that will be displayed in the footer of the title page; |
| 877 |
% see \autoref{sec:usage:licensing} for additional details. % |
| 878 |
% \else% |
| 879 |
% Si vous souhaitez utiliser la classe {\CJSclass} pour tout autre |
| 880 |
% usage qu'un article de {\LaRevue*}, l'option \code{nocjs} |
| 881 |
% désactive l'affichage des informations de publication propres au |
| 882 |
% journal.\footnote{% |
| 883 |
% L'option \code{nocjs} est utilisée pour le présent guide.} % |
| 884 |
% L'option vous permet également de préciser un contrat de licence |
| 885 |
% via une déclaration qui sera affichée dans le pied de page de la |
| 886 |
% page de titre; consultez la \autoref{sec:usage:licensing} pour de |
| 887 |
% plus amples informations. % |
| 888 |
% \fi |
| 889 |
% \end{DescribeOption} |
| 890 |
% |
| 891 |
% \ifenglish% |
| 892 |
% \subsection{Titling information} |
| 893 |
% \else% |
| 894 |
% \subsection{Informations de la page de titre} |
| 895 |
% \fi |
| 896 |
% \label{sec:usage:titling} |
| 897 |
% |
| 898 |
% \ifenglish% |
| 899 |
% The class {\CJSclass} defines a number of commands and environments |
| 900 |
% to provide information for the title page. See \autoref{tab:titling} |
| 901 |
% for a summary; the detailed descriptions follow. % |
| 902 |
% \else% |
| 903 |
% La classe {\CJSclass} définit un ensemble de commandes et |
| 904 |
% d'environnements pour fournir les éléments de la page de titre. Le |
| 905 |
% \autoref{tab:titling} en présente un sommaire; les descriptions |
| 906 |
% détaillées suivent. % |
| 907 |
% \fi |
| 908 |
% |
| 909 |
% \begin{table}[t] |
| 910 |
% \centering |
| 911 |
% \ifenglish% |
| 912 |
% \caption{Summary of the commands and environments of the class |
| 913 |
% {\CJSclass} to provide title-page information. Names starting with |
| 914 |
% the symbol ``\code{\bs}'' are commands, and the others are |
| 915 |
% environments. Items marked with $^\star$ are required.} |
| 916 |
% \else% |
| 917 |
% \caption{Sommaire des commandes et environnements de la classe |
| 918 |
% {\CJSclass} servant à spécifier les informations de la |
| 919 |
% page de titre. Les noms qui débutent par le symbole «\code{\bs}» |
| 920 |
% sont des noms de commandes, les autres sont des noms |
| 921 |
% d'environnements. Les éléments marqués de $^\star$ sont |
| 922 |
% obligatoires.} |
| 923 |
% \fi |
| 924 |
% \label{tab:titling} |
| 925 |
% \renewcommand*\arraystretch{1.1} |
| 926 |
% \begin{tabular}{ll} |
| 927 |
% \toprule |
| 928 |
% \ifenglish Name\else Nom\fi & Usage \\ |
| 929 |
% \midrule |
| 930 |
% \cmd{\title}$^\star$ & |
| 931 |
% \ifenglish |
| 932 |
% main title of the article (with an abbreviated version as an option) \\ |
| 933 |
% \else |
| 934 |
% titre principal de l'article (avec une version abrégée en option) \\ |
| 935 |
% \fi |
| 936 |
% \cmd{\author}$^\star$ & |
| 937 |
% \ifenglish |
| 938 |
% name of an author (and metadata as an option) \\ |
| 939 |
% \else |
| 940 |
% nom d'un auteur (et métadonnées en option) \\ |
| 941 |
% \fi |
| 942 |
% \cmd{\surname}$^\star$ & |
| 943 |
% \ifenglish |
| 944 |
% surname of an author (used inside \cmdprint{\author}) \\ |
| 945 |
% \else |
| 946 |
% nom de famille d'un auteur (utilisée à l'intérieur de \cmdprint{\author}) \\ |
| 947 |
% \fi |
| 948 |
% \cmd{\affil}$^\star$ & |
| 949 |
% \ifenglish |
| 950 |
% affiliation of an author \\ |
| 951 |
% \else |
| 952 |
% affiliation d'un auteur \\ |
| 953 |
% \fi |
| 954 |
% \cmd{\runningauthor} & |
| 955 |
% \ifenglish |
| 956 |
% author identification for the running heads \\ |
| 957 |
% \else |
| 958 |
% identification courte des auteurs pour les entêtes \\ |
| 959 |
% \fi |
| 960 |
% \code{englishabstract}$^\star$ & |
| 961 |
% \ifenglish |
| 962 |
% English abstract \\ |
| 963 |
% \else |
| 964 |
% résumé en anglais \\ |
| 965 |
% \fi |
| 966 |
% \code{frenchabstract}$^\star$ & |
| 967 |
% \ifenglish |
| 968 |
% French abstract \\ |
| 969 |
% \else |
| 970 |
% résumé en français \\ |
| 971 |
% \fi |
| 972 |
% \code{keywords} & |
| 973 |
% \ifenglish |
| 974 |
% list of keywords \\ |
| 975 |
% \else |
| 976 |
% liste des mots-clés \\ |
| 977 |
% \fi |
| 978 |
% \code{classification}$^\star$ & |
| 979 |
% \ifenglish |
| 980 |
% mathematics subject classification MSC2020 \\ |
| 981 |
% \else |
| 982 |
% classification mathématique par matières MSC2020 \\ |
| 983 |
% \fi |
| 984 |
% \bottomrule |
| 985 |
% \end{tabular} |
| 986 |
% \end{table} |
| 987 |
% |
| 988 |
% \ifenglish% |
| 989 |
% \subsubsection{Main title} |
| 990 |
% \else% |
| 991 |
% \subsubsection{Titre de l'article} |
| 992 |
% \fi |
| 993 |
% \label{sec:usage:titling:title} |
| 994 |
% |
| 995 |
% \begin{DescribeMacro}{\title} |
| 996 |
% \ifenglish% |
| 997 |
% The command \cmd{\title} defines the title of the article. An |
| 998 |
% optional argument specifies an abbreviated version of the title |
| 999 |
% that will be used for the running head. Therefore, the syntax |
| 1000 |
% of the command is: % |
| 1001 |
% \else% |
| 1002 |
% La commande \cmd{\title} sert à spécifier le titre de l'article. |
| 1003 |
% Un argument optionnel permet de spécifier une version abrégée |
| 1004 |
% du titre qui sera utilisée dans les entêtes. La syntaxe de la |
| 1005 |
% commande est donc: % |
| 1006 |
% \fi |
| 1007 |
% \iffalse |
| 1008 |
%<*example> |
| 1009 |
% \fi |
| 1010 |
\def\OPT{\ifenglish Short title\else Titre court\fi} |
| 1011 |
\def\ARG{\ifenglish Full title\else Titre complet\fi} |
| 1012 |
\begin{lstlisting} |
| 1013 |
\title`\oarg{\OPT}\marg{\ARG}' |
| 1014 |
\end{lstlisting} |
| 1015 |
% \iffalse |
| 1016 |
%</example> |
| 1017 |
% \fi |
| 1018 |
% \ifenglish% |
| 1019 |
% Write the title in sentence style, that is, with only an initial |
| 1020 |
% capital. In English, also capitalize the first word after a colon. |
| 1021 |
% Break a long title needing more than one line using \code{\bs\bs} |
| 1022 |
% or \cmdprint{\newline}. % |
| 1023 |
% \else% |
| 1024 |
% Entrez le titre en minuscules (sauf pour la majuscule initiale). |
| 1025 |
% En anglais, utilisez toutefois une majuscule initiale après un |
| 1026 |
% deux-points. Vous devez couper manuellement avec \code{\bs\bs} ou |
| 1027 |
% \cmdprint{\newline} un titre qui nécessite plus d'une ligne. |
| 1028 |
% \fi |
| 1029 |
% \end{DescribeMacro} |
| 1030 |
% |
| 1031 |
% \ifenglish% |
| 1032 |
% \subsubsection{Authors and affiliations} |
| 1033 |
% \else% |
| 1034 |
% \subsubsection{Auteurs et affiliations} |
| 1035 |
% \fi |
| 1036 |
% \label{sec:usage:titling:authors} |
| 1037 |
% |
| 1038 |
% \ifenglish% |
| 1039 |
% You must provide the names of all the authors and their persistent |
| 1040 |
% digital identifiers % |
| 1041 |
% \else% |
| 1042 |
% Vous devez fournir les noms de tous les auteurs et leurs |
| 1043 |
% identifiants numériques persistants % |
| 1044 |
% \fi% |
| 1045 |
% \href{https://orcid.org}{ORCID iD}; % |
| 1046 |
% \ifenglish% |
| 1047 |
% the affiliation for each author; the email address of the |
| 1048 |
% corresponding author; and the list of authors for the running head. |
| 1049 |
% The class {\CJSclass} uses an information entry system inspired by |
| 1050 |
% the package % |
| 1051 |
% \else% |
| 1052 |
% les affiliations de chacun; l'adresse courriel de l'auteur |
| 1053 |
% correspondant; la liste des auteurs pour l'entête. La classe |
| 1054 |
% {\CJSclass} utilise une méthode de saisie de l'information inspirée |
| 1055 |
% du paquetage % |
| 1056 |
% \fi% |
| 1057 |
% \href{https://ctan.org/pkg/authblk}{\pkg{authblk}} % |
| 1058 |
% \ifenglish% |
| 1059 |
% consisting of a series of pairs of commands \cmd{\author} and |
| 1060 |
% \cmd{\affil}, one per author. % |
| 1061 |
% \else% |
| 1062 |
% qui consiste en des paires de commandes \cmd{\author} et |
| 1063 |
% \cmd{\affil}, une par auteur. % |
| 1064 |
% \fi |
| 1065 |
% |
| 1066 |
% \begin{DescribeMacro}{\author} |
| 1067 |
% \begin{DescribeMacro}{\surname} |
| 1068 |
% \ifenglish% |
| 1069 |
% The command \cmd{\author} is the main component. Its general |
| 1070 |
% syntax is the following: % |
| 1071 |
% \else% |
| 1072 |
% La commande \cmd{\author} permet d'entrer plusieurs des |
| 1073 |
% informations relatives à un auteur de l'article. Sa syntaxe |
| 1074 |
% générale est la suivante: % |
| 1075 |
% \fi |
| 1076 |
% \iffalse |
| 1077 |
%<*example> |
| 1078 |
% \fi |
| 1079 |
\def\FORENAME{\ifenglish Forename\else Prénom\fi} |
| 1080 |
\def\SURNAME{\ifenglish Surname\else Nom\fi} |
| 1081 |
\begin{lstlisting} |
| 1082 |
\author`\oarg{options}'{`\meta{\FORENAME}' \surname`\marg{\SURNAME}'} |
| 1083 |
\end{lstlisting} |
| 1084 |
% \iffalse |
| 1085 |
%</example> |
| 1086 |
% \fi |
| 1087 |
% \ifenglish% |
| 1088 |
% The \meta{Surname} must be entered using the command |
| 1089 |
% \cmd{\surname}. Write the \meta{Forename} and \meta{Surname} in |
| 1090 |
% lowercase (except for the initial capital and initials). If |
| 1091 |
% needed, the \meta{Forename} may include one or more initials, each |
| 1092 |
% followed by a period. % |
| 1093 |
% \else% |
| 1094 |
% Le \meta{Nom} doit obligatoirement être saisi dans la commande |
| 1095 |
% \cmd{\surname}. Entrez le \meta{Prénom} et le \meta{Nom} en |
| 1096 |
% minuscules (sauf pour les premières lettres et les initiales). Le |
| 1097 |
% cas échéant, une ou plusieurs initiales, chacune suivie d'un |
| 1098 |
% point, peuvent faire partie du \meta{Prénom}. % |
| 1099 |
% \fi |
| 1100 |
% |
| 1101 |
% \ifenglish% |
| 1102 |
% The \meta{options} are used to supply an author's metadata using a |
| 1103 |
% \meta{key} = \meta{value} interface. \autoref{tab:author} shows |
| 1104 |
% the currently available keys and the expected value for each. The |
| 1105 |
% \meta{key}--\meta{value} pairs are separated by commas. % |
| 1106 |
% \else% |
| 1107 |
% Les \meta{options} permettent de fournir des métadonnées sur |
| 1108 |
% l'auteur par le biais d'une interface \meta{clé} = \meta{valeur}. |
| 1109 |
% Le \autoref{tab:author} présente les clés actuellement définies et |
| 1110 |
% la valeur attendue pour chacune. Les paires |
| 1111 |
% \meta{clé}--\meta{valeur} sont séparées les unes des autres par |
| 1112 |
% une virgule. % |
| 1113 |
% \fi |
| 1114 |
% |
| 1115 |
% \begin{table} |
| 1116 |
% \centering |
| 1117 |
% \ifenglish% |
| 1118 |
% \caption{Keys and values defined for the options of the command |
| 1119 |
% \cmdprint{\author}} |
| 1120 |
% \else% |
| 1121 |
% \caption{Clés et valeurs définies pour les options de la |
| 1122 |
% commande \cmdprint{\author}} |
| 1123 |
% \fi |
| 1124 |
% \label{tab:author} |
| 1125 |
% \begin{tabular}{lll} |
| 1126 |
% \toprule |
| 1127 |
% \ifenglish Key\else Clé\fi & \ifenglish Value\else Valeur\fi & Description \\ |
| 1128 |
% \midrule |
| 1129 |
% \code{orcid} & \meta{id} & |
| 1130 |
% \ifenglish% |
| 1131 |
% ORCID iD of the author \\ |
| 1132 |
% \else% |
| 1133 |
% ORCID iD de l'auteur \\ |
| 1134 |
% \fi% |
| 1135 |
% \code{email} & \meta{\ifenglish email\else courriel\fi} & |
| 1136 |
% \ifenglish% |
| 1137 |
% email address of the author \\ |
| 1138 |
% \else% |
| 1139 |
% adresse courriel de l'auteur \\ |
| 1140 |
% \fi% |
| 1141 |
% \code{corresponding} & \code{true}/\code{false} & |
| 1142 |
% \ifenglish% |
| 1143 |
% corresponding author \\ |
| 1144 |
% \else% |
| 1145 |
% auteur correspondant \\ |
| 1146 |
% \fi% |
| 1147 |
% \bottomrule |
| 1148 |
% \end{tabular} |
| 1149 |
% \end{table} |
| 1150 |
% |
| 1151 |
% \ifenglish% |
| 1152 |
% The key \code{orcid} provides the ORCID iD of the author, that is, |
| 1153 |
% a 16-digit alphanumeric code of the form \code{0000-0000-0000-0000}. % |
| 1154 |
% \else% |
| 1155 |
% La clé \code{orcid} fournit l'identifiant numérique ORCID (ou |
| 1156 |
% ORCID iD) de l'auteur, soit un code alphanumérique à 16 |
| 1157 |
% composantes de la forme \code{0000-0000-0000-0000}. % |
| 1158 |
% \fi |
| 1159 |
% |
| 1160 |
% \ifenglish% |
| 1161 |
% The key \code{email} provides the email address of the author. |
| 1162 |
% Currently, only the email address of the corresponding author |
| 1163 |
% appears in the manuscript. Nevertheless, we recommend providing |
| 1164 |
% this address for all authors. % |
| 1165 |
% \else% |
| 1166 |
% La clé \code{email} fournit l'adresse courriel de l'auteur. |
| 1167 |
% Actuellement, seule l'adresse courriel de l'auteur correspondant |
| 1168 |
% apparait dans le manuscript. Nous recommandons néanmoins |
| 1169 |
% d'indiquer cette adresse pour tous les auteurs. % |
| 1170 |
% \fi |
| 1171 |
% |
| 1172 |
% \ifenglish% |
| 1173 |
% The key \code{corresponding} identifies the corresponding author. |
| 1174 |
% The value of the key is implicitly \code{true} when it appears in |
| 1175 |
% the options, and \code{false} when not present. In other words, |
| 1176 |
% instead of specifying \code{corresponding=true} and |
| 1177 |
% \code{corresponding=false} for every author, you may simply |
| 1178 |
% indicate \code{corresponding} for the corresponding author. This |
| 1179 |
% key has no effect if the \code{email} key is missing for the |
| 1180 |
% author. % |
| 1181 |
% \else% |
| 1182 |
% La clé \code{corresponding} identifie l'auteur correspondant. La |
| 1183 |
% valeur de la clé est implicitement \code{true} quand celle-ci |
| 1184 |
% apparait dans les options, et \code{false} lorsqu'elle n'y |
| 1185 |
% apparait pas. Autrement dit, il n'est pas nécessaire d'indiquer |
| 1186 |
% \code{corresponding=true} ou \code{corresponding=false} pour |
| 1187 |
% chacun des auteurs, mais bien seulement \code{corresponding} pour |
| 1188 |
% l'auteur correspondant. Cette clé est sans effet si la clé |
| 1189 |
% \code{email} n'est pas aussi utilisée pour l'auteur. % |
| 1190 |
% \fi |
| 1191 |
% \end{DescribeMacro} |
| 1192 |
% \end{DescribeMacro} |
| 1193 |
% |
| 1194 |
% \begin{DescribeMacro}{\affil} |
| 1195 |
% \ifenglish% |
| 1196 |
% Second component of the author entry system, the command |
| 1197 |
% \cmd{\affil} declares the affiliation of the author mentioned in |
| 1198 |
% the immediately preceding \cmd{\author} command. The general form |
| 1199 |
% of an affiliation is: % |
| 1200 |
% \else% |
| 1201 |
% Seconde composante du système de saisie des auteurs, la commande |
| 1202 |
% \cmd{\affil} permet d'entrer l'affiliation de l'auteur mentionné |
| 1203 |
% dans la commande \cmd{\author} qui la précède. La forme générale |
| 1204 |
% de l'affiliation est: % |
| 1205 |
% \fi |
| 1206 |
% \iffalse |
| 1207 |
%<*example> |
| 1208 |
% \fi |
| 1209 |
\def\AFFIL{\ifenglish Department, University, City, Country\else% |
| 1210 |
Département, Université, Ville, Pays\fi} |
| 1211 |
\begin{lstlisting} |
| 1212 |
\affil`\marg{\AFFIL}' |
| 1213 |
\end{lstlisting} |
| 1214 |
% \iffalse |
| 1215 |
%</example> |
| 1216 |
% \fi |
| 1217 |
% \end{DescribeMacro} |
| 1218 |
% |
| 1219 |
% \begin{DescribeMacro}{\runningauthor} |
| 1220 |
% \ifenglish% |
| 1221 |
% The running head contains the surnames of the authors as |
| 1222 |
% automatically collected by the command \cmd{\surname}. If the list |
| 1223 |
% is too long, you may use the command \cmd{\runningauthor} to |
| 1224 |
% provide a shorter version: the first author's surname followed by |
| 1225 |
% \emph{et al.} (in English) or \emph{et collab.} (in French): % |
| 1226 |
% \else% |
| 1227 |
% L'identification des auteurs qui apparait dans les entêtes de |
| 1228 |
% l'article est normalement construite automatiquement à partir des |
| 1229 |
% informations colligées par la commande \cmd{\surname}. Si la liste |
| 1230 |
% s'avère trop longue, vous pouvez utiliser la commande |
| 1231 |
% \cmd{\runningauthors} pour fournir une version écourtée: le nom du |
| 1232 |
% premier auteur suivi de la locution «et collab.» (en français) ou |
| 1233 |
% «et al.» (en anglais): % |
| 1234 |
% \fi |
| 1235 |
% \iffalse |
| 1236 |
%<*example> |
| 1237 |
% \fi |
| 1238 |
\def\SURNAME{\ifenglish Surname\else Nom\fi} |
| 1239 |
\def\ETAL{\ifenglish et al.\else et collab.\fi} |
| 1240 |
\def\ETCOLLAB{\ifenglish et collab.\else et al.\fi} |
| 1241 |
\begin{lstlisting} |
| 1242 |
\runningauthor{`\meta{\SURNAME} \ETAL'} |
| 1243 |
\runningauthor{`\meta{\SURNAME} \ETCOLLAB'} |
| 1244 |
\end{lstlisting} |
| 1245 |
% \iffalse |
| 1246 |
%</example> |
| 1247 |
% \fi |
| 1248 |
% \end{DescribeMacro} |
| 1249 |
% |
| 1250 |
% \ifenglish% |
| 1251 |
% \subsubsection{Abstracts} |
| 1252 |
% \else% |
| 1253 |
% \subsubsection{Résumés} |
| 1254 |
% \fi |
| 1255 |
% \label{sec:usage:titling:abstract} |
| 1256 |
% |
| 1257 |
% \begin{DescribeEnv}{englishabstract} |
| 1258 |
% \begin{DescribeEnv}{frenchabstract} |
| 1259 |
% \ifenglish% |
| 1260 |
% Articles in {\TheCJS} have both English and French abstracts. |
| 1261 |
% Use the environments \code{englishabstract} and |
| 1262 |
% \code{frenchabstract} to enter the abstracts. Their position on |
| 1263 |
% the title page is set automatically by the class. % |
| 1264 |
% \else% |
| 1265 |
% Les articles dans {\LaRevue} proposent des résumés en français et |
| 1266 |
% en anglais. Les environnements \code{frenchabstract} et |
| 1267 |
% \code{englishabstract} permettent de saisir ceux-ci. Leur |
| 1268 |
% positionnement dans la page de titre est déterminé automatiquement |
| 1269 |
% par la classe. % |
| 1270 |
% \fi |
| 1271 |
% \end{DescribeEnv} |
| 1272 |
% \end{DescribeEnv} |
| 1273 |
% |
| 1274 |
% \ifenglish% |
| 1275 |
% The standard environment \code{abstract} has no effect in the |
| 1276 |
% class {\CJSclass}. % |
| 1277 |
% \else% |
| 1278 |
% L'environnement \code{abstract} des classes standards est sans effet |
| 1279 |
% dans la classe {\CJSclass}. % |
| 1280 |
% \fi |
| 1281 |
% |
| 1282 |
% \ifenglish% |
| 1283 |
% \subsubsection{Keywords} |
| 1284 |
% \else% |
| 1285 |
% \subsubsection{Mots-clés} |
| 1286 |
% \fi |
| 1287 |
% \label{sec:usage:titling:keywords} |
| 1288 |
% |
| 1289 |
% \begin{DescribeEnv}{keywords} |
| 1290 |
% \ifenglish% |
| 1291 |
% The environment \code{keywords} is used to provide the list of |
| 1292 |
% keywords for the article. Its usage is similar to an |
| 1293 |
% \code{itemize} or \code{enumerate} list: % |
| 1294 |
% \else% |
| 1295 |
% L'environnement \code{keywords} permet de saisir la liste des |
| 1296 |
% mots-clés de l'article. Il s'utilise comme une liste |
| 1297 |
% \code{itemize} ou \code{enumerate}: % |
| 1298 |
% \fi |
| 1299 |
% \iffalse |
| 1300 |
%<*example> |
| 1301 |
% \fi |
| 1302 |
\def\KEYWORDC{\ifenglish Keyword\else Mot-clé\fi} |
| 1303 |
\def\KEYWORD{\ifenglish keyword\else mot-clé\fi} |
| 1304 |
\begin{lstlisting} |
| 1305 |
\begin{keywords} |
| 1306 |
\item `\normalfont\itshape{\KEYWORDC} 1' |
| 1307 |
\item `\normalfont\itshape{\KEYWORD} 2' |
| 1308 |
... |
| 1309 |
\end{keywords} |
| 1310 |
\end{lstlisting} |
| 1311 |
% \iffalse |
| 1312 |
%</example> |
| 1313 |
% \fi |
| 1314 |
% \ifenglish% |
| 1315 |
% As shown above, an initial capital is needed for the first keyword |
| 1316 |
% only. Punctuation is added automatically. % |
| 1317 |
% \else% |
| 1318 |
% Tel qu'illustré ci-dessus, une majuscule initiale est nécessaire |
| 1319 |
% pour le premier mot-clé seulement. La ponctuation est ajoutée |
| 1320 |
% automatiquement. % |
| 1321 |
% \fi |
| 1322 |
% \end{DescribeEnv} |
| 1323 |
% |
| 1324 |
% \ifenglish% |
| 1325 |
% \subsubsection{Mathematics subject classification} |
| 1326 |
% \else% |
| 1327 |
% \subsubsection{Classification mathématique par matières} |
| 1328 |
% \fi |
| 1329 |
% \label{sec:usage:titling:classification} |
| 1330 |
% |
| 1331 |
% \begin{DescribeEnv}{classification} |
| 1332 |
% \ifenglish% |
| 1333 |
% The environment \code{classification} is used to enter the |
| 1334 |
% mathematics subject classification of the article. Its interface |
| 1335 |
% is the following: % |
| 1336 |
% \else% |
| 1337 |
% L'environnement \code{classification} sert à entrer la |
| 1338 |
% classification mathématique par matières de l'article. Son |
| 1339 |
% interface est la suivante: % |
| 1340 |
% \fi |
| 1341 |
% \iffalse |
| 1342 |
%<*example> |
| 1343 |
% \fi |
| 1344 |
\def\LEVEL{\ifenglish level\else niveau\fi} |
| 1345 |
\def\CODE{\ifenglish code\else rubrique\fi} |
| 1346 |
\begin{lstlisting} |
| 1347 |
\begin{classification}`\oarg{type}' |
| 1348 |
\item`\oarg{\LEVEL} \normalfont\itshape{\CODE} 1, {\CODE} 2, \dots' |
| 1349 |
\item`\oarg{\LEVEL} \normalfont\itshape{\CODE} 1, {\CODE} 2, \dots' |
| 1350 |
... |
| 1351 |
\end{classification} |
| 1352 |
\end{lstlisting} |
| 1353 |
% \iffalse |
| 1354 |
%</example> |
| 1355 |
% \fi |
| 1356 |
% \ifenglish% |
| 1357 |
% The default classification system used is % |
| 1358 |
% \else% |
| 1359 |
% Le système de classification employé par défaut est % |
| 1360 |
% \fi% |
| 1361 |
% \href{https://msc2020.org}{MSC2020}. % |
| 1362 |
% \ifenglish% |
| 1363 |
% Should you need to use a different system for your manuscript that |
| 1364 |
% would be published elsewhere than in {\TheCJS*}, you may provide |
| 1365 |
% its name in the optional argument \meta{type}. The required |
| 1366 |
% entries \meta{level} identify the classification levels, for |
| 1367 |
% example \emph{Primary} and \emph{Secondary}. Insert commas between |
| 1368 |
% the classification codes of a level, but no other punctuation. % |
| 1369 |
% \else% |
| 1370 |
% Si vous souhaitez utiliser un système différent pour votre |
| 1371 |
% manuscrit qui sera publié ailleurs que dans {\LaRevue*}, |
| 1372 |
% vous pouvez inscrire son nom dans l'argument optionnel |
| 1373 |
% \meta{type}. Les éléments obligatoires \meta{niveau} identifient |
| 1374 |
% les niveaux de classification, par exemple «Primaire» et |
| 1375 |
% «Secondaire». Insérez des virgules entre les rubriques d'un même |
| 1376 |
% niveau, mais aucune autre ponctuation. % |
| 1377 |
% \fi |
| 1378 |
% \end{DescribeEnv} |
| 1379 |
% |
| 1380 |
% \ifenglish% |
| 1381 |
% \subsubsection{Creation of the title page} |
| 1382 |
% \else% |
| 1383 |
% \subsubsection{Création de la page de titre} |
| 1384 |
% \fi |
| 1385 |
% \label{sec:usage:titling:maketitle} |
| 1386 |
% |
| 1387 |
% \begin{DescribeMacro}{\maketitle} |
| 1388 |
% \ifenglish% |
| 1389 |
% The aforementioned titling information may be provided in the |
| 1390 |
% preamble or at the very beginning of the document body. The |
| 1391 |
% standard command \cmd{\maketitle} typesets the title page at the |
| 1392 |
% place where it appears. Therefore, you should issue this command |
| 1393 |
% after \cmdprint{\begin}\code{\{document\}}, but before any |
| 1394 |
% content. % |
| 1395 |
% \else% |
| 1396 |
% Les informations qui précèdent peuvent être fournies dans le |
| 1397 |
% préambule ou au début du corps du document. La commande standard |
| 1398 |
% \cmd{\maketitle} crée la page de titre à l'endroit où elle |
| 1399 |
% apparait. Par conséquent, vous devez insérer cette commande après |
| 1400 |
% \cmdprint{\begin}\code{\{document\}}, mais avant tout contenu. % |
| 1401 |
% \fi |
| 1402 |
% \end{DescribeMacro} |
| 1403 |
% |
| 1404 |
% \ifenglish% |
| 1405 |
% The class reserves a space at the bottom of the title page for the |
| 1406 |
% licence statement that will be added by the publisher (Wiley) after |
| 1407 |
% acceptance of the paper. For the options \code{review}, |
| 1408 |
% \code{supplement} and \code{nocjs}, the space is replaced by a |
| 1409 |
% footer with the page number. % |
| 1410 |
% \else% |
| 1411 |
% La classe réserve un espace au bas de la page de titre pour la |
| 1412 |
% déclaration de licence qui sera ajoutée par la maison d'édition |
| 1413 |
% (Wiley) lorsque votre article sera accepté pour publication. Pour |
| 1414 |
% les options \code{review}, \code{supplement} et \code{nocjs}, |
| 1415 |
% l'espace est remplacé par un pied de page contenant le numéro de |
| 1416 |
% page. % |
| 1417 |
% \fi |
| 1418 |
% |
| 1419 |
% \ifenglish% |
| 1420 |
% \subsubsection{ADNI data use agreement} |
| 1421 |
% \else% |
| 1422 |
% \subsubsection{Contrat d'utilisation des données de l'ADNI} |
| 1423 |
% \fi |
| 1424 |
% \label{sec:usage:titling:adni} |
| 1425 |
% |
| 1426 |
% \begin{DescribeMacro}{\ADNIacknowledgement} |
| 1427 |
% \ifenglish% |
| 1428 |
% The Alzheimer’s Disease Neuroimaging Initiative (ADNI) % |
| 1429 |
% \else% |
| 1430 |
% Le % |
| 1431 |
% \fi |
| 1432 |
% \href{https://adni.loni.usc.edu/wp-content/uploads/how_to_apply/ADNI_DSP_Policy.pdf}{\ifenglish Data Sharing and Publication Policy\else contrat d'utilisation des données\fi} % |
| 1433 |
% \ifenglish% |
| 1434 |
% requires authors using their data to acknowledge ADNI in the list of |
| 1435 |
% authors and give a specific statement on the title page. The |
| 1436 |
% command \cmd{\ADNIacknowledgement} adds these two requirements. |
| 1437 |
% The command has no arguments; simply insert it after the |
| 1438 |
% declarations of the authors. % |
| 1439 |
% \else% |
| 1440 |
% de l'Alzheimer’s Disease Neuroimaging Initiative (ADNI) stipule que |
| 1441 |
% les auteurs qui ont recours à leurs données doivent reconnaitre la |
| 1442 |
% contribution de l'ADNI parmi les auteurs et inclure une déclaration |
| 1443 |
% spécifique sur la page de titre de l'article. La commande |
| 1444 |
% \cmd{\ADNIacknowledgement} ajoute ces deux exigences. La commande |
| 1445 |
% n'a aucun argument; insérez simplement celle-ci après toutes les |
| 1446 |
% autres définitions des auteurs. % |
| 1447 |
% \fi |
| 1448 |
% \end{DescribeMacro} |
| 1449 |
% |
| 1450 |
% \begin{DescribeMacro}{\ADMCacknowledgement} |
| 1451 |
% \ifenglish% |
| 1452 |
% Similarly, the command \cmd{\ADMCacknowledgement} acknowledges the |
| 1453 |
% Alzheimer’s Disease Meta\-bo\-lomics Consortium (ADMC). % |
| 1454 |
% \else% |
| 1455 |
% De manière analogue, la commande \cmd{\ADMCacknowledgement} |
| 1456 |
% reconnait la contribution du |
| 1457 |
% Alzheimer’s Disease Metabolomics Consortium (ADMC). % |
| 1458 |
% \fi |
| 1459 |
% \end{DescribeMacro} |
| 1460 |
% |
| 1461 |
% \ifenglish% |
| 1462 |
% \subsection{Back matter information} |
| 1463 |
% \else% |
| 1464 |
% \subsection{Informations des parties annexes} |
| 1465 |
% \fi |
| 1466 |
% \label{sec:usage:backmatter} |
| 1467 |
% |
| 1468 |
% \ifenglish% |
| 1469 |
% Articles in {\TheCJS} end with elements forming the so-called back |
| 1470 |
% matter information: supplementary material available online, data |
| 1471 |
% sharing statement, acknowledgements, etc. The class {\CJSclass} |
| 1472 |
% provides specialized environments to enter this information. See |
| 1473 |
% \autoref{tab:titling} for a summary; the detailed descriptions |
| 1474 |
% follow. % |
| 1475 |
% \else% |
| 1476 |
% Un article de {\LaRevue} se termine par la présentation d'un |
| 1477 |
% ensemble d'informations dans des parties annexes: matériel |
| 1478 |
% additionnel disponible en ligne, conditions de partage des données, |
| 1479 |
% remerciements, etc. La classe {\CJSclass} définit des environnements |
| 1480 |
% pour entrer ce type d'information de manière uniforme. Le |
| 1481 |
% \autoref{tab:backmatter} en présente un sommaire; les descriptions |
| 1482 |
% détaillées suivent. % |
| 1483 |
% \fi |
| 1484 |
% |
| 1485 |
% \begin{table}[t] |
| 1486 |
% \centering |
| 1487 |
% \ifenglish% |
| 1488 |
% \caption{Summary of the environments of {\CJSclass} to provide the |
| 1489 |
% back matter information} % |
| 1490 |
% \else% |
| 1491 |
% \caption{Sommaire des environnements de la classe {\CJSclass} |
| 1492 |
% servant à spécifier les informations des parties annexes} % |
| 1493 |
% \fi |
| 1494 |
% \label{tab:backmatter} |
| 1495 |
% \begin{tabular}{ll} |
| 1496 |
% \toprule |
| 1497 |
% \ifenglish Name\else Nom\fi & Usage \\ |
| 1498 |
% \midrule |
| 1499 |
% \code{supplement} & |
| 1500 |
% \ifenglish% |
| 1501 |
% supplementary material \\ |
| 1502 |
% \else% |
| 1503 |
% matériel additionnel \\ |
| 1504 |
% \fi% |
| 1505 |
% \code{sharing} & |
| 1506 |
% \ifenglish% |
| 1507 |
% data sharing conditions \\ |
| 1508 |
% \else% |
| 1509 |
% conditions de partage des données \\ |
| 1510 |
% \fi% |
| 1511 |
% \code{acknowledgements} & |
| 1512 |
% \ifenglish% |
| 1513 |
% acknowledgements \\ |
| 1514 |
% \else% |
| 1515 |
% remerciements \\ |
| 1516 |
% \fi% |
| 1517 |
% \code{funding} & |
| 1518 |
% \ifenglish% |
| 1519 |
% funding information \\ |
| 1520 |
% \else% |
| 1521 |
% informations sur le financement de la recherche \\ |
| 1522 |
% \fi% |
| 1523 |
% \bottomrule |
| 1524 |
% \end{tabular} |
| 1525 |
% \end{table} |
| 1526 |
% |
| 1527 |
% \ifenglish% |
| 1528 |
% The environments described in this section are optional. % |
| 1529 |
% \else% |
| 1530 |
% L'utilisation des environnements de cette section est facultative. % |
| 1531 |
% \fi |
| 1532 |
% |
| 1533 |
% \tipbox{% |
| 1534 |
% \ifenglish% |
| 1535 |
% Although it is displayed at the end, we recommend that you enter |
| 1536 |
% the back matter information with the titling information, in the |
| 1537 |
% preamble or at the beginning of the main body of the document. % |
| 1538 |
% \else% |
| 1539 |
% Bien qu'elles ne seront affichées qu'en fin d'article, nous |
| 1540 |
% recommandons d'entrer les informations des parties annexes avec |
| 1541 |
% celles de la page de titre, dans le préambule ou au début du corps |
| 1542 |
% du document. % |
| 1543 |
% \fi} |
| 1544 |
% |
| 1545 |
% \begin{DescribeEnv}{supplement} |
| 1546 |
% \ifenglish% |
| 1547 |
% Use the environment \code{supplement} to provide, as free form |
| 1548 |
% text, information on any supplementary material: figures, |
| 1549 |
% tables, computer code, long mathematical proofs, etc. This |
| 1550 |
% material must be cited in the main article. % |
| 1551 |
% \else% |
| 1552 |
% L'environnement \code{supplement} permet d'inscrire, sous forme de |
| 1553 |
% texte libre, les informations sur tout matériel additionnel: |
| 1554 |
% figures, tableaux, code informatique, longues démonstrations, etc. |
| 1555 |
% Ce matériel doit être cité dans l'article. % |
| 1556 |
% \fi |
| 1557 |
% \end{DescribeEnv} |
| 1558 |
% |
| 1559 |
% \changes{1.1}{2024-01-23}{Documentation: revise the description of |
| 1560 |
% the \texttt{sharing} environment now that the CJS adhered to the |
| 1561 |
% Expects Data Sharing editorial policy of Wiley.} |
| 1562 |
% \begin{DescribeEnv}{sharing} |
| 1563 |
% \def\POLICYNAME{\ifenglish Expects Data Sharing\else \emph{Expects Data Sharing}\fi} |
| 1564 |
% \ifenglish% |
| 1565 |
% {\TheCJS} adheres to the % |
| 1566 |
% \else% |
| 1567 |
% {\LaRevue} respecte la politique éditoriale % |
| 1568 |
% \fi% |
| 1569 |
% \href{https://authorservices.wiley.com/author-resources/Journal-Authors/open-access/data-sharing-citation/data-sharing-policy.html}{\POLICYNAME} % |
| 1570 |
% \ifenglish% |
| 1571 |
% editorial policy of Wiley. Therefore, you must use the environment |
| 1572 |
% \code{sharing} to make a statement about the availability or |
| 1573 |
% absence of shared data. You may also use the environment to |
| 1574 |
% describe how to access shared computer code. % |
| 1575 |
% \else% |
| 1576 |
% de Wiley. Par conséquent, vous devez utiliser l'environnement |
| 1577 |
% \code{sharing} pour préciser les conditions de partage des données |
| 1578 |
% de recherche, ou encore leur absence, le cas échéant. Vous pouvez |
| 1579 |
% aussi utiliser l'environnement pour indiquer comment accéder à du |
| 1580 |
% code informatique partagé. % |
| 1581 |
% \fi |
| 1582 |
% \end{DescribeEnv} |
| 1583 |
% |
| 1584 |
% \begin{DescribeEnv}{acknowledgements} |
| 1585 |
% \begin{DescribeEnv}{acknowledgments} |
| 1586 |
% \ifenglish% |
| 1587 |
% Use the environment \code{acknowledgements} (or its alias |
| 1588 |
% \code{acknowledgments}) to write your acknowledgements in free |
| 1589 |
% form text. Avoid funding information here. % |
| 1590 |
% \else% |
| 1591 |
% L'environnement \code{acknowledgements} (ou |
| 1592 |
% \code{acknowledgments}) permet d'inscrire vos remerciements sous |
| 1593 |
% forme de texte libre. Évitez les informations de financement dans |
| 1594 |
% cette rubrique. % |
| 1595 |
% \fi% |
| 1596 |
% \makeatletter\ifenglish% |
| 1597 |
% The environment accepts an optional argument to replace its |
| 1598 |
% default name (``\CJS@ackname@en'' in English; |
| 1599 |
% ``\emph{\CJS@ackname@fr}'' in French) by a name of your |
| 1600 |
% choosing. % |
| 1601 |
% \else% |
| 1602 |
% L'environnement accepte un argument optionnel qui permet de |
| 1603 |
% remplacer l'identifiant par défaut («\CJS@ackname@fr» en français; |
| 1604 |
% «\emph{\CJS@ackname@en}» en anglais) par un terme de votre |
| 1605 |
% choix. % |
| 1606 |
% \fi\makeatother |
| 1607 |
% \end{DescribeEnv} |
| 1608 |
% \end{DescribeEnv} |
| 1609 |
% |
| 1610 |
% \begin{DescribeEnv}{funding} |
| 1611 |
% \ifenglish% |
| 1612 |
% The environment \code{funding} lets you provide, in free form |
| 1613 |
% text, all pertinent funding information. % |
| 1614 |
% \else% |
| 1615 |
% L'environnement \code{funding} permet d'inscrire, sous forme de |
| 1616 |
% texte libre, les informations sur le financement de la |
| 1617 |
% recherche. % |
| 1618 |
% \fi% |
| 1619 |
% \makeatletter\ifenglish% |
| 1620 |
% The environment accepts an optional argument to replace its |
| 1621 |
% default name (``\CJS@fundingname@en'' in English; |
| 1622 |
% ``\emph{\CJS@fundingname@fr}'' in French) by a name of your |
| 1623 |
% choosing. % |
| 1624 |
% \else% |
| 1625 |
% L'environnement accepte un argument optionnel qui permet de |
| 1626 |
% remplacer l'identifiant par défaut («\CJS@fundingname@fr» en |
| 1627 |
% français; «\emph{\CJS@fundingname@en}» en anglais) par un terme de |
| 1628 |
% votre choix. % |
| 1629 |
% \fi\makeatother |
| 1630 |
% \end{DescribeEnv} |
| 1631 |
% |
| 1632 |
% \begin{DescribeMacro}{\makebackmatter} |
| 1633 |
% \ifenglish% |
| 1634 |
% Similar to \cmd{\maketitle}, the command \cmd{\makebackmatter} |
| 1635 |
% typesets all the back matter information at the place where it |
| 1636 |
% appears. The information is listed in the following order, when |
| 1637 |
% available: % |
| 1638 |
% \else% |
| 1639 |
% Comme \cmd{\maketitle}, la commande \cmd{\makebackmatter} affiche |
| 1640 |
% les parties annexes à l'endroit où elle apparait. Les rubriques |
| 1641 |
% sont présentées dans l'ordre suivant, le cas échéant: % |
| 1642 |
% \fi% |
| 1643 |
% \ifenglish supplementary material\else matériel additionnel\fi; % |
| 1644 |
% \ifenglish data sharing\else partage des données\fi; % |
| 1645 |
% \ifenglish acknowledgements\else remerciements\fi; % |
| 1646 |
% \ifenglish funding information\else financement de la |
| 1647 |
% recherche\fi; % |
| 1648 |
% \ifenglish full ORCID iD of the authors\else versions longues des |
| 1649 |
% identifiants ORCID des auteurs\fi.% |
| 1650 |
% \ifenglish% |
| 1651 |
% The latter is built automatically by the class from the |
| 1652 |
% information provided in the commands \cmd{\author}. % |
| 1653 |
% \else% |
| 1654 |
% Cette dernière rubrique est construite automatiquement par la |
| 1655 |
% classe à partir des informations fournies dans les commandes |
| 1656 |
% \cmd{\author}. % |
| 1657 |
% \fi |
| 1658 |
% \end{DescribeMacro} |
| 1659 |
% |
| 1660 |
% \ifenglish% |
| 1661 |
% \subsection{Licensing} |
| 1662 |
% \else% |
| 1663 |
% \subsection{Octroi de licence} |
| 1664 |
% \fi |
| 1665 |
% \label{sec:usage:licensing} |
| 1666 |
% |
| 1667 |
% \begin{DescribeMacro}{\licence} |
| 1668 |
% \begin{DescribeMacro}{\license} |
| 1669 |
% \ifenglish% |
| 1670 |
% You may specify a licence for the manuscript with the command |
| 1671 |
% \cmd{\licence} (or its alias \cmd{\license}). We recommend that |
| 1672 |
% you include this command with the title and back matter |
| 1673 |
% information. % |
| 1674 |
% \else% |
| 1675 |
% Vous avez la possibilité de préciser un contrat de licence avec la |
| 1676 |
% commande \cmd{\licence} (ou \cmd{\license}). Nous vous |
| 1677 |
% recommandons d'employer cette commande avec les déclarations des |
| 1678 |
% informations de la page de titre et des parties annexes. % |
| 1679 |
% \fi |
| 1680 |
% \end{DescribeMacro} |
| 1681 |
% \end{DescribeMacro} |
| 1682 |
% |
| 1683 |
% \ifenglish% |
| 1684 |
% For articles accepted for publication in {\TheCJS}, the licence |
| 1685 |
% statement is added by the publisher. Therefore, any licensing |
| 1686 |
% information provided with either the default, \code{review} or |
| 1687 |
% \code{supplement} options is ignored by the class. % |
| 1688 |
% \else% |
| 1689 |
% Pour les articles acceptés pour publication dans {\LaRevue}, la |
| 1690 |
% déclaration de licence est ajoutée par la maison d'édition. Par |
| 1691 |
% conséquent, tout octroi de licence sera ignoré par la classe avec |
| 1692 |
% les options par défaut, \code{review} et \code{supplement}. % |
| 1693 |
% \fi% |
| 1694 |
% |
| 1695 |
% \ifenglish% |
| 1696 |
% On the other hand, for the option \code{nocjs}, the licence |
| 1697 |
% statement is displayed in the footer of the title page, |
| 1698 |
% right-aligned on an odd page, left-aligned on an even page. Make |
| 1699 |
% sure to keep the statement short, as the space is limited to a |
| 1700 |
% single line. % |
| 1701 |
% \else% |
| 1702 |
% En revanche, pour l'option \code{nocjs}, la déclaration de licence |
| 1703 |
% est affichée dans le pied de page de la page de titre, aligné à |
| 1704 |
% droite pour les pages impaires, ou à gauche pour les pages paires. |
| 1705 |
% L'espace étant limité à une seule ligne, veillez à utiliser une |
| 1706 |
% déclaration courte. % |
| 1707 |
% \fi |
| 1708 |
% |
| 1709 |
% \begin{DescribeMacro}{\ccby} |
| 1710 |
% \begin{DescribeMacro}{\ccbysa} |
| 1711 |
% \begin{DescribeMacro}{\ccbync} |
| 1712 |
% \begin{DescribeMacro}{\ccbyncsa} |
| 1713 |
% \begin{DescribeMacro}{\ccbynd} |
| 1714 |
% \begin{DescribeMacro}{\ccbyncnd} |
| 1715 |
% \ifenglish% |
| 1716 |
% You may use the commands from \autoref{tab:licencing} to |
| 1717 |
% identify % |
| 1718 |
% \else% |
| 1719 |
% Vous pouvez utiliser les commandes du \autoref{tab:licencing} pour |
| 1720 |
% identifier un contrat % |
| 1721 |
% \fi% |
| 1722 |
% \href{https://creativecommons.org}{Creative Commons} % |
| 1723 |
% \ifenglish% |
| 1724 |
% licences in your licence statement. All commands have a starred |
| 1725 |
% variant (name followed by ``\code{*}'') that appends a matching |
| 1726 |
% copyright icon to the licence symbols. See % |
| 1727 |
% \else% |
| 1728 |
% dans la déclaration de licence. Toutes les commandes comportent une |
| 1729 |
% variante étoilée (nom suivi de «\code{*}») pour ajouter un symbole |
| 1730 |
% de copyright coordonné aux autres symboles. Consultez % |
| 1731 |
% \fi% |
| 1732 |
% \href{https://creativecommons.org/about/cclicenses}{% |
| 1733 |
% \emph{About CC Licenses}} % |
| 1734 |
% \ifenglish% |
| 1735 |
% for more information on Creative Commons licences and how to apply |
| 1736 |
% them. % |
| 1737 |
% \else% |
| 1738 |
% (en anglais) pour en savoir plus sur les licences Creative Commons |
| 1739 |
% et leur utilisation. % |
| 1740 |
% \fi |
| 1741 |
% \end{DescribeMacro} |
| 1742 |
% \end{DescribeMacro} |
| 1743 |
% \end{DescribeMacro} |
| 1744 |
% \end{DescribeMacro} |
| 1745 |
% \end{DescribeMacro} |
| 1746 |
% \end{DescribeMacro} |
| 1747 |
% |
| 1748 |
% \begin{table} |
| 1749 |
% \centering |
| 1750 |
% \ifenglish% |
| 1751 |
% \caption{Commands to typeset the icons for the main Creative |
| 1752 |
% Commons licences. All commands feature a starred variant that |
| 1753 |
% appends a matching copyright icon.} % |
| 1754 |
% \else% |
| 1755 |
% \caption{Commandes pour afficher les logos des principales |
| 1756 |
% licences Creative Commons. Toutes les commandes comportent une |
| 1757 |
% variante étoilée qui ajoute un symbole de copyright coordonné.} % |
| 1758 |
% \fi |
| 1759 |
% \label{tab:licencing} |
| 1760 |
% \begin{tabular}{lll} |
| 1761 |
% \toprule |
| 1762 |
% \ifenglish Command\else Commande\fi & |
| 1763 |
% \ifenglish Output \else Résultat\fi & |
| 1764 |
% \ifenglish Starred variant \else Variante étoilée\fi \\ |
| 1765 |
% \midrule |
| 1766 |
% \cmd{\ccby} & \ccby & \ccby* \\ |
| 1767 |
% \cmd{\ccbysa} & \ccbysa & \ccbysa* \\ |
| 1768 |
% \cmd{\ccbync} & \ccbync & \ccbync* \\ |
| 1769 |
% \cmd{\ccbyncsa} & \ccbyncsa & \ccbyncsa* \\ |
| 1770 |
% \cmd{\ccbynd} & \ccbynd & \ccbynd* \\ |
| 1771 |
% \cmd{\ccbyncnd} & \ccbyncnd & \ccbyncnd* \\ |
| 1772 |
% \bottomrule |
| 1773 |
% \end{tabular} |
| 1774 |
% \end{table} |
| 1775 |
% |
| 1776 |
% \ifenglish% |
| 1777 |
% For example, the licence statement that appears on the title page of |
| 1778 |
% this document was created with the following command: |
| 1779 |
% \else% |
| 1780 |
% À titre d'exemple, la déclaration de licence qui figure au pied de |
| 1781 |
% la page de titre du présent document a été composée avec la commande |
| 1782 |
% suivante: % |
| 1783 |
% \fi |
| 1784 |
% \iffalse |
| 1785 |
%<*example> |
| 1786 |
% \fi |
| 1787 |
\begin{lstlisting} |
| 1788 |
\licence{{\ccbysa*} `\year', `\SSCen' {\textbar} |
| 1789 |
`\SSCfr'} |
| 1790 |
\end{lstlisting} |
| 1791 |
% \iffalse |
| 1792 |
%</example> |
| 1793 |
% \fi |
| 1794 |
% |
| 1795 |
% \ifenglish% |
| 1796 |
% \subsection{Mathematics} |
| 1797 |
% \else% |
| 1798 |
% \subsection{Mathématiques} |
| 1799 |
% \fi |
| 1800 |
% \label{sec:usage:mathematics} |
| 1801 |
% \changes{1.1}{2024-01-23}{Documentation: specify that the class is |
| 1802 |
% not compatible with the package \textbf{amssymb}.} |
| 1803 |
% |
| 1804 |
% \ifenglish% |
| 1805 |
% The class automatically loads the packages % |
| 1806 |
% \else% |
| 1807 |
% La classe charge d'office les paquetages % |
| 1808 |
% \fi% |
| 1809 |
% \href{https://ctan.org/pkg/amsmath}{\pkg{amsmath}}, % |
| 1810 |
% \href{https://ctan.org/pkg/amsthm}{\pkg{amsthm}} % |
| 1811 |
% \ifenglish% |
| 1812 |
% and, when the document is compiled with {\LuaLaTeX}, % |
| 1813 |
% \else% |
| 1814 |
% et, lorsque le document est compilé avec {\LuaLaTeX}, % |
| 1815 |
% \fi% |
| 1816 |
% \href{https://ctan.org/pkg/unicode-math}{\pkg{unicode-math}}. % |
| 1817 |
% \ifenglish% |
| 1818 |
% Note that it is not compatible with the package \pkg{amssymb}. The |
| 1819 |
% class also defines a number of commands and environments to |
| 1820 |
% standardize the typesetting of mathematical content in {\TheCJS}. % |
| 1821 |
% \else% |
| 1822 |
% En revanche, elle n'est pas compatible avec le paquetage |
| 1823 |
% \pkg{amssymb}. La classe définit également des commandes et des |
| 1824 |
% environnements pour assurer une mise en forme standardisée des |
| 1825 |
% mathématiques dans {\LaRevue}. % |
| 1826 |
% \fi |
| 1827 |
% |
| 1828 |
% \ifenglish% |
| 1829 |
% \autoref{tab:math} provides a summary of the additional commands |
| 1830 |
% defined by the class. % |
| 1831 |
% \else% |
| 1832 |
% Le \autoref{tab:math} présente un sommaire des commandes |
| 1833 |
% additionnelles définies par la classe. % |
| 1834 |
% \fi |
| 1835 |
% |
| 1836 |
% \begin{table} |
| 1837 |
% \ifenglish% |
| 1838 |
% \caption{Additional commands for mathematical symbols and |
| 1839 |
% operators defined by the class {\CJSclass}} |
| 1840 |
% \else% |
| 1841 |
% \caption{Commandes additionnelles pour les symboles et opérateurs |
| 1842 |
% mathématiques définies par la classe {\CJSclass}} |
| 1843 |
% \fi |
| 1844 |
% \label{tab:math} |
| 1845 |
% \centering |
| 1846 |
% \begin{tabular}{llll} |
| 1847 |
% \toprule |
| 1848 |
% \ifenglish Command\else Commande\fi & Description & |
| 1849 |
% \ifenglish Example\else Exemple\fi & |
| 1850 |
% \ifenglish Output\else Résultat\fi \\ |
| 1851 |
% \midrule |
| 1852 |
% \cmd{\Pr} & |
| 1853 |
% \ifenglish probability \else probabilité \fi & |
| 1854 |
% \cmdprint{\Pr}\code{[X = x]} & $\Pr[X = x]$ \\ |
| 1855 |
% \cmd{\E} & |
| 1856 |
% \ifenglish expected value \else espérance \fi & |
| 1857 |
% \cmdprint{\E}\code{[X]} & $\E[X]$ \\ |
| 1858 |
% \cmd{\Var} & |
| 1859 |
% variance & |
| 1860 |
% \cmdprint{\Var}\code{[X]} & $\Var[X]$ \\ |
| 1861 |
% \cmd{\Cov} & |
| 1862 |
% covariance & |
| 1863 |
% \cmdprint{\Cov}\code{(X, Y)} & $\Cov(X, Y)$ \\ |
| 1864 |
% \cmd{\corr} & |
| 1865 |
% \ifenglish correlation \else corrélation \fi & |
| 1866 |
% \cmdprint{\corr}\code{(X, Y)} & $\corr(X, Y)$ \\ |
| 1867 |
% \cmd{\prdist} & |
| 1868 |
% \ifenglish probability distribution \else loi de probabilité \fi & |
| 1869 |
% \cmdprint{\prdist}\code{\{N\}} & $\prdist{N}$ \\ |
| 1870 |
% \addlinespace |
| 1871 |
% \cmd{\mat} & |
| 1872 |
% \ifenglish matrix or vector \else matrice ou vecteur \fi & |
| 1873 |
% \cmdprint{\mat}\code{\{A\}} & $\mat{A}$ \\ |
| 1874 |
% \cmd{\matit} & |
| 1875 |
% \ifenglish matrix or vector (italic) \else matrice ou vecteur (italique) \fi & |
| 1876 |
% \cmdprint{\matit}\code{\{x\}} & $\matit{x}$ \\ |
| 1877 |
% \cmd{\trsp} & |
| 1878 |
% \ifenglish transposition \else transposée \fi & |
| 1879 |
% \cmdprint{\mat}\code{\{A\}}\cmdprint{\trsp} & $\mat{A}\trsp$ \\ |
| 1880 |
% \cmd{\tr} & |
| 1881 |
% trace & |
| 1882 |
% \cmdprint{\tr}\code{(}\cmdprint{\mat}\code{\{A\})} & $\tr(\mat{A})$ \\ |
| 1883 |
% \cmd{\diag} & |
| 1884 |
% \ifenglish diagonal \else diagonale \fi & |
| 1885 |
% \cmdprint{\diag}\code{(}\cmdprint{\mat}\code{\{A\})} & $\diag(\mat{A})$ \\ |
| 1886 |
% \addlinespace |
| 1887 |
% \cmd{\Nset} & |
| 1888 |
% \ifenglish natural numbers \else nombres naturels \fi & |
| 1889 |
% \cmdprint{\Nset} & $\Nset$ \\ |
| 1890 |
% \cmd{\Zset} & |
| 1891 |
% \ifenglish integers \else nombres entiers \fi & |
| 1892 |
% \cmdprint{\Zset} & $\Zset$ \\ |
| 1893 |
% \cmd{\Qset} & |
| 1894 |
% \ifenglish rational numbers \else nombres rationnels \fi & |
| 1895 |
% \cmdprint{\Qset} & $\Qset$ \\ |
| 1896 |
% \cmd{\Rset} & |
| 1897 |
% \ifenglish real numbers \else nombres réels \fi & |
| 1898 |
% \cmdprint{\Rset} & $\Rset$ \\ |
| 1899 |
% \cmd{\Cset} & |
| 1900 |
% \ifenglish complex numbers \else nombres complexes \fi & |
| 1901 |
% \cmdprint{\Cset} & $\Cset$ \\ |
| 1902 |
% \bottomrule |
| 1903 |
% \end{tabular} |
| 1904 |
% \end{table} |
| 1905 |
% |
| 1906 |
% \begin{DescribeMacro}{\Pr} |
| 1907 |
% \begin{DescribeMacro}{\E} |
| 1908 |
% \begin{DescribeMacro}{\Var} |
| 1909 |
% \begin{DescribeMacro}{\Cov} |
| 1910 |
% \begin{DescribeMacro}{\corr} |
| 1911 |
% \ifenglish% |
| 1912 |
% {\LaTeX} provides a large number of commands to typeset the most |
| 1913 |
% common (and many not so common) mathematical operators. In |
| 1914 |
% addition, use the commands \cmd{\Pr}, \cmd{\E}, \cmd{\Var}, |
| 1915 |
% \cmd{\Cov} and \cmd{\corr} to uniformly typeset the operators for |
| 1916 |
% probability\footnote{% |
| 1917 |
% The class redefines the standard command \cmdprint{\Pr}.}, % |
| 1918 |
% expected value, variance, covariance, and correlation. These |
| 1919 |
% commands have no arguments, so it is your responsibility to |
| 1920 |
% provide delimiters around the operands. % |
| 1921 |
% \else% |
| 1922 |
% {\LaTeX} définit plusieurs commandes pour les opérateurs |
| 1923 |
% mathématiques usuels. Utilisez les commandes \cmd{\Pr}, \cmd{\E}, |
| 1924 |
% \cmd{\Var}, \cmd{\Cov} et \cmd{\corr} pour entrer de manière |
| 1925 |
% uniforme les opérateurs de probabilité\footnote{% |
| 1926 |
% La classe redéfinit la commande standard \cmdprint{\Pr}.}, % |
| 1927 |
% d'espérance, de variance, de covariance et de corrélation. Ces |
| 1928 |
% commandes ne prennent aucun argument. Il vous revient donc |
| 1929 |
% d'employer les délimiteurs appropriés autour des opérandes. % |
| 1930 |
% \fi |
| 1931 |
% \end{DescribeMacro} |
| 1932 |
% \end{DescribeMacro} |
| 1933 |
% \end{DescribeMacro} |
| 1934 |
% \end{DescribeMacro} |
| 1935 |
% \end{DescribeMacro} |
| 1936 |
% |
| 1937 |
% \begin{DescribeMacro}{\prdist} |
| 1938 |
% \ifenglish% |
| 1939 |
% The command \cmd{\prdist} typesets the symbol for a probability |
| 1940 |
% distribution. For example: % |
| 1941 |
% \else% |
| 1942 |
% La commande \cmd{\prdist} permet de composer le symbole d'une |
| 1943 |
% distribution de probabilité. Par exemple: % |
| 1944 |
% \fi |
| 1945 |
% \begin{tabbing} |
| 1946 |
% \hspace*{2.5em}\=\cmd{\prdist}\code{\{G\}(\cmdprint{\alpha}, \cmdprint{\beta})}% |
| 1947 |
% \quad\=$\rightarrow$ \quad\=$\prdist{N}(\mu, \sigma^2)$ \quad\=\kill |
| 1948 |
% \>\cmd{\prdist}\code{\{N\}(\cmdprint{\mu}, \cmdprint{\sigma}\string^2)} % |
| 1949 |
% \>$\rightarrow$ % |
| 1950 |
% \>$\prdist{N}(\mu, \sigma^2)$ % |
| 1951 |
% \>(\ifenglish Normal\else normale\fi) \\ |
| 1952 |
% \>\cmd{\prdist}\code{\{B\}(n, p)} % |
| 1953 |
% \>$\rightarrow$ % |
| 1954 |
% \>$\prdist{B}(n, p)$ % |
| 1955 |
% \>(\ifenglish Binomial\else binomiale\fi) \\ |
| 1956 |
% \>\cmd{\prdist}\code{\{P\}(\cmdprint{\lambda})} % |
| 1957 |
% \>$\rightarrow$ % |
| 1958 |
% \>$\prdist{P}(\lambda)$ % |
| 1959 |
% \>(Poisson) \\ |
| 1960 |
% \>\cmd{\prdist}\code{\{E\}(\cmdprint{\lambda})} % |
| 1961 |
% \>$\rightarrow$ % |
| 1962 |
% \>$\prdist{E}(\lambda)$ % |
| 1963 |
% \>(\ifenglish Exponential\else exponentielle\fi) \\ |
| 1964 |
% \>\cmd{\prdist}\code{\{G\}(\cmdprint{\alpha}, \cmdprint{\beta})} % |
| 1965 |
% \>$\rightarrow$ % |
| 1966 |
% \>$\prdist{G}(\alpha, \beta)$ % |
| 1967 |
% \>(\ifenglish Gamma\else gamma\fi) |
| 1968 |
% \end{tabbing} |
| 1969 |
% \end{DescribeMacro} |
| 1970 |
% |
| 1971 |
% \changes{1.2}{2024-11-05}{Modify the statement about the effect of |
| 1972 |
% \cs{mat} on greek letters: they are not always in italic, it is |
| 1973 |
% rather that their shape is not modified.} |
| 1974 |
% \begin{DescribeMacro}{\mat} |
| 1975 |
% \begin{DescribeMacro}{\matit} |
| 1976 |
% \ifenglish% |
| 1977 |
% Bold in mathematics is a tricky issue. The commands \cmd{\mat} and |
| 1978 |
% \cmd{\matit} generate bold symbols reliably across {\TeX} |
| 1979 |
% engines. The first typesets a variable in roman bold, a style |
| 1980 |
% often used for matrices and vectors (hence the name of the |
| 1981 |
% command). With {\LuaLaTeX}, \cmdprint{\mat} also works with Greek |
| 1982 |
% letters, but their shape is not modified: $\mat{\mu}$, |
| 1983 |
% $\mat{\Gamma}$. The command \cmd{\matit} explicitly typesets a |
| 1984 |
% variable in bold italic. |
| 1985 |
% \else% |
| 1986 |
% La composition en gras en mathématiques est une opération |
| 1987 |
% délicate. Les commandes \cmd{\mat} et \cmd{\matit} composent |
| 1988 |
% automatiquement des symboles en gras quelque soit le moteur |
| 1989 |
% {\TeX}. La première compose une variable en romain gras, ce qui |
| 1990 |
% est souvent utilisé pour les matrices et les vecteurs (d'où le nom |
| 1991 |
% de la commande). Avec {\LuaLaTeX}, \cmdprint{\mat} fonctionne aussi |
| 1992 |
% avec les lettres grecques, sans toutefois modifier leur forme: |
| 1993 |
% $\mat{\mu}$, $\mat{\Gamma}$. La commande \cmd{\matit} produit |
| 1994 |
% plutôt une variable en gras italique. % |
| 1995 |
% \fi |
| 1996 |
% \end{DescribeMacro} |
| 1997 |
% \end{DescribeMacro} |
| 1998 |
% |
| 1999 |
% \begin{DescribeMacro}{\trsp} |
| 2000 |
% \ifenglish% |
| 2001 |
% To indicate matrix transposition, use only the command |
| 2002 |
% \cmd{\trsp}. % |
| 2003 |
% \else% |
| 2004 |
% Pour indiquer la transposée d'une matrice, utilisez uniquement la |
| 2005 |
% commande \cmd{\trsp}. % |
| 2006 |
% \fi |
| 2007 |
% \end{DescribeMacro} |
| 2008 |
% |
| 2009 |
% \begin{DescribeMacro}{\tr} |
| 2010 |
% \begin{DescribeMacro}{\diag} |
| 2011 |
% \ifenglish% |
| 2012 |
% The commands \cmd{\tr} and \cmd{\diag} define two other common |
| 2013 |
% linear algebra operators, the trace and the diagonal. % |
| 2014 |
% \else% |
| 2015 |
% Les commandes \cmd{\tr} et \cmd{\diag} définissent deux autres |
| 2016 |
% opérateurs courants en algèbre linéaire, la trace et la |
| 2017 |
% diagonale. % |
| 2018 |
% \fi |
| 2019 |
% \end{DescribeMacro} |
| 2020 |
% \end{DescribeMacro} |
| 2021 |
% |
| 2022 |
% \begin{DescribeMacro}{\Nset} |
| 2023 |
% \begin{DescribeMacro}{\Zset} |
| 2024 |
% \begin{DescribeMacro}{\Qset} |
| 2025 |
% \begin{DescribeMacro}{\Rset} |
| 2026 |
% \begin{DescribeMacro}{\Cset} |
| 2027 |
% \ifenglish% |
| 2028 |
% To ensure a uniform representation of number sets, use the class |
| 2029 |
% commands % |
| 2030 |
% \else% |
| 2031 |
% Pour assurer représentation uniforme des ensembles de nombres, |
| 2032 |
% utilisez les commandes de la classe % |
| 2033 |
% \fi% |
| 2034 |
% \cmd{\Nset}, % |
| 2035 |
% \cmd{\Zset}, % |
| 2036 |
% \cmd{\Qset}, % |
| 2037 |
% \cmd{\Rset}, % |
| 2038 |
% \ifenglish and \else et \fi % |
| 2039 |
% \cmd{\Cset} % |
| 2040 |
% \ifenglish% |
| 2041 |
% to typeset the sets of natural numbers, integers, rational |
| 2042 |
% numbers, real numbers and complex numbers, respectively. % |
| 2043 |
% \else% |
| 2044 |
% pour composer les symboles des ensembles des nombres naturels, |
| 2045 |
% entiers, rationnels, réels et complexes, dans l'ordre. % |
| 2046 |
% \fi |
| 2047 |
% \end{DescribeMacro} |
| 2048 |
% \end{DescribeMacro} |
| 2049 |
% \end{DescribeMacro} |
| 2050 |
% \end{DescribeMacro} |
| 2051 |
% \end{DescribeMacro} |
| 2052 |
% |
| 2053 |
% \ifenglish% |
| 2054 |
% You may define new mathematical operators in the preamble of your |
| 2055 |
% document. To do so, use the command \cmd{\DeclareMathOperator} of |
| 2056 |
% \pkg{amsmath}; see Section~5 of the package documentation for more |
| 2057 |
% details. % |
| 2058 |
% \else% |
| 2059 |
% Vous pouvez définir de nouveaux opérateurs dans le préambule de |
| 2060 |
% votre document. Utilisez pour ce faire la commande |
| 2061 |
% \cmd{\DeclareMathOperator} de \pkg{amsmath}; consultez la section~5 |
| 2062 |
% de la documentation du paquetage pour de plus amples informations. % |
| 2063 |
% \fi |
| 2064 |
% |
| 2065 |
% \ifenglish% |
| 2066 |
% \autoref{tab:theorem} lists the theorem-like environments defined by |
| 2067 |
% the class. The environment \code{proof} defined by \pkg{amsthm} is |
| 2068 |
% also available. All these environments accept an optional argument |
| 2069 |
% to provide additional information in the heading, such as the name of |
| 2070 |
% the theorem or its author. Here is a brief overview of the style of |
| 2071 |
% the environments: % |
| 2072 |
% \else% |
| 2073 |
% Le \autoref{tab:theorem} établit la liste des environnements de type |
| 2074 |
% théorème définis par la classe. À ceux-ci s'ajoute l'environnement |
| 2075 |
% \code{proof} déjà défini par \pkg{amsthm}. Ces environnements |
| 2076 |
% acceptent tous un argument optionnel pour de l'information à inclure |
| 2077 |
% entre parenthèses dans l'intitulé, tel que le nom du théorème ou |
| 2078 |
% celui de son auteur. Voici un bref aperçu du style de ces |
| 2079 |
% environnements: % |
| 2080 |
% \fi |
| 2081 |
% |
| 2082 |
% \begin{center} |
| 2083 |
% \def\TEXT{\ifenglish Text\else Texte\fi} |
| 2084 |
% \hfill |
| 2085 |
% \begin{minipage}{0.45\linewidth} |
| 2086 |
% \begin{theorem} |
| 2087 |
% \label{thm} \TEXT. |
| 2088 |
% \end{theorem} |
| 2089 |
% \begin{lemma}[\ifenglish Famous lemma\else Lemme célèbre\fi] |
| 2090 |
% \TEXT. |
| 2091 |
% \end{lemma} |
| 2092 |
% \begin{proposition} |
| 2093 |
% \TEXT. |
| 2094 |
% \end{proposition} |
| 2095 |
% \begin{corollary} |
| 2096 |
% \TEXT. |
| 2097 |
% \end{corollary} |
| 2098 |
% \end{minipage} |
| 2099 |
% \hfill |
| 2100 |
% \begin{minipage}{0.45\linewidth} |
| 2101 |
% \begin{definition} |
| 2102 |
% \TEXT. |
| 2103 |
% \end{definition} |
| 2104 |
% \begin{algorithm} |
| 2105 |
% \TEXT. |
| 2106 |
% \end{algorithm} |
| 2107 |
% \begin{remark} |
| 2108 |
% \TEXT. |
| 2109 |
% \end{remark} |
| 2110 |
% \begin{proof} |
| 2111 |
% \TEXT. |
| 2112 |
% \end{proof} |
| 2113 |
% \end{minipage} |
| 2114 |
% \hspace*{\fill} |
| 2115 |
% \end{center} |
| 2116 |
% |
| 2117 |
% \begin{table} |
| 2118 |
% \ifenglish% |
| 2119 |
% \caption{Theorem-like environments defined by the class |
| 2120 |
% {\CJSclass}. The last column refers to the styles defined by |
| 2121 |
% \pkg{amsthm}.} % |
| 2122 |
% \else% |
| 2123 |
% \caption{Environnements de type théorème définis dans la classe |
| 2124 |
% {\CJSclass}. La dernière colonne fait référence aux |
| 2125 |
% styles de théorèmes définis par \pkg{amsthm}.} % |
| 2126 |
% \fi |
| 2127 |
% \label{tab:theorem} |
| 2128 |
% \centering |
| 2129 |
% \begin{tabular}{>{\ttfamily}lll>{\texttt}l} |
| 2130 |
% \toprule |
| 2131 |
% {\normalfont \ifenglish Environment\else Environnement\fi} & |
| 2132 |
% \ifenglish English title\else Titre anglais\fi & |
| 2133 |
% \ifenglish French title\else Titre français\fi & Style \\ |
| 2134 |
% \midrule |
| 2135 |
% theorem & Theorem & Théorème & \code{plain} \\ |
| 2136 |
% lemma & Lemma & Lemme & \code{plain} \\ |
| 2137 |
% proposition & Proposition & Proposition & \code{plain} \\ |
| 2138 |
% corollary & Corollary & Corollaire & \code{plain} \\ |
| 2139 |
% definition & Definition & Définition & \code{definition} \\ |
| 2140 |
% algorithm & Algorithm & Algorithme & \code{definition} \\ |
| 2141 |
% remark & Remark & Remarque & \code{remark} \\ |
| 2142 |
% \bottomrule |
| 2143 |
% \end{tabular} |
| 2144 |
% \end{table} |
| 2145 |
% |
| 2146 |
% \ifenglish% |
| 2147 |
% If you need to define additional theorem-like environments, use the |
| 2148 |
% features of \pkg{amsthm}, in particular the commands |
| 2149 |
% \cmd{\theoremstyle} and \cmd{\newtheorem}. % |
| 2150 |
% \else% |
| 2151 |
% Si vous devez définir un nouveau type de théorème, utilisez les |
| 2152 |
% fonctionnalités de \pkg{amsthm}, notamment les commandes |
| 2153 |
% \cmd{\theoremstyle} et \cmd{\newtheorem}. % |
| 2154 |
% \fi |
| 2155 |
% |
| 2156 |
% |
| 2157 |
% \ifenglish% |
| 2158 |
% \subsection{Computer code and software} |
| 2159 |
% \else% |
| 2160 |
% \subsection{Code informatique et logiciels} |
| 2161 |
% \fi |
| 2162 |
% \label{sec:usage:software} |
| 2163 |
% |
| 2164 |
% \ifenglish% |
| 2165 |
% The class does not offer any special features to typeset listings of |
| 2166 |
% computer code. If you need to display code, we recommend that you |
| 2167 |
% take advantage of specialized packages such as % |
| 2168 |
% \else% |
| 2169 |
% La classe ne propose aucune fonctionnalité particulière pour la |
| 2170 |
% présentation du code infor\-ma\-tique. Nous vous recommandons |
| 2171 |
% d'avoir recours à des paquetages spécialisés comme % |
| 2172 |
% \fi |
| 2173 |
% \href{https://ctan.org/pkg/fancyvrb}{\pkg{fancyvrb}} % |
| 2174 |
% \ifenglish or \else ou \fi% |
| 2175 |
% \href{https://ctan.org/pkg/listings}{\pkg{listings}}. % |
| 2176 |
% \ifenglish% |
| 2177 |
% If you use \proglang{R} for your statistical analysis, we suggest |
| 2178 |
% that you prepare the file using a literate programming system such |
| 2179 |
% as % |
| 2180 |
% \else% |
| 2181 |
% Si vous utilisez \proglang{R} pour effectuer votre analyse |
| 2182 |
% statistique, nous vous suggérons de rédiger l'article avec un |
| 2183 |
% système de programmation lettrée comme % |
| 2184 |
% \fi |
| 2185 |
% \href{https://en.wikipedia.org/wiki/Sweave}{Sweave} % |
| 2186 |
% \ifenglish or \else ou \fi% |
| 2187 |
% \href{https://en.wikipedia.org/wiki/Knitr}{knitr}. |
| 2188 |
% |
| 2189 |
% \ifenglish% |
| 2190 |
% That said, the class defines a few commands to ease and standardize |
| 2191 |
% the display of software names and code chunks. % |
| 2192 |
% \else% |
| 2193 |
% Cela dit, la classe fournit quelques commandes pour faciliter et |
| 2194 |
% uniformiser la présentation des noms de logiciels et d'extraits de |
| 2195 |
% code. % |
| 2196 |
% \fi |
| 2197 |
% |
| 2198 |
% \begin{DescribeMacro}{\proglang} |
| 2199 |
% \ifenglish% |
| 2200 |
% The command \cmd{\proglang} typesets the names of programming |
| 2201 |
% languages and software. The class also provides shortcuts for the |
| 2202 |
% most common cases; see \autoref{tab:proglang}. % |
| 2203 |
% \else% |
| 2204 |
% La commande \cmd{\proglang} sert à composer le nom des langages de |
| 2205 |
% programmation et des logiciels. La classe compte aussi des |
| 2206 |
% raccourcis pour les cas les plus usuels; la liste apparait au |
| 2207 |
% \autoref{tab:proglang}. % |
| 2208 |
% \fi |
| 2209 |
% \end{DescribeMacro} |
| 2210 |
% |
| 2211 |
% \begin{table} |
| 2212 |
% \ifenglish% |
| 2213 |
% \caption{List of shortcuts for the names of programming languages |
| 2214 |
% and software.} |
| 2215 |
% \else% |
| 2216 |
% \caption{Liste des raccourcis pour les noms de langages de |
| 2217 |
% programmation et de logiciels} |
| 2218 |
% \fi |
| 2219 |
% \label{tab:proglang} |
| 2220 |
% \centering |
| 2221 |
% \begin{tabular}{ll} |
| 2222 |
% \toprule |
| 2223 |
% \ifenglish Software\else Logiciel\fi & \ifenglish Command\else Commande\fi \\ |
| 2224 |
% \midrule |
| 2225 |
% \Rlang & \cmd{\Rlang} \\ |
| 2226 |
% \SASlang & \cmd{\SASlang} \\ |
| 2227 |
% \SPSSlang & \cmd{\SPSSlang} \\ |
| 2228 |
% \Statalang & \cmd{\Statalang} \\ |
| 2229 |
% \Pylang & \cmd{\Pylang} \\ |
| 2230 |
% \Julialang & \cmd{\Julialang} \\ |
| 2231 |
% \Clang & \cmd{\Clang} \\ |
| 2232 |
% \Cpplang & \cmd{\Cpplang} \\ |
| 2233 |
% \bottomrule |
| 2234 |
% \end{tabular} |
| 2235 |
% \end{table} |
| 2236 |
% |
| 2237 |
% \begin{DescribeMacro}{\pkg} |
| 2238 |
% \ifenglish% |
| 2239 |
% The command \cmd{\pkg} typesets the names of software packages, |
| 2240 |
% extensions or modules. % |
| 2241 |
% \else% |
| 2242 |
% Utilisez la commande \cmd{\pkg} pour composer le nom des |
| 2243 |
% paquetages, extensions ou modules logiciels. % |
| 2244 |
% \fi |
| 2245 |
% \end{DescribeMacro} |
| 2246 |
% |
| 2247 |
% \begin{DescribeMacro}{\code} |
| 2248 |
% \ifenglish% |
| 2249 |
% The command \cmd{\code} typesets code chunks within the |
| 2250 |
% text. The command escapes the {\LaTeX} special characters |
| 2251 |
% \code{_}, \code{~} and \code{$}. Therefore, you may write, for |
| 2252 |
% example, \cmdprint{\code}\code{\{var_name\}} to get |
| 2253 |
% \code{var_name}. % |
| 2254 |
% \else% |
| 2255 |
% La commande \cmd{\code} sert à composer des extraits de code |
| 2256 |
% au fil du texte. Les caractères spéciaux «\code{_}», «\code{~}» et |
| 2257 |
% «\code{$}» de {\LaTeX} y sont désactivés. Vous pouvez donc |
| 2258 |
% directement entrer, par exemple, |
| 2259 |
% \cmdprint{\code}\code{\{var_name\}} pour obtenir |
| 2260 |
% \code{var_name}. % |
| 2261 |
% \fi |
| 2262 |
% \end{DescribeMacro} |
| 2263 |
% |
| 2264 |
% \ifenglish% |
| 2265 |
% \subsection{Appendices} |
| 2266 |
% \else% |
| 2267 |
% \subsection{Annexes} |
| 2268 |
% \fi |
| 2269 |
% \label{sec:usage:appendices} |
| 2270 |
% |
| 2271 |
% \begin{DescribeMacro}{\appendix} |
| 2272 |
% \ifenglish% |
| 2273 |
% If needed, use the standard command \cmd{\appendix} to indicate |
| 2274 |
% the start of the appendices. The command changes the numbering of |
| 2275 |
% the following sections to an alphabetic form. % |
| 2276 |
% \else% |
| 2277 |
% Si votre article le nécessite, utilisez la commande standard |
| 2278 |
% \cmd{\appendix} pour indiquer le début des annexes. La commande |
| 2279 |
% change la numérotation des sections ultérieures pour un mode |
| 2280 |
% alphabétique. % |
| 2281 |
% \fi |
| 2282 |
% \end{DescribeMacro} |
| 2283 |
% |
| 2284 |
% \ifenglish% |
| 2285 |
% \subsection{Citations and list of references} |
| 2286 |
% \else% |
| 2287 |
% \subsection{Citations et liste des références} |
| 2288 |
% \fi |
| 2289 |
% \label{sec:usage:references} |
| 2290 |
% \changes{0.9}{2023-10-14}{Document usage of the bibliographic |
| 2291 |
% styles.} |
| 2292 |
% |
| 2293 |
% \ifenglish% |
| 2294 |
% Use {\BibTeX} for citations and to generate the list of references. |
| 2295 |
% The class relies on the package % |
| 2296 |
% \else% |
| 2297 |
% Utilisez {\BibTeX} pour les citations et la liste des références. La |
| 2298 |
% classe confie la mise en forme des citations au paquetage % |
| 2299 |
% \fi% |
| 2300 |
% \href{https://ctan.org/pkg/natbib}{\pkg{natbib}}\ifenglish{ }\else. \fi % |
| 2301 |
% \ifenglish% |
| 2302 |
% to manage and typeset citations. % |
| 2303 |
% \fi |
| 2304 |
% |
| 2305 |
% \ifenglish% |
| 2306 |
% The class uses its own bibliography styles to typeset the list of |
| 2307 |
% references: {\CJSbsten} for articles in English, and {\CJSbstfr} for |
| 2308 |
% articles in French. These styles support all the standard {\BibTeX} |
| 2309 |
% entry types % |
| 2310 |
% \else% |
| 2311 |
% La classe a recours à ses propres styles de bibliographie pour |
| 2312 |
% composer la liste des références: {\CJSbstfr} pour les articles en |
| 2313 |
% français et {\CJSbsten} pour les articles en anglais. Ces deux |
| 2314 |
% styles prennent en charge tous les types d'entrées standards de |
| 2315 |
% {\BibTeX} % |
| 2316 |
% \fi% |
| 2317 |
% (\code{article}, \code{book}, \code{proceedings}, etc.) % |
| 2318 |
% \ifenglish% |
| 2319 |
% and all the standard fields % |
| 2320 |
% \else% |
| 2321 |
% et tous les champs standards % |
| 2322 |
% \fi% |
| 2323 |
% (\code{author}, \code{title}, \code{journal}, etc.). % |
| 2324 |
% \ifenglish% |
| 2325 |
% Furthermore, the styles introduce support for the following |
| 2326 |
% fields: % |
| 2327 |
% \else% |
| 2328 |
% De plus, ils ajoutent les champs suivants: % |
| 2329 |
% \fi% |
| 2330 |
% \begin{description}[font=\mdseries\ttfamily,style=nextline,leftmargin=3em] |
| 2331 |
% \item[doi] % |
| 2332 |
% \ifenglish% |
| 2333 |
% The Digital Object Identifier (DOI) of a resource. Enter the value |
| 2334 |
% only as \meta{prefix}\code{/}\meta{suffix} (for example: |
| 2335 |
% \code{10.1000/182}). The styles automatically create a hyperlink |
| 2336 |
% to the resource. % |
| 2337 |
% \else% |
| 2338 |
% L'identificateur d'objet numérique (DOI) d'une ressource. Entrez |
| 2339 |
% uniquement la valeur sous la forme |
| 2340 |
% \meta{préfixe}\code{/}\meta{suffixe} (par exemple: |
| 2341 |
% \code{10.1000/182}). Les styles créent automatiquement un |
| 2342 |
% hyperlien vers la ressource. % |
| 2343 |
% \fi% |
| 2344 |
% \item[isbn] % |
| 2345 |
% \ifenglish% |
| 2346 |
% The International Standard Book Number (ISBN) of a book. When |
| 2347 |
% present, the ISBN is displayed in the list of references. % |
| 2348 |
% \else% |
| 2349 |
% Le numéro international normalisé du livre (ISBN) d'un ouvrage. |
| 2350 |
% Lorsque disponible, le numéro est affiché dans la liste des |
| 2351 |
% références. % |
| 2352 |
% \fi% |
| 2353 |
% \item[issn] % |
| 2354 |
% \ifenglish% |
| 2355 |
% The International Standard Serial Number (ISSN) of a serial |
| 2356 |
% publication, such as a magazine. Although allowed in the |
| 2357 |
% bibliographic database, the number is not displayed in the list of |
| 2358 |
% references. % |
| 2359 |
% \else% |
| 2360 |
% Le numéro international normalisé des publications en série (ISSN) |
| 2361 |
% d'une publication en série, tel qu'un magazine. Bien que permis |
| 2362 |
% dans la base de données bibliographiques, ce numéro n'est pas |
| 2363 |
% affiché dans la liste des références.% |
| 2364 |
% \fi% |
| 2365 |
% \item[language] % |
| 2366 |
% \ifenglish% |
| 2367 |
% The language of the reference. Including this information in an |
| 2368 |
% entry allows to hyphenate the words in the title according to the |
| 2369 |
% rules of its language. % |
| 2370 |
% \else% |
| 2371 |
% La langue de la référence. Inclure cette information dans une |
| 2372 |
% entrée assure que la coupure des mots du titre sera effectuée |
| 2373 |
% selon les règles de la langue de celui-ci. \fi% |
| 2374 |
% \item[url] % |
| 2375 |
% \ifenglish% |
| 2376 |
% A URL for the reference. If both a URL and a DOI are present in |
| 2377 |
% the database, the latter takes precedence. % |
| 2378 |
% \else% |
| 2379 |
% L'adresse URL de la référence. Si une adresse URL et un |
| 2380 |
% identificateur DOI sont tous deux présents dans la base de |
| 2381 |
% données, ce dernier aura priorité. % |
| 2382 |
% \fi% |
| 2383 |
% \end{description} |
| 2384 |
% |
| 2385 |
% \begin{DescribeMacro}{\bibliography} |
| 2386 |
% \ifenglish% |
| 2387 |
% The command \cmd{\bibliography} inserts the list of references at |
| 2388 |
% the point where it appears. Its arguments are the root names, |
| 2389 |
% separated by commas, of the bibliographic databases. Use this |
| 2390 |
% command to generate your reference list. % |
| 2391 |
% \else% |
| 2392 |
% La commande \cmd{\bibliography} insère la liste des références à |
| 2393 |
% l'endroit où celle-ci apparait. Elle prend en argument les noms de |
| 2394 |
% base des fichiers de données bibliographiques, séparés par des |
| 2395 |
% virgules. Utilisez cette commande pour produire la liste des |
| 2396 |
% références de votre article. % |
| 2397 |
% \fi |
| 2398 |
% \end{DescribeMacro} |
| 2399 |
% |
| 2400 |
% \ifenglish% |
| 2401 |
% \subsection{Writing in French} |
| 2402 |
% \else% |
| 2403 |
% \subsection{Rédaction en français} |
| 2404 |
% \fi |
| 2405 |
% \label{sec:usage:french} |
| 2406 |
% |
| 2407 |
% \changes{1.3}{2025-08-27}{Documentation (French version): fix |
| 2408 |
% the statement in \emph{Writing in French} about UTF-8 character |
| 2409 |
% encoding being recommended. It is rather mandatory.} |
| 2410 |
% \ifenglish% |
| 2411 |
% The class is also carefully configured to prepare manuscripts in |
| 2412 |
% French. If you are writing in this language, please read the |
| 2413 |
% corresponding \nolink{\autoref{sec:usage:french}} in the French |
| 2414 |
% version of the documentation for additional details. % |
| 2415 |
% \else% |
| 2416 |
% Un texte en français contiendra des lettres accentuées. Entrez |
| 2417 |
% celles-ci directement au clavier («\code{é}») sans passer par les |
| 2418 |
% commandes {\TeX} («\code{{\bs}'e}»), puis enregistrez le fichier |
| 2419 |
% dans le codage de caractères % |
| 2420 |
% \href{https://fr.wikipedia.org/wiki/UTF-8}{UTF-8}. % |
| 2421 |
% Il est ensuite fortement recommandé de compiler le document avec |
| 2422 |
% {\LuaLaTeX}. |
| 2423 |
% |
| 2424 |
% Lorsque le français est la langue principale, le module % |
| 2425 |
% \href{https://ctan.org/pkg/babel-french}{\pkg{babel-french}} % |
| 2426 |
% modifie plusieurs règles de présentation générale d'un document |
| 2427 |
% (listes, notes de bas de page, retrait des premiers paragraphes). La |
| 2428 |
% mise en page d'un article en français différera donc de celle d'un |
| 2429 |
% article en anglais. |
| 2430 |
% |
| 2431 |
% La classe {\CJSclass} comporte quelques éléments de |
| 2432 |
% configuration spéciaux pour le français: |
| 2433 |
% \begin{itemize} |
| 2434 |
% \item Une espace fine est utilisée comme séparateur des milliers |
| 2435 |
% dans les nombres saisis avec la commande \cmdprint{\nombre} du |
| 2436 |
% paquetage % |
| 2437 |
% \href{https://ctan.org/pkg/numprint}{\pkg{numprint}} % |
| 2438 |
% (qui est par ailleurs chargé par la classe avec l'option |
| 2439 |
% \code{autolanguage}). |
| 2440 |
% \item Les guillemets français «~» peuvent être saisis directement |
| 2441 |
% avec les touches corres\-pon\-dantes au clavier. |
| 2442 |
% \item Les intitulés des tableaux et des figures sont, dans l'ordre, |
| 2443 |
% «Tableau» et «Figure», composés sans petites capitales. |
| 2444 |
% \end{itemize} |
| 2445 |
% \fi |
| 2446 |
% |
| 2447 |
% \ifenglish% |
| 2448 |
% \section{Hyperlinks} |
| 2449 |
% \else% |
| 2450 |
% \section{Hyperliens} |
| 2451 |
% \fi |
| 2452 |
% \label{sec:hyperlinks} |
| 2453 |
% |
| 2454 |
% \ifenglish% |
| 2455 |
% The class loads the package \pkg{hyperref} to insert internal and |
| 2456 |
% external hyperlinks into the PDF. You should use the command |
| 2457 |
% \cmd{\autoref} to create references to labeled text elements. The |
| 2458 |
% class defines the English and French description labels for all |
| 2459 |
% sectioning levels, for figures and tables, and for all the |
| 2460 |
% theorem-like environments introduced in |
| 2461 |
% \autoref{sec:usage:mathematics}. If you need to define a |
| 2462 |
% description label of a new environment \meta{env}, use the |
| 2463 |
% following command in the preamble of your document:% |
| 2464 |
% \else% |
| 2465 |
% La classe charge le paquetage \pkg{hyperref} pour insérer des |
| 2466 |
% hyperliens internes et externes dans le document PDF. Vous devez |
| 2467 |
% utiliser la commande \cmd{\autoref} pour insérer des références à |
| 2468 |
% des éléments de texte étiquetés. La classe définit les descriptions |
| 2469 |
% pour les différents niveaux de sections, pour les figures et les |
| 2470 |
% tableaux, ainsi que pour tous les environnements de type théorème |
| 2471 |
% mentionnés à la \autoref{sec:usage:mathematics}. Si vous devez |
| 2472 |
% définir une description pour un nouvel environnement \meta{env}, |
| 2473 |
% insérez la commande suivante dans le préambule de votre document: % |
| 2474 |
% \fi |
| 2475 |
% \iffalse |
| 2476 |
%<*example> |
| 2477 |
% \fi |
| 2478 |
\begin{lstlisting} |
| 2479 |
\addto\extras`\languagename'{\def\`\meta{env}'autorefname`\marg{description}'} |
| 2480 |
\end{lstlisting} |
| 2481 |
% \iffalse |
| 2482 |
%</example> |
| 2483 |
% \fi |
| 2484 |
% \ifenglish% |
| 2485 |
% (If the main language of the article is French, replace |
| 2486 |
% \cmdprint{\extras}\code{\languagename} by |
| 2487 |
% \cmdprint{\extrasfrench}.\footnote{% |
| 2488 |
% For further details, see Section~6 of the documentation of |
| 2489 |
% \pkg{hyperref}.}) % |
| 2490 |
% \else% |
| 2491 |
% (Si la langue principale de l'article est l'anglais, remplacez |
| 2492 |
% \cmdprint{\extras}\code{\languagename} par |
| 2493 |
% \cmdprint{\extrasenglish}.\footnote{% |
| 2494 |
% Consultez au besoin la section~6 de la documentation de |
| 2495 |
% \pkg{hyperref}.}) % |
| 2496 |
% \fi |
| 2497 |
% |
| 2498 |
% \begin{DescribeMacro}{\texorpdfstring} |
| 2499 |
% \changes{1.1}{2024-03-12}{Documentation: mention to also use |
| 2500 |
% \cs{texorpdfstring} to fix \texttt{Token not allowed in a PDF |
| 2501 |
% string} warnings.} |
| 2502 |
% \changes{0.93}{2023-11-07}{Fix the name of a command from |
| 2503 |
% \cs{textorpdfstring} to the correct \cs{texorpdfstring} in the |
| 2504 |
% documentation.}% |
| 2505 |
% \ifenglish% |
| 2506 |
% The package \pkg{hyperref} builds the table of contents of the |
| 2507 |
% PDF. If you use mathematical notation or symbols in a section |
| 2508 |
% title, compilation of your manuscript may either result in |
| 2509 |
% warnings of the form % |
| 2510 |
% \else% |
| 2511 |
% Le paquetage \pkg{hyperref} se charge de produire la table des |
| 2512 |
% matières du fichier PDF. Si vous utilisez de la notation ou des |
| 2513 |
% symboles mathématiques dans un titre de section, la compilation de |
| 2514 |
% votre article pourrait soit résulter en des avertissements de la |
| 2515 |
% forme % |
| 2516 |
% \fi% |
| 2517 |
% \begin{quote} |
| 2518 |
% Token not allowed in a PDF string |
| 2519 |
% \end{quote} |
| 2520 |
% \ifenglish% |
| 2521 |
% or halt with the error message % |
| 2522 |
% \else% |
| 2523 |
% ou échouer avec le message d'erreur % |
| 2524 |
% \fi% |
| 2525 |
% \begin{quote} |
| 2526 |
% \code{Improper alphabetic constant} |
| 2527 |
% \end{quote} |
| 2528 |
% \ifenglish% |
| 2529 |
% If you positively need the notation or symbol in the title, wrap |
| 2530 |
% it in \cmd{\texorpdfstring}. This command takes two arguments: the |
| 2531 |
% notation or symbol that should appear in the document, and the |
| 2532 |
% replacement text for the table of contents of the PDF. For |
| 2533 |
% example, you would replace % |
| 2534 |
% \else% |
| 2535 |
% Si vous ne pouvez vous passer de la notation ou du symbole dans le |
| 2536 |
% titre, utilisez la commande \cmd{\texorpdfstring} dans celui-ci. |
| 2537 |
% Cette commande requiert deux arguments: le texte qui doit |
| 2538 |
% apparaitre dans le document et celui qui peut figurer dans la |
| 2539 |
% table des matières du fichier PDF. Par exemple, vous devriez |
| 2540 |
% remplacer % |
| 2541 |
% \fi% |
| 2542 |
% \iffalse |
| 2543 |
%<*example> |
| 2544 |
% \fi |
| 2545 |
\def\TEXT{\ifenglish Algorithm for\else Algorithme pour\fi} |
| 2546 |
\begin{lstlisting} |
| 2547 |
\section{`\TEXT' $U_n$} |
| 2548 |
\end{lstlisting} |
| 2549 |
% \iffalse |
| 2550 |
%</example> |
| 2551 |
% \fi |
| 2552 |
% \ifenglish% |
| 2553 |
% by something along the lines of % |
| 2554 |
% \else% |
| 2555 |
% par quelque chose comme % |
| 2556 |
% \fi% |
| 2557 |
% \iffalse |
| 2558 |
%<*example> |
| 2559 |
% \fi |
| 2560 |
\begin{lstlisting} |
| 2561 |
\section{`\TEXT' \texorpdfstring{$U_n$}{U[n]}} |
| 2562 |
\end{lstlisting} |
| 2563 |
% \iffalse |
| 2564 |
%</example> |
| 2565 |
% \fi |
| 2566 |
% \ifenglish% |
| 2567 |
% You would also replace % |
| 2568 |
% \else |
| 2569 |
% De même, vous devriez remplacer % |
| 2570 |
% \fi% |
| 2571 |
% \iffalse |
| 2572 |
%<*example> |
| 2573 |
% \fi |
| 2574 |
\def\TEXT{Contribution \ifenglish of\else de\fi} |
| 2575 |
\begin{lstlisting} |
| 2576 |
\subsection{`\TEXT' $\beta$} |
| 2577 |
\end{lstlisting} |
| 2578 |
% \iffalse |
| 2579 |
%</example> |
| 2580 |
% \fi |
| 2581 |
% \ifenglish by\else par\fi |
| 2582 |
% \iffalse |
| 2583 |
%<*example> |
| 2584 |
% \fi |
| 2585 |
\begin{lstlisting} |
| 2586 |
\subsection{`\TEXT' \texorpdfstring{$\beta$}{beta}} |
| 2587 |
\end{lstlisting} |
| 2588 |
% \iffalse |
| 2589 |
%</example> |
| 2590 |
% \fi |
| 2591 |
% \ifenglish or even\else ou encore\fi |
| 2592 |
% \iffalse |
| 2593 |
%<*example> |
| 2594 |
% \fi |
| 2595 |
\begin{lstlisting} |
| 2596 |
\subsection{`\TEXT' \texorpdfstring{$\beta$}{`β'}} |
| 2597 |
\end{lstlisting} |
| 2598 |
% \iffalse |
| 2599 |
%</example> |
| 2600 |
% \fi |
| 2601 |
% \ifenglish% |
| 2602 |
% if you can enter Unicode characters on the keyboard. % |
| 2603 |
% \else% |
| 2604 |
% si vous êtes en mesure d'entrer des caractères Unicode au |
| 2605 |
% clavier. % |
| 2606 |
% \fi |
| 2607 |
% \end{DescribeMacro} |
| 2608 |
% |
| 2609 |
% |
| 2610 |
% \ifenglish% |
| 2611 |
% \section{Supplementary material} |
| 2612 |
% \else% |
| 2613 |
% \section{Matériel additionnel} |
| 2614 |
% \fi |
| 2615 |
% \label{sec:supplement} |
| 2616 |
% |
| 2617 |
% \ifenglish% |
| 2618 |
% The supplementary material is useful for additional results or |
| 2619 |
% information, such as tables and figures, computer code, long |
| 2620 |
% mathematical proofs, etc. This material must be cited in the |
| 2621 |
% main article, and it is peer reviewed. % |
| 2622 |
% \else% |
| 2623 |
% Le matériel additionnel sert à diffuser des résultats ou des |
| 2624 |
% renseignements supplémentaires, tels que des tableaux et des |
| 2625 |
% figures, du code informatique, des longues démonstrations, etc. Le |
| 2626 |
% matériel doit être cité dans l'article et il fait l'objet d'une |
| 2627 |
% évaluation par le comité de lecture.% |
| 2628 |
% \fi |
| 2629 |
% |
| 2630 |
% \begingroup |
| 2631 |
% \makeatletter |
| 2632 |
% \let\PREFIX\CJS@suppprefix |
| 2633 |
% \makeatother |
| 2634 |
% \ifenglish% |
| 2635 |
% You can use {\CJSclass} to prepare the supplementary material by |
| 2636 |
% specifying the class option \code{supplement}. The differences are |
| 2637 |
% as follows: |
| 2638 |
% \begin{itemize} |
| 2639 |
% \item a statement identifying the document as supplementary material |
| 2640 |
% is added before the title; |
| 2641 |
% \item the abstracts, keywords and mathematics subject classification |
| 2642 |
% are hidden; |
| 2643 |
% \item the space for the licence statement is replaced by a footer |
| 2644 |
% with the page number; |
| 2645 |
% \item the back matter is also hidden; |
| 2646 |
% \item the sections, equations, figures, etc., are numbered with a |
| 2647 |
% prefix ``{\PREFIX}''. |
| 2648 |
% \end{itemize} |
| 2649 |
% The title and back matter material may still be present in |
| 2650 |
% the source code. In other words, you may create the supplementary |
| 2651 |
% material from the same template as your main article; just add |
| 2652 |
% \code{supplement} to the class options. % |
| 2653 |
% \else% |
| 2654 |
% En ajoutant l'option \code{supplement} lors de la déclaration de la |
| 2655 |
% classe, vous pouvez préparer le matériel additionnel avec |
| 2656 |
% {\CJSclass}. Les changements suivants sont apportés à la mise en page: |
| 2657 |
% \begin{itemize} |
| 2658 |
% \item un surtitre identifie le document comme du matériel |
| 2659 |
% additionel; |
| 2660 |
% \item les résumés, la liste des mots-clés et la classification |
| 2661 |
% mathématique par matières ne sont pas affichés sur la page de |
| 2662 |
% titre; |
| 2663 |
% \item l'espace réservé à la déclaration de licence sur la page de |
| 2664 |
% titre est remplacé par un pied de page contenant le numéro de |
| 2665 |
% page; |
| 2666 |
% \item les parties annexes ne sont pas affichées; |
| 2667 |
% \item les numéros de sections, d'équations, de figures, etc., sont |
| 2668 |
% précédés de «{\PREFIX}». |
| 2669 |
% \end{itemize} |
| 2670 |
% Les informations de la page de titre et des parties annexes peuvent |
| 2671 |
% toujours figurer dans le code source. Autrement dit, vous pouvez |
| 2672 |
% créer le matérial additionnel directement à partir du même |
| 2673 |
% préambule que votre article principal; il suffit d'ajouter |
| 2674 |
% \code{supplement} aux options de la classe. % |
| 2675 |
% \fi |
| 2676 |
% \endgroup |
| 2677 |
% |
| 2678 |
% \ifenglish% |
| 2679 |
% The option \code{supplement} is compatible with the option |
| 2680 |
% \code{review} to create a version of the supplementary material |
| 2681 |
% suitable for peer review. % |
| 2682 |
% \else% |
| 2683 |
% Vous pouvez combiner l'option \code{supplement} avec l'option |
| 2684 |
% \code{review} pour obtenir une version du matériel additionnel prête |
| 2685 |
% à être acheminée au comité de lecture. % |
| 2686 |
% \fi |
| 2687 |
% |
| 2688 |
% \vspace*{10pt} |
| 2689 |
% \hfill |
| 2690 |
% \ifenglish% |
| 2691 |
% \emph{Have fun writing!} |
| 2692 |
% \else% |
| 2693 |
% \emph{Bonne rédaction!} |
| 2694 |
% \fi% |
| 2695 |
% |
| 2696 |
% ^^A Start of the appendices |
| 2697 |
% \appendix |
| 2698 |
% |
| 2699 |
% \ifenglish% |
| 2700 |
% \section{Features for the editors} |
| 2701 |
% \else% |
| 2702 |
% \section{Fonctionnalités pour les éditeurs} |
| 2703 |
% \fi |
| 2704 |
% \label{sec:editors} |
| 2705 |
% |
| 2706 |
% \ifenglish% |
| 2707 |
% The options and commands presented in this appendix should mostly be |
| 2708 |
% of use to the editors of {\TheCJS} during the peer reviewing phase, |
| 2709 |
% and for the production of the final version before |
| 2710 |
% publication. % |
| 2711 |
% \else% |
| 2712 |
% Les options et commandes présentées dans cette annexe ne servent |
| 2713 |
% qu'aux éditeurs de {\LaRevue} durant la phase d'évaluation par le |
| 2714 |
% comité de lecture et lors de la préparation finale de l'article |
| 2715 |
% avant sa publication. % |
| 2716 |
% \fi |
| 2717 |
% |
| 2718 |
% \begin{DescribeOption}{review} |
| 2719 |
% \ifenglish% |
| 2720 |
% The option \code{review}, already mentioned in |
| 2721 |
% \autoref{sec:usage:options}, typesets the version of the |
| 2722 |
% manuscript for peer review. Line spacing is increased and the |
| 2723 |
% lines are numbered. This option is compatible with |
| 2724 |
% \code{supplement}. % |
| 2725 |
% \else% |
| 2726 |
% L'option \code{review}, déjà mentionnée à la |
| 2727 |
% \autoref{sec:usage:options}, compose la version de l'article qui |
| 2728 |
% sera acheminée au comité de lecture pour évaluation. L'interligne |
| 2729 |
% est augmenté et les lignes sont numérotées. Cette option est |
| 2730 |
% compatible avec \cmd{supplement}. % |
| 2731 |
% \fi |
| 2732 |
% \end{DescribeOption} |
| 2733 |
% |
| 2734 |
% \tipbox{% |
| 2735 |
% \ifenglish% |
| 2736 |
% If the document was successfully compiled with the option |
| 2737 |
% \code{review} and the option is later removed, you will need to |
| 2738 |
% either delete the \code{.aux} file before compiling again or |
| 2739 |
% compile the document at least twice. % |
| 2740 |
% \else% |
| 2741 |
% Si le document a été compilé avec l'option \code{review} et que |
| 2742 |
% celle-ci est par la suite retirée, il faut soit supprimer le fichier |
| 2743 |
% \code{.aux} avant de compiler de nouveau le document, soit compiler |
| 2744 |
% à deux reprises.% |
| 2745 |
% \fi} |
| 2746 |
% |
| 2747 |
% \begin{DescribeOption}{final} |
| 2748 |
% \ifenglish% |
| 2749 |
% The option \code{final}---which overrides |
| 2750 |
% \code{review}---activates checks that the publication information |
| 2751 |
% and article history are correctly defined. Furthermore, if |
| 2752 |
% licensing information is provided using the commands of |
| 2753 |
% \autoref{sec:usage:licensing}, the licence statement is displayed |
| 2754 |
% at the bottom of the first page. The option has no other effect on |
| 2755 |
% the rendering of the article. % |
| 2756 |
% \else% |
| 2757 |
% L'option \code{final}~--- qui a préséance sur \code{review}~--- |
| 2758 |
% active la vérification que les informations de publication et que |
| 2759 |
% l'historique de révision sont fournis. De plus, si les |
| 2760 |
% informations d'octroi de licence sont fournies à l'aide des |
| 2761 |
% commandes de la \autoref{sec:usage:licensing}, la déclaration est |
| 2762 |
% ajoutée au bas de la page de titre. L'option n'a aucun autre effet |
| 2763 |
% sur la composition du document. % |
| 2764 |
% \fi |
| 2765 |
% \end{DescribeOption} |
| 2766 |
% |
| 2767 |
% \begin{DescribeMacro}{\jvol} |
| 2768 |
% \begin{DescribeMacro}{\jissue} |
| 2769 |
% \begin{DescribeMacro}{\jyear} |
| 2770 |
% \begin{DescribeMacro}{\firstpage} |
| 2771 |
% \ifenglish% |
| 2772 |
% The commands \cmd{\jvol}, \cmd{\jissue} and \cmd{\jyear} provide |
| 2773 |
% the publication information: volume, number and year of the issue |
| 2774 |
% in which the article appears. The command \cmd{\firstpage} |
| 2775 |
% specifies the number of the first page; the number of the last |
| 2776 |
% page is determined automatically. This information appears on the |
| 2777 |
% title page. % |
| 2778 |
% \else% |
| 2779 |
% Les commandes \cmd{\jvol}, \cmd{jissue} et \cmd{\jyear} servent à |
| 2780 |
% indiquer les informations de publication: volume, numéro et année |
| 2781 |
% de l'édition dans lequel l'article est publié. La commande |
| 2782 |
% \cmd{\firstpage} permet de fixer le numéro de la première page de |
| 2783 |
% l'article; le numéro de la dernière page est calculé |
| 2784 |
% automatiquement. Ces informations apparaissent sur la page de |
| 2785 |
% titre. % |
| 2786 |
% \fi |
| 2787 |
% \end{DescribeMacro} |
| 2788 |
% \end{DescribeMacro} |
| 2789 |
% \end{DescribeMacro} |
| 2790 |
% \end{DescribeMacro} |
| 2791 |
% |
| 2792 |
% \begin{DescribeMacro}{\received} |
| 2793 |
% \begin{DescribeMacro}{\accepted} |
| 2794 |
% \ifenglish% |
| 2795 |
% The commands \cmd{\received} and \cmd{\accepted} specify the |
| 2796 |
% revision history that is displayed at the very end of the article. |
| 2797 |
% Their argument is a date in the % |
| 2798 |
% \else% |
| 2799 |
% Les commandes \cmd{\received} et \cmd{\accepted} servent à |
| 2800 |
% indiquer l'historique de révision qui est affiché à la toute fin |
| 2801 |
% de l'article. Leur argument est une date dans le format % |
| 2802 |
% \fi \href{https://fr.wikipedia.org/wiki/ISO_8601}{ISO~8601} % |
| 2803 |
% \ifenglish% |
| 2804 |
% format YYYY-MM-DD. For example: % |
| 2805 |
% \else% |
| 2806 |
% AAAA-MM-JJ. Par exemple: % |
| 2807 |
% \fi |
| 2808 |
% \iffalse |
| 2809 |
%<*example> |
| 2810 |
% \fi |
| 2811 |
\begin{lstlisting} |
| 2812 |
\received{`\isodate'} |
| 2813 |
\end{lstlisting} |
| 2814 |
% \iffalse |
| 2815 |
%</example> |
| 2816 |
% \fi |
| 2817 |
% \end{DescribeMacro} |
| 2818 |
% \end{DescribeMacro} |
| 2819 |
% |
| 2820 |
% \begin{DescribeMacro}{\specialack} |
| 2821 |
% \ifenglish% |
| 2822 |
% The command \cmd{\specialack} provides a generic interface to |
| 2823 |
% give special acknowledgement on the title page, such as the one |
| 2824 |
% required by ADNI (\autoref{sec:usage:titling:adni}). The |
| 2825 |
% command takes two arguments: % |
| 2826 |
% \else% |
| 2827 |
% La commande \cmd{\specialack} permet de reconnaitre une |
| 2828 |
% contribution spéciale sur la page de titre, telle que celle exigée |
| 2829 |
% par l'ADNI (\autoref{sec:usage:titling:adni}). La commande requiert |
| 2830 |
% deux arguments: % |
| 2831 |
% \fi% |
| 2832 |
% \begin{quote} |
| 2833 |
% \cmdprint{\specialack}\marg{\ifenglish by-line\else signature\fi}\marg{\ifenglish statement\else déclaration\fi} |
| 2834 |
% \end{quote} |
| 2835 |
% \ifenglish% |
| 2836 |
% The \meta{by-line} is inserted in the list of authors, whereas the |
| 2837 |
% \meta{statement} is typeset at the bottom of the title page, with |
| 2838 |
% the licensing information. Each argument may be empty, in which |
| 2839 |
% case the corresponding information is not printed. For example, |
| 2840 |
% the command \cmd{\ADNIacknowledgement} is effectively defined |
| 2841 |
% as: % |
| 2842 |
% \else% |
| 2843 |
% La \meta{signature} est ajoutée à la liste des auteurs, alors que |
| 2844 |
% la \meta{déclaration} est affichée au bas de la page de titre, |
| 2845 |
% avec la déclaration de licence. Chaque argument peut être vide, |
| 2846 |
% auquel cas l'information correspondante n'est pas affichée. À |
| 2847 |
% titre d'exemple, la commande \cmd{\ADNIacknowledgement} est |
| 2848 |
% définie ainsi: % |
| 2849 |
% \fi% |
| 2850 |
% \begin{quote} |
| 2851 |
% \cmdprint{\specialack}\code{\{}\cmdprint{\CJS@adnibyline}\code{\}\{}\cmdprint{\CJS@adnistatement}\code{\}} |
| 2852 |
% \end{quote} |
| 2853 |
% \ifenglish% |
| 2854 |
% (The internal commands \cmd{\CJS@adnibyline} and |
| 2855 |
% \cmd{\CJS@adnistatement} typeset the official ADNI by-line and |
| 2856 |
% statement. The analogous commands \cmd{\CJS@admcbyline} and |
| 2857 |
% \cmd{\CJS@admcstatement} serve the same purpose for the |
| 2858 |
% Alzheimer’s Disease Metabolomics Consortium.) % |
| 2859 |
% \else% |
| 2860 |
% (Les commandes internes \cmd{\CJS@adnibyline} et |
| 2861 |
% \cmd{\CJS@adnistatement} contiennent le texte officiel de la |
| 2862 |
% signature et de la déclaration de l'ADNI. Les commandes analogues |
| 2863 |
% \cmd{\CJS@admcbyline} et \cmd{\CJS@admcstatement} pour |
| 2864 |
% l'Alzheimer’s Disease Metabolomics Consortium sont également |
| 2865 |
% définies dans la classe.) % |
| 2866 |
% \fi% |
| 2867 |
% \end{DescribeMacro} |
| 2868 |
% |
| 2869 |
% \begin{DescribeMacro}{\specialackmark} |
| 2870 |
% \ifenglish% |
| 2871 |
% The command \cmd{\specialackmark} sets the footnote marker used by |
| 2872 |
% \cmd{\specialack}. The default definition of the marker is: % |
| 2873 |
% \else% |
| 2874 |
% La commande \cmd{\specialackmark} permet de modifier l'appel de |
| 2875 |
% note de bas de page utilisé par \cmd{\specialack}. La définition |
| 2876 |
% par défaut de l'appel de note est: % |
| 2877 |
% \fi% |
| 2878 |
% \begin{quote} |
| 2879 |
% \cmdprint{\textsuperscript}\code{\{}\cmdprint{\ensuremath}\code{\{*\}\}} |
| 2880 |
% \end{quote} |
| 2881 |
% \end{DescribeMacro} |
| 2882 |
% |
| 2883 |
% \ifenglish% |
| 2884 |
% It may happen that the title material occupies too much space (or, |
| 2885 |
% rarely, too little). When this happens, the editors can tweak the |
| 2886 |
% typesetting of the title page using the following elements. % |
| 2887 |
% \else% |
| 2888 |
% Il peut arriver que les informations de la page de titre occupent trop |
| 2889 |
% d'espace (ou, plus rarement, trop peu). Les éditeurs peuvent modifier en |
| 2890 |
% partie l'apparence de la page de titre avec les éléments suivants. % |
| 2891 |
% \fi |
| 2892 |
% |
| 2893 |
% \begin{DescribeLength}{\titlingskip} |
| 2894 |
% \ifenglish% |
| 2895 |
% The distance between the elements of the title page (from the |
| 2896 |
% abstracts to the corresponding author address) is |
| 2897 |
% \cmd{\titlingskip}. This value may be changed as usual via |
| 2898 |
% \cmd{\setlength}. The default value is \code{\the\titlingskip}. % |
| 2899 |
% \else% |
| 2900 |
% La distance entre les éléments de la page de titre (depuis les |
| 2901 |
% résumés jusqu'à l'adresse de l'auteur correspondant) est |
| 2902 |
% \cmd{\titlingskip}. Cette valeur peut être modifiée avec |
| 2903 |
% \cmd{\setlength}. La valeur par défaut est |
| 2904 |
% \code{\the\titlingskip}. % |
| 2905 |
% \fi |
| 2906 |
% \end{DescribeLength} |
| 2907 |
% |
| 2908 |
% \begin{DescribeLength}{\fancybreaksep} |
| 2909 |
% \ifenglish% |
| 2910 |
% The decorative element between the title information and the body |
| 2911 |
% of the article is surrounded by a vertical skip of length |
| 2912 |
% \cmd{\fancybreaksep}.\footnote{% |
| 2913 |
% The terminology \emph{fancy break} is taken from |
| 2914 |
% \class{memoir}.} % |
| 2915 |
% This value may be changed as usual via \cmd{\setlength}. The |
| 2916 |
% default value is \code{\the\fancybreaksep}. % |
| 2917 |
% \else% |
| 2918 |
% La décoration entre les informations de la page de titre et le |
| 2919 |
% corps de l'article est précédée et suivie d'une espace verticale |
| 2920 |
% de longueur \cmd{\fancybreaksep}.\footnote{% |
| 2921 |
% La terminologie «\emph{fancy break}» est empruntée à |
| 2922 |
% \class{memoir}.} % |
| 2923 |
% Cette valeur peut être modifiée avec \cmd{\setlength}. La valeur |
| 2924 |
% par défaut est \code{\the\fancybreaksep}. % |
| 2925 |
% \fi |
| 2926 |
% \end{DescribeLength} |
| 2927 |
% |
| 2928 |
% \begin{DescribeMacro}{\suppressfancybreak} |
| 2929 |
% \begin{DescribeMacro}{\showfancybreak} |
| 2930 |
% \ifenglish% |
| 2931 |
% The command \cmd{\suppressfancybreak} suppresses the decorative |
| 2932 |
% element between the title information and the body of the article. |
| 2933 |
% This will be useful if it appears at the bottom of the title page |
| 2934 |
% or the top of the subsequent page. The command must appear |
| 2935 |
% \emph{before} \cmd{\maketitle}. For the sake of symmetry, the |
| 2936 |
% class also provides the command \cmd{\showfancybreak} to force the |
| 2937 |
% display of the decorative element, although this is the default |
| 2938 |
% behaviour. % |
| 2939 |
% \else% |
| 2940 |
% La commande \cmd{\suppressfancybreak} permet de supprimer la |
| 2941 |
% décoration entre les informations de la page de titre et le corps |
| 2942 |
% de l'article lorsque celle-ci apparait tout au bas de la page |
| 2943 |
% de titre ou au haut de la page suivante. La commande doit |
| 2944 |
% apparaitre \emph{avant} \cmd{\maketitle}. Par souci de symétrie, |
| 2945 |
% la classe contient également la commande \cmd{\showfancybreak} |
| 2946 |
% pour forcer l'affichage de la décoration, mais c'est là le |
| 2947 |
% comportement par défaut de la classe. % |
| 2948 |
% \fi |
| 2949 |
% \end{DescribeMacro} |
| 2950 |
% \end{DescribeMacro} |
| 2951 |
% |
| 2952 |
% \MaybeStop{% |
| 2953 |
% \ifenglish% |
| 2954 |
% \PrintChanges |
| 2955 |
% \else% |
| 2956 |
% \section*{Mise en œuvre et historique des versions} |
| 2957 |
% Consultez la version anglaise de la documentation pour connaitre |
| 2958 |
% les détails de mise en œuvre de la classe et l'historique des |
| 2959 |
% versions. % |
| 2960 |
% \fi} |
| 2961 |
% |
| 2962 |
% |
| 2963 |
% ^^A >>>>> Start of the code of the class |
| 2964 |
% \section{Implementation} |
| 2965 |
% \label{sec:implementation} |
| 2966 |
% |
| 2967 |
% This appendix describes the {\TeX} and {\LaTeX} code of the class. |
| 2968 |
% It is likely to be of interest only to experts, bug hunters or casual |
| 2969 |
% readers curious to know how the class is implemented. |
| 2970 |
% |
| 2971 |
% \subsection{Class setup} |
| 2972 |
% \label{sec:implementation:setup} |
| 2973 |
% |
| 2974 |
% \subsubsection{Boolean values} |
| 2975 |
% \label{sec:implementation:setup:boolean} |
| 2976 |
% |
| 2977 |
% We start by defining the boolean values needed throughout the |
| 2978 |
% class. In the sequel, the booleans \cmd{\ifCJS@nocjs} and |
| 2979 |
% \cmd{\ifCJS@journalinfo} will be used as negation of one another. |
| 2980 |
% \begin{macrocode} |
| 2981 |
%<*class> |
| 2982 |
\newif\ifCJS@review \CJS@reviewfalse % review version? |
| 2983 |
\newif\ifCJS@supplement \CJS@supplementfalse % supplementary material? |
| 2984 |
\newif\ifCJS@nocjs \CJS@nocjsfalse % not a CJS article? |
| 2985 |
\newif\ifCJS@final \CJS@finalfalse % final version? |
| 2986 |
\newif\ifCJS@licenceblock \CJS@licenceblocktrue % licence block on title page? |
| 2987 |
\newif\ifCJS@journalinfo \CJS@journalinfotrue % display journal info? |
| 2988 |
\newif\ifCJS@specialack \CJS@specialackfalse % special acknowledgement? |
| 2989 |
\newif\ifCJS@fancybreak \CJS@fancybreaktrue % display fancy break? |
| 2990 |
\newif\ifCJS@history \CJS@historyfalse % history present? |
| 2991 |
\newif\ifCJS@corrauth \CJS@corrauthfalse % corresponding author? |
| 2992 |
\newif\ifCJS@newauth \CJS@newauthtrue % internal; author blocks |
| 2993 |
% \end{macrocode} |
| 2994 |
% |
| 2995 |
% \subsubsection{Options} |
| 2996 |
% \label{sec:implementation:setup:options} |
| 2997 |
% |
| 2998 |
% The class features options for authors and some others targeted more |
| 2999 |
% specifically to editors. |
| 3000 |
% |
| 3001 |
% \begin{option}{review} |
| 3002 |
% The class option \code{review} composes a version of the article |
| 3003 |
% (or the supplementary material) suitable for revision. The licence |
| 3004 |
% block at the bottom of the title page is replaced by a standard |
| 3005 |
% footer with the page folio. |
| 3006 |
% \begin{macrocode} |
| 3007 |
\DeclareOption{review}{% |
| 3008 |
\CJS@reviewtrue |
| 3009 |
\CJS@licenceblockfalse} |
| 3010 |
% \end{macrocode} |
| 3011 |
% \end{option} |
| 3012 |
% |
| 3013 |
% \begin{option}{supplement} |
| 3014 |
% The class option \code{supplement} enables authors to use the |
| 3015 |
% class to prepare the supplementary material to the article. The |
| 3016 |
% licence block at the bottom of the title page is replaced by a |
| 3017 |
% standard footer with the page folio. |
| 3018 |
% \begin{macrocode} |
| 3019 |
\DeclareOption{supplement}{% |
| 3020 |
\CJS@supplementtrue |
| 3021 |
\CJS@licenceblockfalse} |
| 3022 |
% \end{macrocode} |
| 3023 |
% \end{option} |
| 3024 |
% |
| 3025 |
% \begin{option}{nocjs} |
| 3026 |
% The class option \code{nocjs} is a convenience feature for |
| 3027 |
% authors who wish to use the class for something else than an |
| 3028 |
% article in {\TheCJS}. It hides any journal-specific information |
| 3029 |
% from the manuscript. It also replaces the licence block at the |
| 3030 |
% bottom of the title page by a standard footer with the page folio. |
| 3031 |
% \begin{macrocode} |
| 3032 |
\DeclareOption{nocjs}{% |
| 3033 |
\CJS@nocjstrue |
| 3034 |
\CJS@licenceblockfalse |
| 3035 |
\CJS@journalinfofalse} |
| 3036 |
% \end{macrocode} |
| 3037 |
% \end{option} |
| 3038 |
% |
| 3039 |
% \begin{option}{final} |
| 3040 |
% The class option \code{final} activates sanity checks for the |
| 3041 |
% preparation of the final copy of the article, and the display of |
| 3042 |
% the licence statement on the title page (when available). The |
| 3043 |
% option takes precedence over \code{review}. |
| 3044 |
% \begin{macrocode} |
| 3045 |
\DeclareOption{final}{% |
| 3046 |
\CJS@finaltrue |
| 3047 |
\CJS@reviewfalse} |
| 3048 |
% \end{macrocode} |
| 3049 |
% \end{option} |
| 3050 |
% |
| 3051 |
% \subsubsection{Underlying document class} |
| 3052 |
% |
| 3053 |
% The class {\CJSclass} is based on \class{memoir}. We |
| 3054 |
% force the options \code{letterpaper}, \code{10pt}, \code{article} |
| 3055 |
% and \code{twoside}. |
| 3056 |
% \begin{macrocode} |
| 3057 |
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{memoir}} |
| 3058 |
\ProcessOptions\relax |
| 3059 |
\LoadClass[letterpaper,10pt,article,twoside]{memoir} |
| 3060 |
% \end{macrocode} |
| 3061 |
% |
| 3062 |
% \subsubsection{Required packages} |
| 3063 |
% \label{sec:implementation:setup:packages} |
| 3064 |
% |
| 3065 |
% The class tries to load as few packages as possible to avoid |
| 3066 |
% conflicts. Yet, some are required for standard features of a |
| 3067 |
% mathematics oriented journal, or else for internal processing. |
| 3068 |
% Useful packages like \pkg{iftex} and \pkg{etoolbox} are already |
| 3069 |
% loaded by \class{memoir}. |
| 3070 |
% |
| 3071 |
% We rely on \pkg{natbib} for author-year citations. This package must |
| 3072 |
% be loaded before \pkg{babel}. The option \code{sectionbib} ensures |
| 3073 |
% that the bibliography (or list of references) is typeset as a |
| 3074 |
% section, rather than as a chapter. |
| 3075 |
% \begin{macrocode} |
| 3076 |
\RequirePackage[round,semicolon,authoryear,sectionbib]{natbib} |
| 3077 |
% \end{macrocode} |
| 3078 |
% |
| 3079 |
% Articles in \emph{The Canadian Journal of Statistics} contain at |
| 3080 |
% least two languages, English and French, for the abstracts. |
| 3081 |
% Multilingual support is provided by \pkg{babel}. The languages are |
| 3082 |
% declared with \cmdprint{\documentclass} in the article source file. |
| 3083 |
% The package \pkg{numprint} prints numbers with a separator every |
| 3084 |
% three digits and convert numbers in scientific notation. The package |
| 3085 |
% alters its behaviour with the active language declared to |
| 3086 |
% \pkg{babel}. The option \code{np} activates the convenient shortcut |
| 3087 |
% \cmd{\np} for the command \cmd{\numprint}. |
| 3088 |
% \changes{1.2}{2024-11-06}{Load package numprint with the option |
| 3089 |
% \texttt{np} to activate the shortcut \cs{np} for \cs{numprint}.} |
| 3090 |
% \begin{macrocode} |
| 3091 |
\RequirePackage{babel} |
| 3092 |
\RequirePackage[autolanguage,np]{numprint} |
| 3093 |
% \end{macrocode} |
| 3094 |
% |
| 3095 |
% The required packages \pkg{bookmark} and \pkg{hyperref} must usually |
| 3096 |
% be loaded very last. To achieve this within the class, the packages |
| 3097 |
% are loaded with the \pkg{etoolbox} command |
| 3098 |
% \cmdprint{\AtEndPreamble}. Since they require \pkg{hyperref} to be |
| 3099 |
% loaded, it is also at this point that we define the English and |
| 3100 |
% French contextual labels for \cmd{\autoref} for all elements defined |
| 3101 |
% by the class. |
| 3102 |
% \changes{0.9}{2023-10-14}{Fix missing comment characters in |
| 3103 |
% \cs{extrasenglish} and \cs{extrasfrench}.} |
| 3104 |
% \begin{macrocode} |
| 3105 |
\AtEndPreamble{% |
| 3106 |
\RequirePackage{bookmark} % loads hyperref |
| 3107 |
\hypersetup{% |
| 3108 |
colorlinks = true, |
| 3109 |
urlcolor = {CJSurl}, |
| 3110 |
linkcolor = {CJSlink}, |
| 3111 |
citecolor = {CJScitation}} |
| 3112 |
\bookmarksetup{% |
| 3113 |
open = true, |
| 3114 |
depth = 3, |
| 3115 |
numbered = true} |
| 3116 |
\addto\extrasenglish{% |
| 3117 |
\def\sectionautorefname{Section}% |
| 3118 |
\def\subsectionautorefname{Section}% |
| 3119 |
\def\subsubsectionautorefname{Section}% |
| 3120 |
\def\figureautorefname{Figure}% |
| 3121 |
\def\tableautorefname{Table}% |
| 3122 |
\def\theoremautorefname{Theorem}% |
| 3123 |
\def\lemmaautorefname{Lemma}% |
| 3124 |
\def\propositionautorefname{Proposition}% |
| 3125 |
\def\corollaryautorefname{Corollary}% |
| 3126 |
\def\definitionautorefname{Definition}% |
| 3127 |
\def\algorithmautorefname{Algorithm}% |
| 3128 |
\def\remarkautorefname{Remark}} |
| 3129 |
\addto\extrasfrench{% |
| 3130 |
\def\sectionautorefname{section}% |
| 3131 |
\def\subsectionautorefname{section}% |
| 3132 |
\def\subsubsectionautorefname{section}% |
| 3133 |
\def\figureautorefname{figure}% |
| 3134 |
\def\tableautorefname{tableau}% |
| 3135 |
\def\theoremautorefname{théorème}% |
| 3136 |
\def\lemmaautorefname{lemme}% |
| 3137 |
\def\propositionautorefname{proposition}% |
| 3138 |
\def\corollaryautorefname{corollaire}% |
| 3139 |
\def\definitionautorefname{définition}% |
| 3140 |
\def\algorithmautorefname{algorithme}% |
| 3141 |
\def\remarkautorefname{remarque}}} |
| 3142 |
% \end{macrocode} |
| 3143 |
% |
| 3144 |
% The next set of packages are mostly for internal purposes: % |
| 3145 |
% \pkg{keyval} provides the key-value interface used for |
| 3146 |
% \cmd{\author}; % |
| 3147 |
% \pkg{enumitem} and \pkg{environ} help to define new environments for |
| 3148 |
% the titling information; % |
| 3149 |
% \pkg{datetime2} is used to store and format dates from the article |
| 3150 |
% history; % |
| 3151 |
% \pkg{xcolor} provides {\LaTeX} extensions to colourize text; % |
| 3152 |
% \pkg{paracol} and \pkg{ragged2e} are used to typeset the |
| 3153 |
% abstracts in columns, ragged right and with proper hyphenation; % |
| 3154 |
% \pkg{url} is a fairly standard package to enter an URL or email |
| 3155 |
% address, used at least here for the corresponding author email; % |
| 3156 |
% \pkg{relsize} provides commands to set font sizes relatives to the |
| 3157 |
% current size, like \cmdprint{\smaller} or \cmdprint{\larger}; % |
| 3158 |
% \pkg{fontawesome5} provides a number of symbols, including the ORCID |
| 3159 |
% logo and the Creative Commons licence icons. |
| 3160 |
% \begin{macrocode} |
| 3161 |
\RequirePackage{keyval} |
| 3162 |
\RequirePackage[shortlabels]{enumitem} |
| 3163 |
\RequirePackage{environ} |
| 3164 |
\RequirePackage[useregional,french,en-GB]{datetime2} |
| 3165 |
\RequirePackage{xcolor} |
| 3166 |
\RequirePackage{paracol} |
| 3167 |
\RequirePackage{ragged2e} |
| 3168 |
\RequirePackage{url} |
| 3169 |
\RequirePackage{relsize} |
| 3170 |
\RequirePackage{fontawesome5} |
| 3171 |
% \end{macrocode} |
| 3172 |
% |
| 3173 |
% The \pkg{graphicx} package is not directly used by the class, but |
| 3174 |
% many authors may need it to display graphics and images, so we load |
| 3175 |
% it by default. |
| 3176 |
% \begin{macrocode} |
| 3177 |
\RequirePackage{graphicx} |
| 3178 |
% \end{macrocode} |
| 3179 |
% |
| 3180 |
% The \pkg{amsmath} and \pkg{amsthm} packages are standard |
| 3181 |
% requirements for mathematics papers. They are used in the class to |
| 3182 |
% define new commands for mathematical symbols and theorem-like |
| 3183 |
% environments. |
| 3184 |
% \begin{macrocode} |
| 3185 |
\RequirePackage{amsmath} |
| 3186 |
\RequirePackage{amsthm} |
| 3187 |
% \end{macrocode} |
| 3188 |
% |
| 3189 |
% Finally, \pkg{lineno} is loaded to number lines with option |
| 3190 |
% \code{review}. |
| 3191 |
% \begin{macrocode} |
| 3192 |
\ifCJS@review |
| 3193 |
\RequirePackage{lineno} |
| 3194 |
\linenumbers |
| 3195 |
\fi |
| 3196 |
% \end{macrocode} |
| 3197 |
% |
| 3198 |
% Note that some additional packages related to font management are |
| 3199 |
% loaded in \autoref{sec:implementation:layout:fonts}. |
| 3200 |
% |
| 3201 |
% \subsubsection{Incompatible package} |
| 3202 |
% \label{sec:implementation:setup:geometry} |
| 3203 |
% |
| 3204 |
% The package \pkg{geometry} is incompatible with \class{memoir} and |
| 3205 |
% should not be used in the first place to change the document layout. |
| 3206 |
% We issue an error message if users load it in their article. |
| 3207 |
% \begin{macrocode} |
| 3208 |
\AtBeginDocument{% |
| 3209 |
\@ifpackageloaded{geometry}{% |
| 3210 |
\ClassError{cjs-rcs-article}% |
| 3211 |
{Package geometry is incompatible with this class}% |
| 3212 |
{You should not change the page layout.\MessageBreak% |
| 3213 |
If absolutely needed, use the memoir class facilities.}}{\relax}} |
| 3214 |
% \end{macrocode} |
| 3215 |
% |
| 3216 |
% \subsection{Document layout} |
| 3217 |
% \label{sec:implementation:layout} |
| 3218 |
% |
| 3219 |
% \changes{1.0}{2023-11-29}{Mention the inspiration for the layout of |
| 3220 |
% the class at the beginning of Section B.2 of the English |
| 3221 |
% documentation.} |
| 3222 |
% The document layout of the class is inspired by the layout of |
| 3223 |
% the newspaper \emph{Le Devoir} designed by Lucie Lacava in 2018. |
| 3224 |
% |
| 3225 |
% \subsubsection{Fonts and character encoding} |
| 3226 |
% \label{sec:implementation:layout:fonts} |
| 3227 |
% |
| 3228 |
% The class uses special fonts for the main text and mathematics, for |
| 3229 |
% decorative text (section titles, headers and such), and for text set in |
| 3230 |
% monospace (like computer code). The class also imposes Unicode UTF-8 |
| 3231 |
% character encoding for the source files. |
| 3232 |
% |
| 3233 |
% We need two sets of commands to load the main document fonts |
| 3234 |
% depending on the engine used. For the modern engines {\LuaTeX} and |
| 3235 |
% {\XeTeX}, commands from \pkg{fontspec} and \pkg{unicode-math} load |
| 3236 |
% the OpenType variants of the fonts. The encoding is UTF-8 by default |
| 3237 |
% for these engines. |
| 3238 |
% \changes{1.1}{2024-03-06}{Implementation: explicitly set the option |
| 3239 |
% \texttt{bold-style!=TeX} when loading the math font with the modern |
| 3240 |
% engines.} |
| 3241 |
% \begin{macrocode} |
| 3242 |
\iftutex |
| 3243 |
\RequirePackage[babel=true]{microtype} |
| 3244 |
\RequirePackage{fontspec} |
| 3245 |
\RequirePackage{unicode-math} |
| 3246 |
\setmainfont{STIXTwoText} |
| 3247 |
[ |
| 3248 |
Extension = .otf, |
| 3249 |
UprightFont = *-Regular, |
| 3250 |
BoldFont = *-SemiBold, |
| 3251 |
ItalicFont = *-Italic, |
| 3252 |
BoldItalicFont = *-SemiBoldItalic, |
| 3253 |
Scale = 1, |
| 3254 |
Ligatures = TeX |
| 3255 |
] |
| 3256 |
\setmathfont{STIXTwoMath-Regular} |
| 3257 |
[ |
| 3258 |
Extension = .otf, |
| 3259 |
Scale = 1, |
| 3260 |
bold-style = TeX |
| 3261 |
] |
| 3262 |
\setmathfont{FiraMath-Regular} |
| 3263 |
[ |
| 3264 |
version = titles, |
| 3265 |
Extension = .otf, |
| 3266 |
Scale = 0.92 |
| 3267 |
] |
| 3268 |
% \end{macrocode} |
| 3269 |
% For the traditional engine {pdf\TeX}, we need to rely on ancillary |
| 3270 |
% packages and the Type~1 variants of the fonts. These are no longer |
| 3271 |
% updated, in contrast to their OpenType counterparts. Furthermore, the |
| 3272 |
% Type~1 variant of STIX~Two does not contain the semibold weight. |
| 3273 |
% \changes{0.93}{2023-11-07}{Disable old-style numbers in pdfLaTeX.} |
| 3274 |
% \changes{0.93}{2023-11-07}{Replace packages stickstoo and newtxmath |
| 3275 |
% by the simpler stix2 now that access to font features is no longer |
| 3276 |
% needed.} |
| 3277 |
% \begin{macrocode} |
| 3278 |
\else |
| 3279 |
\RequirePackage[babel=true]{microtype} |
| 3280 |
\RequirePackage[utf8]{inputenc} |
| 3281 |
\RequirePackage[T1]{fontenc} |
| 3282 |
\RequirePackage{stix2} |
| 3283 |
\fi |
| 3284 |
% \end{macrocode} |
| 3285 |
% |
| 3286 |
% For the sans serif font, the packages \pkg{FiraSans} and |
| 3287 |
% \pkg{FiraMono} provide a unified interface for the OpenType and |
| 3288 |
% Type~1 versions of the fonts. |
| 3289 |
% \begin{macrocode} |
| 3290 |
\RequirePackage[book,medium,proportional,lining,scale=0.92]{FiraSans} |
| 3291 |
\RequirePackage[medium,lining,scale=0.90]{FiraMono} |
| 3292 |
% \end{macrocode} |
| 3293 |
% |
| 3294 |
% With option \code{review}, we redefine the font for the line numbers |
| 3295 |
% and position them closer to the left margin (default is 10~pt) to |
| 3296 |
% avoid overlap in abstracts. |
| 3297 |
% \begin{macrocode} |
| 3298 |
\ifCJS@review |
| 3299 |
\renewcommand*\linenumberfont{\normalfont\firalining\tiny} |
| 3300 |
\setlength\linenumbersep{5pt} |
| 3301 |
\fi |
| 3302 |
% \end{macrocode} |
| 3303 |
% |
| 3304 |
% \subsubsection{Colours} |
| 3305 |
% \label{sec:implementation:layout:colours} |
| 3306 |
% |
| 3307 |
% We define some colours used by the class. First, the three main |
| 3308 |
% colours of {\TheCJS} logo, hand-picked from the SVG code of the |
| 3309 |
% latter: % |
| 3310 |
% \textcolor{CJSpink}{\rule{1.5em}{1.2ex}} % |
| 3311 |
% \textcolor{CJSred}{\rule{1.5em}{1.2ex}} % |
| 3312 |
% \textcolor{CJSyellow}{\rule{1.5em}{1.2ex}}\,. |
| 3313 |
% \begin{macrocode} |
| 3314 |
\definecolor{CJSpink}{HTML}{E3038B} |
| 3315 |
\definecolor{CJSred}{HTML}{D10000} |
| 3316 |
\definecolor{CJSyellow}{HTML}{FEC70D} |
| 3317 |
% \end{macrocode} |
| 3318 |
% Next, the colours for the hyperlinks (inspired by % |
| 3319 |
% \href{https://ctan.org/pkg/classicthesis}{\pkg{classicthesis}}): |
| 3320 |
% \textcolor{CJSlink}{\rule{1.5em}{1.2ex}} for internal links;% |
| 3321 |
% \textcolor{CJSurl}{\rule{1.5em}{1.2ex}} for external links;% |
| 3322 |
% \textcolor{CJScitation}{\rule{1.5em}{1.2ex}} for citations. |
| 3323 |
% \begin{macrocode} |
| 3324 |
\definecolor{CJSlink}{rgb}{0,0.4,0.6} % internal links |
| 3325 |
\definecolor{CJSurl}{rgb}{0.6,0,0} % external links |
| 3326 |
\definecolor{CJScitation}{rgb}{0,0.5,0} % citations |
| 3327 |
% \end{macrocode} |
| 3328 |
% Finally, the colour of the % |
| 3329 |
% \href{https://info.orcid.org/brand-guidelines}{ORCID icon}: % |
| 3330 |
% \textcolor{CJSorcid}{\rule{1.5em}{1.2ex}}\,. |
| 3331 |
% \begin{macrocode} |
| 3332 |
\definecolor{CJSorcid}{HTML}{A6CE39} |
| 3333 |
% \end{macrocode} |
| 3334 |
% |
| 3335 |
% \subsubsection{Page size and margins} |
| 3336 |
% \label{sec:implementation:layout:margins} |
| 3337 |
% |
| 3338 |
% The page size was set to letter paper in the options passed to |
| 3339 |
% \class{memoir}. We use the very nice commands of \class{memoir} to |
| 3340 |
% set the margins. Their size is determined such that the typeblock |
| 3341 |
% has a height to width aspect ratio of approximately $\sqrt{2}{:}1$, the |
| 3342 |
% same as % |
| 3343 |
% \href{https://en.wikipedia.org/wiki/ISO_216}{ISO A series} % |
| 3344 |
% paper. |
| 3345 |
% \begin{macrocode} |
| 3346 |
\setlrmarginsandblock{24mm}{30mm}{*} |
| 3347 |
\setulmarginsandblock{24mm}{26mm}{*} |
| 3348 |
\setheadfoot{13.5pt}{9mm} |
| 3349 |
\checkandfixthelayout[nearest] |
| 3350 |
% \end{macrocode} |
| 3351 |
% |
| 3352 |
% \subsubsection{Journal name and publication information} |
| 3353 |
% \label{sec:implementation:layout:journalinfo} |
| 3354 |
% |
| 3355 |
% The title page starts with the journal name and publication |
| 3356 |
% information set next to a decorative element (called ``ornament'' in |
| 3357 |
% the code). |
| 3358 |
% |
| 3359 |
% First, define macros containing the English and French names of the |
| 3360 |
% journal, and another one that displays both. |
| 3361 |
% \begin{macrocode} |
| 3362 |
\def\CJS@journalname@en{The Canadian Journal of Statistics} |
| 3363 |
\def\CJS@journalname@fr{La revue canadienne de statistique} |
| 3364 |
\def\CJS@journalname{\CJS@journalname@en~{\textbar}~\CJS@journalname@fr} |
| 3365 |
% \end{macrocode} |
| 3366 |
% |
| 3367 |
% The decorative element is created using plain {\TeX} rules. Its |
| 3368 |
% height and depth are identical to the journal information. |
| 3369 |
% \begin{macrocode} |
| 3370 |
\newsavebox\CJS@journalornament |
| 3371 |
\setbox\CJS@journalornament=\vbox{% |
| 3372 |
\setbox\z@=\vbox{\sffamily\hbox{\CJS@journalname}\hbox{\bfseries V,}} |
| 3373 |
\setbox\tw@\hbox{\vrule \@width4pt\@height\ht\z@\@depth\dp\z@} |
| 3374 |
\hbox{\textcolor{CJSpink}{\copy\tw@}\kern2pt |
| 3375 |
\textcolor{CJSred}{\copy\tw@}\kern2pt |
| 3376 |
\textcolor{CJSyellow}{\copy\tw@}\kern6pt}} |
| 3377 |
% \end{macrocode} |
| 3378 |
% |
| 3379 |
% \begin{macro}{\makejournalinfo} |
| 3380 |
% The command \cmd{\makejournalinfo} puts the journal information |
| 3381 |
% together. The actual information is provided through the editor |
| 3382 |
% commands defined in \autoref{sec:implementation:editors}. Although |
| 3383 |
% a visible command, \cmdprint{\makejournalinfo} is actually called |
| 3384 |
% by \cmd{\maketitle}. |
| 3385 |
% \begin{macrocode} |
| 3386 |
\newcommand*\makejournalinfo{% |
| 3387 |
\mbox{% |
| 3388 |
\box\CJS@journalornament |
| 3389 |
\vbox{% |
| 3390 |
\sffamily |
| 3391 |
\hbox{\CJS@journalname} |
| 3392 |
\hbox{\bfseries Vol.~\CJS@vol, % |
| 3393 |
No.~\CJS@issue, % |
| 3394 |
\CJS@year, % |
| 3395 |
\CJS@firstpage--\thelastpage}}}} |
| 3396 |
% \end{macrocode} |
| 3397 |
% \end{macro} |
| 3398 |
% |
| 3399 |
% \subsubsection{Headers and footers} |
| 3400 |
% \label{sec:implementation:layout:headers} |
| 3401 |
% |
| 3402 |
% We need to define headers and footers for the internal pages, and |
| 3403 |
% specific ones for the title page. They are built from scratch using |
| 3404 |
% \code{tabular} environments. |
| 3405 |
% |
| 3406 |
% First, a command to set the font. |
| 3407 |
% \begin{macrocode} |
| 3408 |
\def\CJS@setheadfootfont{% |
| 3409 |
\firalining\fontsize{9}{13}\selectfont} |
| 3410 |
% \end{macrocode} |
| 3411 |
% |
| 3412 |
% Next, a command to draw the vertical rule that will be used as a |
| 3413 |
% separator between the header or footer content and the page folio. |
| 3414 |
% \begin{macrocode} |
| 3415 |
\newlength\CJS@headdivheight |
| 3416 |
\settoheight\CJS@headdivheight{\CJS@setheadfootfont 1} |
| 3417 |
\setlength\CJS@headdivheight{0.9\CJS@headdivheight} |
| 3418 |
\def\CJS@headdivrule{% |
| 3419 |
\rule[0.05\CJS@headdivheight]{0.75\normalrulethickness}{\CJS@headdivheight}} |
| 3420 |
% \end{macrocode} |
| 3421 |
% |
| 3422 |
% Now, the page style \code{cjs} for the internal pages. The even |
| 3423 |
% header contains the names of the authors flush left. The odd header |
| 3424 |
% contains the article title (short version, if appropriate) flush |
| 3425 |
% right. |
| 3426 |
% \changes{2.0}{2026-02-23}{Implementation, headers and footers: |
| 3427 |
% the even header now displays the names of the authors in |
| 3428 |
% \texttt{review} mode.} |
| 3429 |
% \begin{macrocode} |
| 3430 |
\newlength\CJS@pagenumwidth |
| 3431 |
\settowidth\CJS@pagenumwidth{9\qquad} |
| 3432 |
\makepagestyle{cjs} |
| 3433 |
\makeevenhead{cjs}{% |
| 3434 |
\CJS@setheadfootfont |
| 3435 |
\begin{tabular*}{\textwidth}% |
| 3436 |
{@{}p{\CJS@pagenumwidth}@{\CJS@headdivrule\qquad}l@{\extracolsep\fill}} |
| 3437 |
\thepage & \MakeTextUppercase{\CJS@runningauthor} \\ \hline |
| 3438 |
\end{tabular*}}{}{} |
| 3439 |
\makeoddhead{cjs}{}{}{% |
| 3440 |
\CJS@setheadfootfont |
| 3441 |
\begin{tabular*}{\textwidth}% |
| 3442 |
{l@{\extracolsep\fill}r@{\extracolsep{0pt}\qquad\CJS@headdivrule}p{\CJS@pagenumwidth}@{}} |
| 3443 |
& \MakeTextUppercase{\CJS@shorttitle} & \hfill\thepage \\ \hline |
| 3444 |
\end{tabular*}} |
| 3445 |
% \end{macrocode} |
| 3446 |
% The footer for internal pages is empty. |
| 3447 |
% \begin{macrocode} |
| 3448 |
\makeevenfoot{cjs}{}{}{} \makeoddfoot{cjs}{}{}{} |
| 3449 |
% \end{macrocode} |
| 3450 |
% Use the \code{cjs} page style. |
| 3451 |
% \begin{macrocode} |
| 3452 |
\pagestyle{cjs} |
| 3453 |
% \end{macrocode} |
| 3454 |
% |
| 3455 |
% We need a special page style for the title page. The header of the |
| 3456 |
% title page is empty. |
| 3457 |
% \begin{macrocode} |
| 3458 |
\makepagestyle{cjsfirstpage} |
| 3459 |
\makeevenhead{cjsfirstpage}{}{}{} \makeoddhead{cjsfirstpage}{}{}{} |
| 3460 |
% \end{macrocode} |
| 3461 |
% The footer of the title page contains licensing information. By |
| 3462 |
% default, a notice indicates that the licence will appear here. With |
| 3463 |
% option \code{final}, the licence statement is displayed, if |
| 3464 |
% provided. With the \code{review}, \code{statement} and |
| 3465 |
% \code{nocjs} options, the title page rather features a standard |
| 3466 |
% footer with the page folio. With the latter option, the footer may |
| 3467 |
% also contain a licence statement specified with \cmd{\licence}. For |
| 3468 |
% additional details on licence statements, see |
| 3469 |
% \autoref{sec:implementation:licensing}. |
| 3470 |
% \changes{1.3}{2025-08-18}{Implementation: complete rewrite of |
| 3471 |
% the licensing information display at the bottom of the first page |
| 3472 |
% using a special footer rather than a bottom float.} |
| 3473 |
% \changes{1.1}{2024-06-19}{Implementation: fix the positioning of the |
| 3474 |
% licensing information at the bottom of the title page.} |
| 3475 |
% \changes{1.1}{2024-06-26}{Implementation: include the special |
| 3476 |
% acknowledgement statement in the licensing information, if |
| 3477 |
% required.} |
| 3478 |
% \begin{macrocode} |
| 3479 |
\ifCJS@licenceblock |
| 3480 |
\def\CJS@licenceblock{% |
| 3481 |
\def\CJS@notice{% |
| 3482 |
\iflanguage{french}{Futur emplacement de la déclaration de licence.}% |
| 3483 |
{Licence statement to appear here.}}% |
| 3484 |
\vbox{% |
| 3485 |
\CJS@setlicencefont% |
| 3486 |
\rule[\footruleskip]{\textwidth}{\normalrulethickness} |
| 3487 |
\parbox[b][\CJS@licenceheight][t]{\textwidth}{% |
| 3488 |
\ifCJS@specialack\CJS@specialackstatement\fi |
| 3489 |
\ifCJS@final\CJS@licence \else\textit\CJS@notice \fi}}} |
| 3490 |
\makeoddfoot{cjsfirstpage}{\CJS@licenceblock}{}{} |
| 3491 |
\makeevenfoot{cjsfirstpage}{\CJS@licenceblock}{}{} |
| 3492 |
\else |
| 3493 |
\makeevenfoot{cjsfirstpage}{% |
| 3494 |
\CJS@setheadfootfont |
| 3495 |
\begin{tabular*}{\textwidth}% |
| 3496 |
{@{}p{\CJS@pagenumwidth}@{\CJS@headdivrule\qquad}l@{\extracolsep\fill}} |
| 3497 |
\hline \thepage & |
| 3498 |
\ifCJS@nocjs\CJS@licence\fi |
| 3499 |
\end{tabular*}}{}{} |
| 3500 |
\makeoddfoot{cjsfirstpage}{}{}{% |
| 3501 |
\CJS@setheadfootfont |
| 3502 |
\begin{tabular*}{\textwidth}% |
| 3503 |
{l@{\extracolsep\fill}r@{\extracolsep{0pt}\qquad\CJS@headdivrule}p{\CJS@pagenumwidth}@{}} |
| 3504 |
\hline & |
| 3505 |
\ifCJS@nocjs\CJS@licence\fi & |
| 3506 |
\hfill\thepage |
| 3507 |
\end{tabular*}} |
| 3508 |
\fi |
| 3509 |
% \end{macrocode} |
| 3510 |
% |
| 3511 |
% \subsubsection{Section titles} |
| 3512 |
% \label{sec:implementation:layout:titles} |
| 3513 |
% |
| 3514 |
% The \class{memoir} class assumes that sectioning starts at the |
| 3515 |
% chapter level---even with the \code{article} option. To get around |
| 3516 |
% this requirement, we disable the effect of \cmdprint{\chapter}. A |
| 3517 |
% desirable side effect is to make \cmd{\autoref} work correctly for |
| 3518 |
% appendices. |
| 3519 |
% \begin{macrocode} |
| 3520 |
\let\chapter\relax |
| 3521 |
\counterwithout{section}{chapter} |
| 3522 |
% \end{macrocode} |
| 3523 |
% |
| 3524 |
% The class uses a numbering system of at most three levels. |
| 3525 |
% \begin{macrocode} |
| 3526 |
\setsecnumdepth{subsubsection} |
| 3527 |
\maxsecnumdepth{subsubsection} |
| 3528 |
% \end{macrocode} |
| 3529 |
% |
| 3530 |
% We then define the style of section titles from level |
| 3531 |
% \cmdprint{\section} down to \cmdprint{\subparagraph}. With the |
| 3532 |
% {\LuaTeX} and {\XeTeX} engines, we make sure to use a matching font |
| 3533 |
% for mathematics in case some appear in the titles. |
| 3534 |
% \begin{macrocode} |
| 3535 |
\iftutex |
| 3536 |
\setsecheadstyle{\normalfont\Large\sffamily\mathversion{titles}\bfseries\raggedright} |
| 3537 |
\setsubsecheadstyle{\normalfont\large\sffamily\mathversion{titles}\bfseries\raggedright} |
| 3538 |
\setsubsubsecheadstyle{\normalfont\sffamily\mathversion{titles}\bfseries\raggedright} |
| 3539 |
\setparaheadstyle{\normalfont\sffamily\mathversion{titles}\bfseries} |
| 3540 |
\setsubparaheadstyle{\normalfont\mathversion{titles}\bfseries} |
| 3541 |
\else |
| 3542 |
\setsecheadstyle{\normalfont\Large\sffamily\bfseries\raggedright} |
| 3543 |
\setsubsecheadstyle{\normalfont\large\sffamily\bfseries\raggedright} |
| 3544 |
\setsubsubsecheadstyle{\normalfont\sffamily\bfseries\raggedright} |
| 3545 |
\setparaheadstyle{\normalfont\sffamily\bfseries} |
| 3546 |
\setsubparaheadstyle{\normalfont\bfseries} |
| 3547 |
\fi |
| 3548 |
\setbeforesecskip{-1.75ex plus -0.5ex minus -0.1ex} |
| 3549 |
\setaftersecskip{1.2ex plus 0.1ex} |
| 3550 |
\setbeforesubsecskip{-1.5ex plus -0.5ex minus -0.1ex} |
| 3551 |
\setaftersubsecskip{0.75ex plus 0.1ex} |
| 3552 |
\setbeforesubsubsecskip{-1.5ex plus -0.5ex minus -0.1ex} |
| 3553 |
\setaftersubsubsecskip{0.75ex plus 0.1ex} |
| 3554 |
\setbeforeparaskip{0pt} |
| 3555 |
\setafterparaskip{-0.5em} |
| 3556 |
\setbeforesubparaskip{0pt} |
| 3557 |
\setaftersubparaskip{-0.25em} |
| 3558 |
% \end{macrocode} |
| 3559 |
% |
| 3560 |
% \subsubsection{Line spacing} |
| 3561 |
% \label{sec:implementation:layout:linespacing} |
| 3562 |
% |
| 3563 |
% With option \code{review}, line spacing is increased using the |
| 3564 |
% command \cmdprint{\OnehalfSpacing} of \class{memoir}. |
| 3565 |
% \begin{macrocode} |
| 3566 |
\ifCJS@review |
| 3567 |
\OnehalfSpacing |
| 3568 |
\fi |
| 3569 |
% \end{macrocode} |
| 3570 |
% |
| 3571 |
% \subsubsection{Captions} |
| 3572 |
% \label{sec:implementation:layout:captions} |
| 3573 |
% |
| 3574 |
% The caption name for tables and figures is typeset in bold. |
| 3575 |
% \begin{macrocode} |
| 3576 |
\captionnamefont{\bfseries} |
| 3577 |
% \end{macrocode} |
| 3578 |
% |
| 3579 |
% \subsubsection{Configuration for French} |
| 3580 |
% \label{sec:implementation:layout:french} |
| 3581 |
% |
| 3582 |
% \changes{1.3}{2025-08-23}{Implementation: configure the French |
| 3583 |
% quotes only for engines other than {\LuaTeX}.} |
| 3584 |
% We change some of the defaults of \pkg{babel-french} and allow |
| 3585 |
% French opening and closing quotes («~») to be entered directly with |
| 3586 |
% the keyboard (this is not needed with {\LuaTeX}). |
| 3587 |
% \begin{macrocode} |
| 3588 |
\frenchsetup{% |
| 3589 |
SmallCapsFigTabCaptions=false, |
| 3590 |
ThinSpaceInFrenchNumbers=true} |
| 3591 |
\ifluatex\else |
| 3592 |
\frenchsetup{og=«, fg=»} |
| 3593 |
\fi |
| 3594 |
\renewcommand*\frenchtablename{Tableau} |
| 3595 |
\renewcommand*\frenchfigurename{Figure} |
| 3596 |
% \end{macrocode} |
| 3597 |
% |
| 3598 |
% \subsection{Titling material} |
| 3599 |
% \label{sec:implementation:titling} |
| 3600 |
% |
| 3601 |
% Before we dive into the definition of the commands to enter titling |
| 3602 |
% information, we first define the various lengths that will be needed |
| 3603 |
% to position the elements on the title page. |
| 3604 |
% |
| 3605 |
% \begin{length}{\journalinfoskip} |
| 3606 |
% The length \cmd{\journalinfoskip} holds the distance between the |
| 3607 |
% top of the typeblock and the journal information. |
| 3608 |
% \begin{macrocode} |
| 3609 |
\newlength\journalinfoskip |
| 3610 |
\setlength\journalinfoskip{-4ex} |
| 3611 |
% \end{macrocode} |
| 3612 |
% \end{length} |
| 3613 |
% |
| 3614 |
% \begin{length}{\maintitleskip} |
| 3615 |
% The length \cmd{\maintitleskip} holds the distance between the |
| 3616 |
% journal information and the start of the main title area. |
| 3617 |
% \begin{macrocode} |
| 3618 |
\newlength\maintitleskip |
| 3619 |
\setlength\maintitleskip{6ex} |
| 3620 |
% \end{macrocode} |
| 3621 |
% \end{length} |
| 3622 |
% |
| 3623 |
% \begin{length}{\supptitleskip} |
| 3624 |
% The length \cmd{\supptitleskip} holds the distance between the |
| 3625 |
% supplementary material statement and the main title of the |
| 3626 |
% article. |
| 3627 |
% \begin{macrocode} |
| 3628 |
\newlength\supptitleskip |
| 3629 |
\setlength\supptitleskip{2ex} |
| 3630 |
% \end{macrocode} |
| 3631 |
% \end{length} |
| 3632 |
% |
| 3633 |
% \begin{length}{\authorskip} |
| 3634 |
% The length \cmd{\authorskip} holds the distance between the main |
| 3635 |
% title and the author block. |
| 3636 |
% \begin{macrocode} |
| 3637 |
\newlength\authorskip |
| 3638 |
\setlength\authorskip{5ex} |
| 3639 |
% \end{macrocode} |
| 3640 |
% \end{length} |
| 3641 |
% |
| 3642 |
% \begin{length}{\titlingskip} |
| 3643 |
% The length \cmd{\titlingskip} holds the distance between the other |
| 3644 |
% elements of the title page, that is, from the abstract to the |
| 3645 |
% corresponding author. |
| 3646 |
% \begin{macrocode} |
| 3647 |
\newlength\titlingskip |
| 3648 |
\setlength\titlingskip{2pt plus2pt minus0.8pt} |
| 3649 |
% \end{macrocode} |
| 3650 |
% \end{length} |
| 3651 |
% |
| 3652 |
% \begin{length}{\fancybreaksep} |
| 3653 |
% The length \cmd{\fancybreaksep} holds the distance between the |
| 3654 |
% fancy break and the surrounding text. |
| 3655 |
% \begin{macrocode} |
| 3656 |
\newlength\fancybreaksep |
| 3657 |
\setlength\fancybreaksep{6pt plus3pt minus1pt} |
| 3658 |
% \end{macrocode} |
| 3659 |
% \end{length} |
| 3660 |
% |
| 3661 |
% \subsubsection{Article title} |
| 3662 |
% \label{sec:implementation:titling:title} |
| 3663 |
% |
| 3664 |
% The main title area is composed of two elements: the statement that |
| 3665 |
% the document is supplementary material to an article when the option |
| 3666 |
% \code{supplement} is specified, and the main title of the article. |
| 3667 |
% |
| 3668 |
% \begin{macro}{\supplementfont} |
| 3669 |
% The public command \cmd{\supplementfont} defines the font of |
| 3670 |
% the supplementary material title. |
| 3671 |
% \begin{macrocode} |
| 3672 |
\def\CJS@supptitlename@en{supplementary material for the article} |
| 3673 |
\def\CJS@supptitlename@fr{matériel additionnel pour l'article} |
| 3674 |
\newcommand*\supplementfont{\normalfont\Large\scshape} |
| 3675 |
% \end{macrocode} |
| 3676 |
% \end{macro} |
| 3677 |
% |
| 3678 |
% \begin{macro}{\maintitlefont} |
| 3679 |
% The public command \cmd{\maintitlefont} defines the font of |
| 3680 |
% the main title. |
| 3681 |
% \begin{macrocode} |
| 3682 |
\newcommand*\maintitlefont{\raggedright\normalfont\huge\bfseries} |
| 3683 |
% \end{macrocode} |
| 3684 |
% \end{macro} |
| 3685 |
% |
| 3686 |
% \begin{macro}{\title} |
| 3687 |
% The implementation of \cmd{\title}, copied from |
| 3688 |
% \class{amsart.cls}, allows an optional argument to provide the |
| 3689 |
% short title that is displayed in the running head. |
| 3690 |
% \begin{macrocode} |
| 3691 |
\renewcommand*\title[2][]{\gdef\CJS@shorttitle{#1}\gdef\@title{#2}} |
| 3692 |
\edef\title{\@nx\@dblarg |
| 3693 |
\@xp\@nx\csname\string\title\endcsname} |
| 3694 |
% \end{macrocode} |
| 3695 |
% \end{macro} |
| 3696 |
% |
| 3697 |
% \subsubsection{Author and affiliation information} |
| 3698 |
% \label{sec:implementation:titling:author} |
| 3699 |
% |
| 3700 |
% The mechanism to enter the author and affiliation information is inspired |
| 3701 |
% from \pkg{authblk}, but the implementation is rewritten more legibly |
| 3702 |
% using the tools from \pkg{etoolbox}. |
| 3703 |
% |
| 3704 |
% \begin{macro}{\authfont,\affilfont} |
| 3705 |
% First, we define two public commands to control the visual style of |
| 3706 |
% author names and affiliations, respectively. |
| 3707 |
% \begin{macrocode} |
| 3708 |
\newcommand*\authfont{\normalfont\sffamily\bfseries\color{black}} |
| 3709 |
\newcommand*\affilfont{\normalfont\sffamily\color{gray}} |
| 3710 |
% \end{macrocode} |
| 3711 |
% \end{macro} |
| 3712 |
% |
| 3713 |
% \begin{length}{\affilsep,\authsep} |
| 3714 |
% Next, we define (and initialize) two lengths holding the space between |
| 3715 |
% the author identification and the affiliation, and between author |
| 3716 |
% blocks. |
| 3717 |
% \begin{macrocode} |
| 3718 |
\newlength\affilsep \setlength\affilsep{\z@} |
| 3719 |
\newlength\authsep \setlength\authsep{1ex} |
| 3720 |
% \end{macrocode} |
| 3721 |
% \end{length} |
| 3722 |
% |
| 3723 |
% \changes{0.9}{2023-10-14}{Change the corresponding author symbol |
| 3724 |
% from an envelope to @.} |
| 3725 |
% \begin{macro}{\author} |
| 3726 |
% We can now define a new version of \cmd{\author} that will inject the |
| 3727 |
% author names into \cmd{\@author}, along with styling instructions and the |
| 3728 |
% appropriate separator between the author blocks (none before the first |
| 3729 |
% author, a space \cmd{\authsep} between the following ones). |
| 3730 |
% |
| 3731 |
% The command also allows collection of the ORCID iD, email address and |
| 3732 |
% corresponding author status through a now fairly standard |
| 3733 |
% key-value interface. |
| 3734 |
% \begin{macrocode} |
| 3735 |
\define@key{author}{orcid}{\def\CJS@orcid{#1}} |
| 3736 |
\define@key{author}{email}{\def\CJS@email{#1}} |
| 3737 |
\define@key{author}{corresponding}[true]{% |
| 3738 |
\csname if#1\endcsname \CJS@corrauthtrue\fi} |
| 3739 |
\def\CJS@corrauthname@en{Corresponding author} |
| 3740 |
\def\CJS@corrauthname@fr{Auteur correspondant} |
| 3741 |
\newcommand*\CJS@corrauth{} |
| 3742 |
\newcommand*\CJS@orcidlist{} |
| 3743 |
\newcommand*\CJS@orcidname{ORCID} |
| 3744 |
\newcommand*\CJS@authsep{, } |
| 3745 |
\newcommand*\CJS@orcid@and{} |
| 3746 |
\newcommand*\CJS@blk@and{\protect\authfont} |
| 3747 |
\newcommand*\CJS@pand{\protect\\[\authsep] \protect\authfont} |
| 3748 |
\renewcommand\author{% |
| 3749 |
\new@ifnextchar[{\author@}% |
| 3750 |
{\author@[]}} |
| 3751 |
\newcommand*\author@{} |
| 3752 |
\def\author@[#1]#2{% |
| 3753 |
\begingroup |
| 3754 |
\setkeys{author}{#1} |
| 3755 |
\let\protect\@unexpandable@protect |
| 3756 |
\ifCJS@newauth |
| 3757 |
\xappto\@author{\CJS@blk@and#2} |
| 3758 |
\else |
| 3759 |
\xappto\@author{\CJS@authsep#2} |
| 3760 |
\fi |
| 3761 |
\ifCJS@corrauth |
| 3762 |
\ifundef{\CJS@email}{\relax}{% |
| 3763 |
\protected@xdef\CJS@corrauth{\protect\url{\CJS@email}} |
| 3764 |
\xappto\@author{\;% |
| 3765 |
\protect\href{mailto:\CJS@email}{\corrauthmark}}} |
| 3766 |
\fi |
| 3767 |
\ifundef{\CJS@orcid}{\relax}{% |
| 3768 |
\xappto\@author{\;% |
| 3769 |
\protect\href{https://orcid.org/\CJS@orcid}% |
| 3770 |
{\textcolor{CJSorcid}{\faOrcid}}} |
| 3771 |
\xappto\CJS@orcidlist{\CJS@orcid@and#2: % |
| 3772 |
\protect\href{https://orcid.org/\CJS@orcid}% |
| 3773 |
{\textcolor{CJSorcid}{\faOrcid}\, \protect\url{https://orcid.org/\CJS@orcid}}} |
| 3774 |
\gdef\CJS@orcid@and{\protect\\}} |
| 3775 |
\endgroup |
| 3776 |
\CJS@newauthfalse} |
| 3777 |
% \end{macrocode} |
| 3778 |
% \end{macro} |
| 3779 |
% |
| 3780 |
% \begin{macro}{\affil} |
| 3781 |
% We immediately define the command \cmd{\affil} since it works in |
| 3782 |
% tandem with \cmd{\author}. The command provides an affiliation for |
| 3783 |
% the author previously mentioned in \cmd{\author}. Note how the |
| 3784 |
% separator \cmd{\CJS@blk@and} is redefined here. |
| 3785 |
% \begin{macrocode} |
| 3786 |
\newcommand*\affil[1]{% |
| 3787 |
\CJS@newauthtrue |
| 3788 |
\let\CJS@blk@and\CJS@pand |
| 3789 |
\begingroup |
| 3790 |
\let\protect\@unexpandable@protect |
| 3791 |
\gappto\@author{\protect\\[\affilsep]\protect\affilfont #1} |
| 3792 |
\endgroup} |
| 3793 |
% \end{macrocode} |
| 3794 |
% \end{macro} |
| 3795 |
% |
| 3796 |
% \begin{macro}{\surname} |
| 3797 |
% The command \cmd{\surname} defines the styling of the surname |
| 3798 |
% (using \cmd{\CJS@printsurname}), but also collects the surnames in |
| 3799 |
% the \cmd{\CJS@runningauthor} macro with the appropriate |
| 3800 |
% separators. This will be printed in the running head. |
| 3801 |
% |
| 3802 |
% The command \cmd{\surname} is expanded by \cmd{\maketitle}. We |
| 3803 |
% need to take into account that \cmd{\runningauthors} (see below) |
| 3804 |
% may be used in the document, in which case the command should not |
| 3805 |
% collect the surnames in \cmd{\CJS@runningauthor}. When |
| 3806 |
% \cmd{\runningauthors} is used, \cmd{\CJS@runningauthor} is not |
| 3807 |
% empty when \cmd{\maketitle} is expanded and, therefore, |
| 3808 |
% \cmd{\CJS@runningauthor@and} is never defined by \cmd{\surname}. |
| 3809 |
% Hence the test with \cmd{\ifdefvoid} in the ``false'' branch of |
| 3810 |
% \cmd{\ifdefempty}. |
| 3811 |
% \begin{macrocode} |
| 3812 |
\newcommand*\CJS@runningauthor{} |
| 3813 |
\newcommand*\CJS@printsurname[1]{\MakeTextUppercase{#1}} |
| 3814 |
\newrobustcmd{\surname}[1]{% |
| 3815 |
\ifdefempty{\CJS@runningauthor}{% |
| 3816 |
\def\CJS@runningauthor@{#1}% |
| 3817 |
\edef\CJS@runningauthor@and{\iflanguage{french}{ et }{ and }}% |
| 3818 |
\gappto\CJS@runningauthor{#1}}{% |
| 3819 |
\ifdefvoid{\CJS@runningauthor@and}{\relax}{% |
| 3820 |
\global\let\CJS@runningauthor\CJS@runningauthor@ |
| 3821 |
\appto\CJS@runningauthor@{, #1}% |
| 3822 |
\xappto\CJS@runningauthor{\CJS@runningauthor@and#1}% |
| 3823 |
\edef\CJS@runningauthor@and{\iflanguage{french}{ et }{, and }}}}% |
| 3824 |
\CJS@printsurname{#1}} |
| 3825 |
% \end{macrocode} |
| 3826 |
% \end{macro} |
| 3827 |
% |
| 3828 |
% \begin{macro}{\corrauthmark} |
| 3829 |
% The command \cmd{\corrauthmark} contains the marker that is |
| 3830 |
% used as a hyperlink next to the name of the corresponding author, |
| 3831 |
% and as the mark next to the titling information. |
| 3832 |
% \begin{macrocode} |
| 3833 |
\newcommand*\corrauthmark{{\small\faAt}} |
| 3834 |
% \end{macrocode} |
| 3835 |
% \end{macro} |
| 3836 |
% |
| 3837 |
% \begin{macro}{\runningauthor} |
| 3838 |
% The command \cmd{\runningauthors} may be used to provide an |
| 3839 |
% alternative (shorter) version of the author names for the running |
| 3840 |
% head. |
| 3841 |
% \begin{macrocode} |
| 3842 |
\newcommand*\runningauthor[1]{\renewcommand*\CJS@runningauthor{#1}} |
| 3843 |
% \end{macrocode} |
| 3844 |
% \end{macro} |
| 3845 |
% |
| 3846 |
% Finally, we need to reset \cmd{\@author} to avoid % |
| 3847 |
% \code{No }\cmdprint{\author}\code{ given} warnings. |
| 3848 |
% \begin{macrocode} |
| 3849 |
\def\@author{} |
| 3850 |
% \end{macrocode} |
| 3851 |
% |
| 3852 |
% \subsubsection{Abstracts} |
| 3853 |
% \label{sec:implementation:titling:abstracts} |
| 3854 |
% |
| 3855 |
% \begin{environment}{englishabstract,frenchabstract} |
| 3856 |
% The environments for the English and French abstracts are defined |
| 3857 |
% using the facilities of the package \pkg{environ}. They each |
| 3858 |
% merely collect their body into a macro whose content is later |
| 3859 |
% typeset by \cmd{\maketitle}. |
| 3860 |
% \begin{macrocode} |
| 3861 |
\def\CJS@englishabstract{} |
| 3862 |
\def\CJS@frenchabstract{} |
| 3863 |
\NewEnviron{englishabstract}{\global\let\CJS@englishabstract\BODY} |
| 3864 |
\NewEnviron{frenchabstract}{\global\let\CJS@frenchabstract\BODY} |
| 3865 |
% \end{macrocode} |
| 3866 |
% \end{environment} |
| 3867 |
% |
| 3868 |
% \subsubsection{Keywords} |
| 3869 |
% \label{sec:implementation:titling:keywords} |
| 3870 |
% |
| 3871 |
% \begin{environment}{keywords} |
| 3872 |
% The treatment of keywords involves two environments. The first, |
| 3873 |
% \code{keywords}, is the visible one that collects the information |
| 3874 |
% into a macro. The second, \code{CJS@keywordslist}, is the (inline) |
| 3875 |
% environment based on \code{itemize} that actually typesets the |
| 3876 |
% information inside \cmd{\maketitle}. (The command |
| 3877 |
% \cmdprint{\newlist} comes from \pkg{enumitem}.) |
| 3878 |
% \begin{macrocode} |
| 3879 |
\def\CJS@keywords{} |
| 3880 |
\def\CJS@keywordsname@en{Keywords} |
| 3881 |
\def\CJS@keywordsname@fr{Mots-clés} |
| 3882 |
\NewEnviron{keywords}{\global\let\CJS@keywords\BODY} |
| 3883 |
\newlist{CJS@keywordslist}{itemize*}{1} |
| 3884 |
\setlist[CJS@keywordslist]{% |
| 3885 |
mode=unboxed, |
| 3886 |
label={}, |
| 3887 |
afterlabel={}, |
| 3888 |
itemjoin={{; }}, |
| 3889 |
after={.}} |
| 3890 |
% \end{macrocode} |
| 3891 |
% \end{environment} |
| 3892 |
% |
| 3893 |
% \subsubsection{Mathematics subject classification} |
| 3894 |
% \label{sec:implementation:titling:classifications} |
| 3895 |
% |
| 3896 |
% \begin{environment}{classification} |
| 3897 |
% The implementation of the environment \code{environment} is |
| 3898 |
% similar to \code{keywords}, the main difference being that this |
| 3899 |
% environment has an optional argument with a default value stored |
| 3900 |
% in the macro \cmdprint{\CJS@defclassifname}. |
| 3901 |
% \begin{macrocode} |
| 3902 |
\def\CJS@classif{} |
| 3903 |
\def\CJS@classifname{} |
| 3904 |
\def\CJS@defclassifname{MSC2020} |
| 3905 |
\NewEnviron{classification}[1][% |
| 3906 |
\CJS@defclassifname]{% |
| 3907 |
\global\def\CJS@classifname{#1} |
| 3908 |
\global\let\CJS@classif\BODY} |
| 3909 |
\newlist{CJS@classiflist}{itemize*}{1} |
| 3910 |
\setlist[CJS@classiflist]{% |
| 3911 |
mode=unboxed, |
| 3912 |
itemjoin={{; }}, |
| 3913 |
after={.}} |
| 3914 |
% \end{macrocode} |
| 3915 |
% \end{environment} |
| 3916 |
% |
| 3917 |
% \subsubsection{Fancy break} |
| 3918 |
% \label{sec:implementation:titling:fancybreak} |
| 3919 |
% |
| 3920 |
% \begin{macro}{\pfbreakdisplay} |
| 3921 |
% The fancy break is the three-rule separator between the titling |
| 3922 |
% information and the body of the paper. Using the facilities of |
| 3923 |
% \class{memoir}, we simply redefine the command |
| 3924 |
% \cmd{\pfbreakdisplay}. |
| 3925 |
% \begin{macrocode} |
| 3926 |
\renewcommand\pfbreakdisplay{% |
| 3927 |
\vskip\fancybreaksep\par% |
| 3928 |
\rule[\z@]{\linewidth}{\normalrulethickness}\hskip-\linewidth |
| 3929 |
\rule[4\normalrulethickness]{\linewidth}{\normalrulethickness}\hskip-\linewidth |
| 3930 |
\rule[8\normalrulethickness]{\linewidth}{\normalrulethickness}\par% |
| 3931 |
\vskip\fancybreaksep} |
| 3932 |
% \end{macrocode} |
| 3933 |
% \end{macro} |
| 3934 |
% |
| 3935 |
% \begin{macro}{\suppressfancybreak,\showfancybreak} |
| 3936 |
% The command \cmd{\suppressfancybreak} allows suppression of the fancy |
| 3937 |
% break should it appear at the very bottom of the title page or at |
| 3938 |
% the very top of the second page. The converse |
| 3939 |
% \cmd{\showfancybreak} forces display, although it should not be |
| 3940 |
% needed as it is the default behaviour of the class. |
| 3941 |
% \begin{macrocode} |
| 3942 |
\newcommand*\suppressfancybreak{\CJS@fancybreakfalse} |
| 3943 |
\newcommand*\showfancybreak{\CJS@fancybreaktrue} |
| 3944 |
% \end{macrocode} |
| 3945 |
% |
| 3946 |
% \subsubsection{Typesetting of the titling material} |
| 3947 |
% \label{sec:implementation:titling:maketitle} |
| 3948 |
% |
| 3949 |
% \changes{2.0}{2026-02-23}{Implementation, titling material: |
| 3950 |
% the author block and corresponding author information are now |
| 3951 |
% displayed in \texttt{review} mode.} |
| 3952 |
% \begin{macro}{\maketitle} |
| 3953 |
% The command \cmd{\maketitle} typesets the titling material. The |
| 3954 |
% first duty is to use the specific page style and, unless |
| 3955 |
% overridden by a class option, to allocate space in the footer for |
| 3956 |
% the licence statement. |
| 3957 |
% \begin{macrocode} |
| 3958 |
\renewcommand\maketitle{% |
| 3959 |
\thispagestyle{cjsfirstpage} |
| 3960 |
\ifCJS@licenceblock |
| 3961 |
\CJS@measurelicence |
| 3962 |
\changepage{-\CJS@adjustheight}{}{}{}{}{}{}{}{\CJS@adjustheight}% |
| 3963 |
\fi |
| 3964 |
% \end{macrocode} |
| 3965 |
% Then really starts the composition of the title page. Single |
| 3966 |
% spacing is turned on, top floats are suppressed from the title |
| 3967 |
% page, and paragraph spacing and indentation are set to zero. |
| 3968 |
% \begin{macrocode} |
| 3969 |
\begingroup |
| 3970 |
\SingleSpacing |
| 3971 |
\suppressfloats[t] |
| 3972 |
\setlength\parskip{\z@} |
| 3973 |
\setlength\parindent{\z@} |
| 3974 |
\setcounter{page}{\CJS@firstpage} |
| 3975 |
% \end{macrocode} |
| 3976 |
% If appropriate, display the decorative element and journal information. |
| 3977 |
% \begin{macrocode} |
| 3978 |
\ifCJS@journalinfo |
| 3979 |
\vspace*{\journalinfoskip} |
| 3980 |
\makejournalinfo\par |
| 3981 |
\fi |
| 3982 |
\vspace*{\maintitleskip} |
| 3983 |
% \end{macrocode} |
| 3984 |
% We need to know the height of the supplementary material statement |
| 3985 |
% to replace it by a strut for regular articles. |
| 3986 |
% \begin{macrocode} |
| 3987 |
\setbox\z@=\vbox{\supplementfont% |
| 3988 |
\iflanguage{french}{\CJS@supptitlename@fr}{\CJS@supptitlename@en}} |
| 3989 |
\ifCJS@supplement |
| 3990 |
\box\z@\par |
| 3991 |
\else |
| 3992 |
\rule{\z@}{\dimexpr\ht\z@}\par % strut |
| 3993 |
\fi |
| 3994 |
\vskip\supptitleskip |
| 3995 |
\begin{minipage}{0.9\textwidth} |
| 3996 |
\maintitlefont\@title\par |
| 3997 |
\end{minipage} |
| 3998 |
\vskip\authorskip |
| 3999 |
% \end{macrocode} |
| 4000 |
% Then comes the author block. |
| 4001 |
% \begin{macrocode} |
| 4002 |
\hrulefill |
| 4003 |
\vskip\belowrulesep |
| 4004 |
\begin{minipage}{0.9\textwidth} |
| 4005 |
\@author |
| 4006 |
\end{minipage}\par |
| 4007 |
\vskip\aboverulesep |
| 4008 |
\hrulefill\par |
| 4009 |
% \end{macrocode} |
| 4010 |
% Option \code{supplement} hides the rest of the titling material |
| 4011 |
% (except the corresponding author address). |
| 4012 |
% \begin{macrocode} |
| 4013 |
\unless\ifCJS@supplement |
| 4014 |
\vskip2\titlingskip |
| 4015 |
% \end{macrocode} |
| 4016 |
% The abstracts are positioned automatically depending on the main |
| 4017 |
% language of the article. |
| 4018 |
% \begin{macrocode} |
| 4019 |
\begin{paracol}{2} |
| 4020 |
\RaggedRight |
| 4021 |
\switchcolumn[\iflanguage{english}{0}{1}] |
| 4022 |
\begingroup |
| 4023 |
\selectlanguage{english}\paragraph{\abstractname}\CJS@englishabstract |
| 4024 |
\endgroup |
| 4025 |
\switchcolumn[\iflanguage{french}{0}{1}] |
| 4026 |
\begingroup |
| 4027 |
\selectlanguage{french}\paragraph{\abstractname}\CJS@frenchabstract |
| 4028 |
\endgroup |
| 4029 |
\end{paracol}\par |
| 4030 |
% \end{macrocode} |
| 4031 |
% Start a group for the keywords and subject classification that are |
| 4032 |
% typeset ragged right. |
| 4033 |
% \begin{macrocode} |
| 4034 |
\begingroup |
| 4035 |
\sloppy\RaggedRight |
| 4036 |
\ifdefempty{\CJS@keywords}{\relax}{% |
| 4037 |
\vskip\titlingskip |
| 4038 |
\paragraph{\iflanguage{french}{\CJS@keywordsname@fr}{\CJS@keywordsname@en}} |
| 4039 |
\begin{CJS@keywordslist} |
| 4040 |
\CJS@keywords |
| 4041 |
\end{CJS@keywordslist}\par} |
| 4042 |
\vskip\titlingskip |
| 4043 |
% \end{macrocode} |
| 4044 |
% The subject classification block is always shown, just with an |
| 4045 |
% empty content if the information is not provided. |
| 4046 |
% \begin{macrocode} |
| 4047 |
\paragraph{{\CJS@classifname}} |
| 4048 |
\ifdefempty{\CJS@classif}{\mbox{}}{% |
| 4049 |
\begin{CJS@classiflist} |
| 4050 |
\CJS@classif |
| 4051 |
\end{CJS@classiflist}}\par |
| 4052 |
\endgroup |
| 4053 |
\fi |
| 4054 |
% \end{macrocode} |
| 4055 |
% Finally, display the corresponding author address, followed by the |
| 4056 |
% fancy break (unless revoked by \cmd{\suppressfancybreak}). |
| 4057 |
% \begin{macrocode} |
| 4058 |
\ifdefempty{\CJS@corrauth}{\relax}{% |
| 4059 |
\vskip\titlingskip |
| 4060 |
\paragraph{\corrauthmark\;% |
| 4061 |
\iflanguage{french}{\CJS@corrauthname@fr}{\CJS@corrauthname@en}} |
| 4062 |
\CJS@corrauth\par} |
| 4063 |
\ifCJS@fancybreak |
| 4064 |
\fancybreak{\pfbreakdisplay} |
| 4065 |
\fi |
| 4066 |
\endgroup} |
| 4067 |
% \end{macrocode} |
| 4068 |
% \end{macro} |
| 4069 |
% |
| 4070 |
% \subsubsection{ADNI data use agreement} |
| 4071 |
% \label{sec:implementation:titling:adni} |
| 4072 |
% |
| 4073 |
% \changes{1.1}{2024-06-26}{Implementation: define the new commands |
| 4074 |
% \cs{ADNIacknowledgement} and \cs{ADMCacknowledgement}.} |
| 4075 |
% \begin{macro}{\ADNIacknowledgement} |
| 4076 |
% \begin{macro}{\ADMCacknowledgement} |
| 4077 |
% The commands \cmd{\ADNIacknowledgement} and |
| 4078 |
% \cmd{\ADMCacknowledgement} automatically create special |
| 4079 |
% acknowledgements for the Alzheimer’s Disease Neuroimaging |
| 4080 |
% Initiative (ADNI) and the Alzheimer’s Disease Metabolomics |
| 4081 |
% Consortium (ADMC), respectively. |
| 4082 |
% \begin{macrocode} |
| 4083 |
\newcommand*\CJS@adnibyline{for the Alzheimer’s Disease Neuroimaging Initiative} |
| 4084 |
\newcommand*\CJS@adnistatement{% |
| 4085 |
Data used in preparation of this article were obtained |
| 4086 |
from the \href{https://adni.loni.usc.edu}{Alzheimer’s Disease Neuroimaging Initiative} |
| 4087 |
(ADNI) database. As such, the investigators within the ADNI |
| 4088 |
contributed to the design and implementation of ADNI and/or provided |
| 4089 |
data but did not participate in the analysis or writing of this |
| 4090 |
report. A complete listing of ADNI investigators can be found at: |
| 4091 |
\url{https://adni.loni.usc.edu/wp-content/uploads/how_to_apply/ADNI_Acknowledgement_List.pdf}.} |
| 4092 |
\newcommand*\CJS@admcbyline{for the Alzheimer’s Disease Metabolomics Consortium} |
| 4093 |
\newcommand*\CJS@admcstatement{% |
| 4094 |
Data used in preparation of this article were generated by the |
| 4095 |
Alzheimer’s Disease Metabolomics Consortium (ADMC). As such, the |
| 4096 |
investigators within the ADMC provided data but did not participate |
| 4097 |
in analysis or writing of this report. A complete listing of ADMC |
| 4098 |
investigators can be found at: |
| 4099 |
\url{https://sites.duke.edu/adnimetab/team/}.} |
| 4100 |
\newcommand*\ADNIacknowledgement{% |
| 4101 |
\specialack{\CJS@adnibyline}{\CJS@adnistatement}} |
| 4102 |
\newcommand*\ADMCacknowledgement{% |
| 4103 |
\renewcommand*\CJS@specialackmark{\textsuperscript{\ensuremath{**}}} |
| 4104 |
\specialack{\CJS@admcbyline}{\CJS@admcstatement}} |
| 4105 |
% \end{macrocode} |
| 4106 |
% \end{macro} |
| 4107 |
% \end{macro} |
| 4108 |
% |
| 4109 |
% \subsection{Back matter} |
| 4110 |
% \label{sec:implementation:backmatter} |
| 4111 |
% |
| 4112 |
% Perhaps a word is in order to explain the presence of the back |
| 4113 |
% matter environments in the class. The funding information started |
| 4114 |
% its life on the title page. It was therefore natural to provide an |
| 4115 |
% environment \code{funding} along with the environments |
| 4116 |
% \code{keywords} and \code{classification}. |
| 4117 |
% |
| 4118 |
% It was later decided to move this information at the end of the |
| 4119 |
% article, where space is less at a premium. We could have just |
| 4120 |
% included the appropriate sectioning commands in the templates, but |
| 4121 |
% it turned out that providing a command \cmd{\makebackmatter} proved |
| 4122 |
% useful to impose the order of the back matter and, furthermore, to |
| 4123 |
% display the full ORCID iDs, when available. The other environments |
| 4124 |
% of this section followed. |
| 4125 |
% |
| 4126 |
% \begin{environment}{supplement,sharing} |
| 4127 |
% The environments \code{supplement} and \code{sharing} only collect |
| 4128 |
% their contents into macros. |
| 4129 |
% \begin{macrocode} |
| 4130 |
\def\CJS@supplement{} |
| 4131 |
\def\CJS@supplementname@en{Supplementary material} |
| 4132 |
\def\CJS@supplementname@fr{Matériel additionnel} |
| 4133 |
\NewEnviron{supplement}{\global\let\CJS@supplement\BODY} |
| 4134 |
% \end{macrocode} |
| 4135 |
% \begin{macrocode} |
| 4136 |
\def\CJS@sharing{} |
| 4137 |
\def\CJS@sharingname@en{Data sharing} |
| 4138 |
\def\CJS@sharingname@fr{Partage des données} |
| 4139 |
\NewEnviron{sharing}{\global\let\CJS@sharing\BODY} |
| 4140 |
% \end{macrocode} |
| 4141 |
% \end{environment} |
| 4142 |
% |
| 4143 |
% \begin{environment}{acknowledgements,acknowledgments,funding} |
| 4144 |
% The environments \code{acknowledgements} (or its alias |
| 4145 |
% \code{acknowledgments}) and \code{funding} are very similar, |
| 4146 |
% except that they accept an optional argument to change the name of |
| 4147 |
% the information provided. |
| 4148 |
% \begin{macrocode} |
| 4149 |
\def\CJS@ack{} |
| 4150 |
\def\CJS@ackname@en{Acknowledgements} |
| 4151 |
\def\CJS@ackname@fr{Remerciements} |
| 4152 |
\NewEnviron{acknowledgements}{\global\let\CJS@ack\BODY} |
| 4153 |
\let\acknowledgments\acknowledgements |
| 4154 |
\let\endacknowledgments\endacknowledgements |
| 4155 |
% \end{macrocode} |
| 4156 |
% \begin{macrocode} |
| 4157 |
\def\CJS@funding{} |
| 4158 |
\def\CJS@fundingname{} |
| 4159 |
\def\CJS@fundingname@en{Funding information} |
| 4160 |
\def\CJS@fundingname@fr{Financement} |
| 4161 |
\NewEnviron{funding}[1][% |
| 4162 |
\iflanguage{french}{\CJS@fundingname@fr}{\CJS@fundingname@en}]{% |
| 4163 |
\global\def\CJS@fundingname{#1} |
| 4164 |
\global\let\CJS@funding\BODY} |
| 4165 |
% \end{macrocode} |
| 4166 |
% \end{environment} |
| 4167 |
% |
| 4168 |
% \changes{2.0}{2026-02-23}{Implementation, back matter: the |
| 4169 |
% acknowledgements, funding information, and ORCID iDs are now |
| 4170 |
% displayed in \texttt{review} mode.} |
| 4171 |
% \begin{macro}{\makebackmatter} |
| 4172 |
% Similar to \cmd{\maketitle}, the command \cmd{\makebackmatter} |
| 4173 |
% typesets all elements of the back matter that are available at the |
| 4174 |
% point where the command appears. |
| 4175 |
% \begin{macrocode} |
| 4176 |
\newcommand\makebackmatter{% |
| 4177 |
\ifCJS@supplement\else |
| 4178 |
\ifdefempty{\CJS@supplement}{\relax}{% |
| 4179 |
\section*{\iflanguage{french}{\CJS@supplementname@fr}{\CJS@supplementname@en}} |
| 4180 |
\CJS@supplement} |
| 4181 |
\ifdefempty{\CJS@sharing}{\relax}{% |
| 4182 |
\section*{\iflanguage{french}{\CJS@sharingname@fr}{\CJS@sharingname@en}} |
| 4183 |
\CJS@sharing} |
| 4184 |
\ifdefempty{\CJS@ack}{\relax}{% |
| 4185 |
\section*{\iflanguage{french}{\CJS@ackname@fr}{\CJS@ackname@en}} |
| 4186 |
\CJS@ack} |
| 4187 |
\ifdefempty{\CJS@funding}{\relax}{% |
| 4188 |
\section*{\CJS@fundingname} |
| 4189 |
\CJS@funding} |
| 4190 |
\ifdefempty{\CJS@orcidlist}{\relax}{% |
| 4191 |
\section*{\CJS@orcidname} |
| 4192 |
\begingroup |
| 4193 |
\let\surname\relax |
| 4194 |
\let\corrauth\@gobble |
| 4195 |
\CJS@orcidlist |
| 4196 |
\endgroup} |
| 4197 |
\fi} |
| 4198 |
% \end{macrocode} |
| 4199 |
% \end{macro} |
| 4200 |
% |
| 4201 |
% \subsection{Licensing} |
| 4202 |
% \label{sec:implementation:licensing} |
| 4203 |
% |
| 4204 |
% The licensing information is used in two main ways by the class: |
| 4205 |
% either the licence statement provided by the publisher is inserted |
| 4206 |
% at the bottom of the title page with option \code{final}, or else |
| 4207 |
% the user provided licence statement is displayed in the footer of |
| 4208 |
% the title page with option \code{nocjs}. In all other cases the |
| 4209 |
% licensing information is ignored. |
| 4210 |
% |
| 4211 |
% In order to maintain the page layout as much as possible, we leave |
| 4212 |
% space by default at the bottom of the title page for the future |
| 4213 |
% licence statement. |
| 4214 |
% |
| 4215 |
% First, set the font for the licence statement. |
| 4216 |
% \begin{macrocode} |
| 4217 |
\def\CJS@setlicencefont{% |
| 4218 |
\firalining\fontsize{8pt}{9pt}\selectfont} |
| 4219 |
% \end{macrocode} |
| 4220 |
% |
| 4221 |
% \changes{1.3}{2025-08-18}{Implementation: make the internal |
| 4222 |
% length for the height of the licence statement global.} |
| 4223 |
% \changes{1.3}{2025-08-18}{Implementation: |
| 4224 |
% \cs{CJS@measurelicence} now also creates a global length for the |
| 4225 |
% adjustment to make to \cs{textheight} and \cs{footskip} to fit the |
| 4226 |
% licensing information in the footer.} |
| 4227 |
% \changes{1.2}{2024-11-06}{Fix spurious Unicode (U+0301) characters |
| 4228 |
% that made their way in the code of the class and that halted |
| 4229 |
% compilation using pdflatex.} |
| 4230 |
% \begin{macro}{\CJS@measurelicence} |
| 4231 |
% We need to compute the required space for a licence statement and, |
| 4232 |
% possibly, the ADNI statement. The internal command |
| 4233 |
% \cmd{\CJS@measurelicence} measures the total height required using |
| 4234 |
% either the licence statement provided with \cmd{\licence}, or the |
| 4235 |
% seemingly longest version of the license statement used by the |
| 4236 |
% publisher. The command also computes the adjustment needed for |
| 4237 |
% \cmd{\textheight} and \cmd{\footskip} to fit the information in |
| 4238 |
% the footer (\cmd{\strutbox} is defined by \class{memoir}). We need |
| 4239 |
% global definitions for the resulting lengths since the command is |
| 4240 |
% issued inside \cmd{\maketitle}, whereas the lengths are used in |
| 4241 |
% the definition of the footer. |
| 4242 |
% \begin{macrocode} |
| 4243 |
\newlength\CJS@licenceheight |
| 4244 |
\newlength\CJS@adjustheight |
| 4245 |
\def\CJS@licencesample{% |
| 4246 |
{\ccbyncnd*} 2023 The Authors. The Canadian Journal of |
| 4247 |
Statistics~{\textbar}~La revue canadienne de statistique published |
| 4248 |
by Wiley Periodicals LLC on behalf of Statistical Society of |
| 4249 |
Canada~{\textbar}~Société statistique du Canada. This is an open |
| 4250 |
access article under the terms of the Creative Commons |
| 4251 |
Attribution-NonCommercial-NoDerivs License, which permits use and |
| 4252 |
distribution in any medium, provided the original work is properly |
| 4253 |
cited, the use is non-commercial and no modifications or adaptations |
| 4254 |
are made.} |
| 4255 |
\newsavebox\CJS@licencebox |
| 4256 |
\newcommand\CJS@measurelicence{% |
| 4257 |
\setbox\CJS@licencebox=\vbox{% |
| 4258 |
\CJS@setlicencefont |
| 4259 |
\ifCJS@specialack\CJS@specialackstatement\fi |
| 4260 |
\ifdefempty{\CJS@licence}{\CJS@licencesample}{\CJS@licence}}% |
| 4261 |
\global\setlength\CJS@licenceheight{\dimexpr\ht\CJS@licencebox+\dp\CJS@licencebox} |
| 4262 |
\global\setlength\CJS@adjustheight{\dimexpr\CJS@licenceheight-\ht\strutbox}} |
| 4263 |
% \end{macrocode} |
| 4264 |
% \end{macro} |
| 4265 |
% |
| 4266 |
% \begin{macro}{\licence,\license} |
| 4267 |
% The command \cmd{\licence} (alias \cmd{\license}) specifies the |
| 4268 |
% licence statement for the manuscript. It may be used by the |
| 4269 |
% editors or the publisher to insert the statement at the bottom of |
| 4270 |
% the title page with option \code{final}. Otherwise, the statement |
| 4271 |
% is only displayed in the footer with option \code{nocjs}. |
| 4272 |
% \begin{macrocode} |
| 4273 |
\def\CJS@licence{} |
| 4274 |
\newcommand\licence[1]{\renewcommand*\CJS@licence{#1}} |
| 4275 |
\let\license\licence |
| 4276 |
% \end{macrocode} |
| 4277 |
% \end{macro} |
| 4278 |
% |
| 4279 |
% For convenience, we define commands to display the icons of the |
| 4280 |
% most common Creative Commons licences. The starred versions add the |
| 4281 |
% Font Awesome copyright icon {\faCopyright[regular]} at the end. |
| 4282 |
% Inspired by the package \pkg{ccicons} (not used by the class since |
| 4283 |
% \pkg{fontawesome5} contains all the Creative Commons icons). |
| 4284 |
% |
| 4285 |
% \changes{1.1a}{2024-07-25}{Implementation: fix the generation of |
| 4286 |
% spacing in the \cs{ccby*} commands.} |
| 4287 |
% \begin{macro}{\ccby,\ccby*} |
| 4288 |
% The command \cmd{\ccby} typesets the icons for the Attribution |
| 4289 |
% licence: {\ccby}. |
| 4290 |
% \begin{macrocode} |
| 4291 |
\newcommand*\ccby{\ccby@\@ifstar{~\faCopyright[regular]}\relax} |
| 4292 |
\def\CJS@fakern{\kern0.1em} |
| 4293 |
\def\ccby@{\mbox{% |
| 4294 |
\faCreativeCommons\CJS@fakern |
| 4295 |
\faCreativeCommonsBy\CJS@fakern}} |
| 4296 |
% \end{macrocode} |
| 4297 |
% \end{macro} |
| 4298 |
% |
| 4299 |
% \begin{macro}{\ccbysa,\ccbysa*} |
| 4300 |
% The command \cmd{\ccbysa} typesets the icons for the |
| 4301 |
% Attribution"-ShareAlike licence: {\ccbysa}. |
| 4302 |
% \begin{macrocode} |
| 4303 |
\newcommand*\ccbysa{\ccbysa@\@ifstar{~\faCopyright[regular]}\relax} |
| 4304 |
\def\ccbysa@{\mbox{% |
| 4305 |
\faCreativeCommons\CJS@fakern |
| 4306 |
\faCreativeCommonsBy\CJS@fakern |
| 4307 |
\faCreativeCommonsSa}} |
| 4308 |
% \end{macrocode} |
| 4309 |
% \end{macro} |
| 4310 |
% |
| 4311 |
% \begin{macro}{\ccbync,\ccbync*} |
| 4312 |
% The command \cmd{\ccbync} typesets the icons for the |
| 4313 |
% Attribution"-NonCommercial licence: {\ccbync}. |
| 4314 |
% \begin{macrocode} |
| 4315 |
\newcommand*\ccbync{\ccbync@\@ifstar{~\faCopyright[regular]}\relax} |
| 4316 |
\def\ccbync@{\mbox{% |
| 4317 |
\faCreativeCommons\CJS@fakern |
| 4318 |
\faCreativeCommonsBy\CJS@fakern |
| 4319 |
\faCreativeCommonsNc}} |
| 4320 |
% \end{macrocode} |
| 4321 |
% \end{macro} |
| 4322 |
% |
| 4323 |
% \begin{macro}{\ccbyncsa,\ccbyncsa*} |
| 4324 |
% The command \cmd{\ccbyncsa} typesets the icons for the |
| 4325 |
% Attribution"-NonCommercial"-ShareAlike licence: |
| 4326 |
% {\ccbyncsa}. |
| 4327 |
% \begin{macrocode} |
| 4328 |
\newcommand*\ccbyncsa{\ccbyncsa@\@ifstar{~\faCopyright[regular]}\relax} |
| 4329 |
\def\ccbyncsa@{\mbox{% |
| 4330 |
\faCreativeCommons\CJS@fakern |
| 4331 |
\faCreativeCommonsBy\CJS@fakern |
| 4332 |
\faCreativeCommonsNc\CJS@fakern |
| 4333 |
\faCreativeCommonsSa}} |
| 4334 |
% \end{macrocode} |
| 4335 |
% \end{macro} |
| 4336 |
% |
| 4337 |
% \begin{macro}{\ccbynd,\ccbynd*} |
| 4338 |
% The command \cmd{\ccbynd} typesets the icons for the |
| 4339 |
% Attribution"-NoDerivatives licence: {\ccbynd}. |
| 4340 |
% \begin{macrocode} |
| 4341 |
\newcommand*\ccbynd{\ccbynd@\@ifstar{~\faCopyright[regular]}\relax} |
| 4342 |
\def\ccbynd@{\mbox{% |
| 4343 |
\faCreativeCommons\CJS@fakern |
| 4344 |
\faCreativeCommonsBy\CJS@fakern |
| 4345 |
\faCreativeCommonsNd}} |
| 4346 |
% \end{macrocode} |
| 4347 |
% \end{macro} |
| 4348 |
% |
| 4349 |
% \begin{macro}{\ccbyncnd,\ccbyncnd*} |
| 4350 |
% The command \cmd{\ccbyncnd} typesets the icons for the |
| 4351 |
% Attribution"-NonCommercial"-NoDerivatives licence: {\ccbyncnd}. |
| 4352 |
% \begin{macrocode} |
| 4353 |
\newcommand*\ccbyncnd{\ccbyncnd@\@ifstar{~\faCopyright[regular]}\relax} |
| 4354 |
\def\ccbyncnd@{\mbox{% |
| 4355 |
\faCreativeCommons\CJS@fakern |
| 4356 |
\faCreativeCommonsBy\CJS@fakern |
| 4357 |
\faCreativeCommonsNc\CJS@fakern |
| 4358 |
\faCreativeCommonsNd}} |
| 4359 |
% \end{macrocode} |
| 4360 |
% \end{macro} |
| 4361 |
% |
| 4362 |
% \subsection{Mathematics} |
| 4363 |
% \label{sec:implementation:mathematics} |
| 4364 |
% |
| 4365 |
% \begin{macro}{\Pr,\E,\Var,\Cov,\corr} |
| 4366 |
% We provide a number of shortcuts for the more common mathematical |
| 4367 |
% operators. |
| 4368 |
% \begin{macrocode} |
| 4369 |
\let\Pr\relax |
| 4370 |
\DeclareMathOperator{\Pr}{P} |
| 4371 |
\DeclareMathOperator{\E}{E} |
| 4372 |
\DeclareMathOperator{\Var}{var} |
| 4373 |
\DeclareMathOperator{\Cov}{cov} |
| 4374 |
\DeclareMathOperator{\corr}{corr} |
| 4375 |
% \end{macrocode} |
| 4376 |
% \end{macro} |
| 4377 |
% |
| 4378 |
% \begin{macro}{\prdist} |
| 4379 |
% The command \cmd{\prdist} typesets the symbol or the name of a |
| 4380 |
% probability distribution. With the newer {\TeX} engines that load |
| 4381 |
% \pkg{unicode-math}, \cmd{\symcal} is recommended over |
| 4382 |
% \cmdprint{\mathcal}. |
| 4383 |
% \begin{macrocode} |
| 4384 |
\iftutex |
| 4385 |
\let\prdist\symcal |
| 4386 |
\else |
| 4387 |
\let\prdist\mathcal |
| 4388 |
\fi |
| 4389 |
% \end{macrocode} |
| 4390 |
% \end{macro} |
| 4391 |
% |
| 4392 |
% \changes{1.1}{2024-07-13}{Implementation: simpler definition of |
| 4393 |
% \cs{mat} and \cs{matit} using \cs{let} instead of \cs{newcommand*}.} |
| 4394 |
% \begin{macro}{\mat,\matit,\trsp,\tr,\diag} |
| 4395 |
% The class provides special commands to typeset matrix and vector |
| 4396 |
% names, a carefully designed transpose symbol, and the most common |
| 4397 |
% linear algebra operators. |
| 4398 |
% \begin{macrocode} |
| 4399 |
\iftutex |
| 4400 |
\let\mat\symbf |
| 4401 |
\let\matit\symbfit |
| 4402 |
\newcommand*\trsp{^{\mkern-1.5mu\symsfup{T}}} |
| 4403 |
\else |
| 4404 |
\let\mat\mathbf |
| 4405 |
\let\matit\mathbfit |
| 4406 |
\newcommand*\trsp{^{\mkern-1.5mu\mathsf{T}}} |
| 4407 |
\fi |
| 4408 |
\DeclareMathOperator{\tr}{tr} |
| 4409 |
\DeclareMathOperator{\diag}{diag} |
| 4410 |
% \end{macrocode} |
| 4411 |
% \end{macro} |
| 4412 |
% |
| 4413 |
% \begin{macro}{\Nset,\Zset,\Qset,\Rset,\Cset} |
| 4414 |
% To ensure uniformity, the class provides commands to typeset the |
| 4415 |
% sets of natural numbers, integers, rational numbers, real numbers, |
| 4416 |
% and complex numbers. |
| 4417 |
% \begin{macrocode} |
| 4418 |
\iftutex |
| 4419 |
\newcommand*\Nset{\symbb{N}} |
| 4420 |
\newcommand*\Zset{\symbb{Z}} |
| 4421 |
\newcommand*\Qset{\symbb{Q}} |
| 4422 |
\newcommand*\Rset{\symbb{R}} |
| 4423 |
\newcommand*\Cset{\symbb{C}} |
| 4424 |
\else |
| 4425 |
\newcommand*\Nset{\mathbb{N}} |
| 4426 |
\newcommand*\Zset{\mathbb{Z}} |
| 4427 |
\newcommand*\Qset{\mathbb{Q}} |
| 4428 |
\newcommand*\Rset{\mathbb{R}} |
| 4429 |
\newcommand*\Cset{\mathbb{C}} |
| 4430 |
\fi |
| 4431 |
% \end{macrocode} |
| 4432 |
% \end{macro} |
| 4433 |
% |
| 4434 |
% The class defines a number of theorem-like environments using the |
| 4435 |
% \pkg{amsthm} styles. |
| 4436 |
% \begin{macrocode} |
| 4437 |
\def\CJS@theoremname@en{Theorem} |
| 4438 |
\def\CJS@theoremname@fr{Théorème} |
| 4439 |
\def\CJS@lemmaname@en{Lemma} |
| 4440 |
\def\CJS@lemmaname@fr{Lemme} |
| 4441 |
\def\CJS@propositionname@en{Proposition} |
| 4442 |
\def\CJS@propositionname@fr{Proposition} |
| 4443 |
\def\CJS@corollaryname@en{Corollary} |
| 4444 |
\def\CJS@corollaryname@fr{Corollaire} |
| 4445 |
\def\CJS@definitionname@en{Definition} |
| 4446 |
\def\CJS@definitionname@fr{Définition} |
| 4447 |
\def\CJS@algorithmname@en{Algorithm} |
| 4448 |
\def\CJS@algorithmname@fr{Algorithme} |
| 4449 |
\def\CJS@remarkname@en{Remark} |
| 4450 |
\def\CJS@remarkname@fr{Remarque} |
| 4451 |
\theoremstyle{plain} |
| 4452 |
\newtheorem{theorem}{\iflanguage{french}{\CJS@theoremname@fr}{\CJS@theoremname@en}} |
| 4453 |
\newtheorem{lemma}{\iflanguage{french}{\CJS@lemmaname@fr}{\CJS@lemmaname@en}} |
| 4454 |
\newtheorem{proposition}{\iflanguage{french}{\CJS@propositionname@fr}{\CJS@propositionname@en}} |
| 4455 |
\newtheorem{corollary}{\iflanguage{french}{\CJS@corollaryname@fr}{\CJS@corollaryname@en}} |
| 4456 |
\theoremstyle{definition} |
| 4457 |
\newtheorem{definition}{\iflanguage{french}{\CJS@definitionname@fr}{\CJS@definitionname@en}} |
| 4458 |
\newtheorem{algorithm}{\iflanguage{french}{\CJS@algorithmname@fr}{\CJS@algorithmname@en}} |
| 4459 |
\theoremstyle{remark} |
| 4460 |
\newtheorem{remark}{\iflanguage{french}{\CJS@remarkname@fr}{\CJS@remarkname@en}} |
| 4461 |
% \end{macrocode} |
| 4462 |
% |
| 4463 |
% \begin{macro}{\eqref} |
| 4464 |
% The command \cmd{\eqref} from \pkg{amsmath} should be used to |
| 4465 |
% refer to equations. We redefine it such that the parentheses are |
| 4466 |
% part of the hyperlink, and that the command inherits |
| 4467 |
% font changes, notably in titles.\footnote{% |
| 4468 |
% With thanks to Heiko Oberdiek |
| 4469 |
% (\url{https://tex.stackexchange.com/a/192754}) and David |
| 4470 |
% Carlisle (\url{https://tex.stackexchange.com/a/631254}).} |
| 4471 |
% \begin{macrocode} |
| 4472 |
\renewcommand*\eqref[1]{\hyperref[{#1}]{\textup{(\ref*{#1})}}} |
| 4473 |
% \end{macrocode} |
| 4474 |
% \end{macro} |
| 4475 |
% |
| 4476 |
% \subsection{Computer code and software} |
| 4477 |
% \label{sec:implementation:software} |
| 4478 |
% |
| 4479 |
% \changes{1.1a}{2024-07-25}{Implementation: prevent hyphenation in |
| 4480 |
% \cs{proglang} using a simple \cs{mbox}.} |
| 4481 |
% \begin{macro}{\proglang} |
| 4482 |
% The command \cmd{\proglang} provides a means to uniformly typeset |
| 4483 |
% the name of a software or programming language. The command also |
| 4484 |
% prevents hyphenation within the name. The class also provides |
| 4485 |
% shortcuts to the most common languages. Notice that the |
| 4486 |
% \cmd{\Cpplang} case is specially crafted. |
| 4487 |
% \begin{macrocode} |
| 4488 |
\newrobustcmd*\proglang[1]{\mbox{#1}} |
| 4489 |
\newcommand*\Rlang{\proglang{R}} |
| 4490 |
\newcommand*\SASlang{\proglang{SAS}} |
| 4491 |
\newcommand*\SPSSlang{\proglang{SPSS}} |
| 4492 |
\newcommand*\Statalang{\proglang{Stata}} |
| 4493 |
\newcommand*\Pylang{\proglang{Python}} |
| 4494 |
\newcommand*\Julialang{\proglang{Julia}} |
| 4495 |
\newcommand*\Clang{\proglang{C}} |
| 4496 |
\newcommand*\Cpplang{\proglang{C\CJS@plus\CJS@plus}} |
| 4497 |
\def\CJS@plus{% |
| 4498 |
\ifx\f@family\sfdefault% |
| 4499 |
\protect\hspace{-.04em}\protect\raisebox{-.125ex}{\larger+}% |
| 4500 |
\else% |
| 4501 |
\protect\hspace{-.03em}\protect\raisebox{.25ex}{\smaller+}% |
| 4502 |
\fi} |
| 4503 |
% \end{macrocode} |
| 4504 |
% \end{macro} |
| 4505 |
% |
| 4506 |
% \begin{macro}{\pkg} |
| 4507 |
% The command \cmd{\pkg} typesets the name of software packages, extensions |
| 4508 |
% or modules. |
| 4509 |
% \begin{macrocode} |
| 4510 |
\let\pkg\textbf |
| 4511 |
% \end{macrocode} |
| 4512 |
% \end{macro} |
| 4513 |
% |
| 4514 |
% \begin{macro}{\code} |
| 4515 |
% The following pretty smart implementation of \cmd{\code} allows |
| 4516 |
% use of the active characters \code{_}, \code{~} and \code{$} as is |
| 4517 |
% within the command. It is lifted from the class file of the |
| 4518 |
% \emph{Journal of Statistical Software}. |
| 4519 |
% \begin{macrocode} |
| 4520 |
\newcommand\code{\bgroup\@makeother\_\@makeother\~\@makeother\$\code@} |
| 4521 |
\def\code@#1{{\normalfont\ttfamily\hyphenchar\font=-1 #1}\egroup} |
| 4522 |
% \end{macrocode} |
| 4523 |
% \end{macro} |
| 4524 |
% |
| 4525 |
% \subsection{Appendices} |
| 4526 |
% \label{sec:implementation:appendices} |
| 4527 |
% |
| 4528 |
% \changes{1.3}{2025-08-23}{Implementation: set |
| 4529 |
% \cs{anappendixtrue} in the definition of \cs{appendix} like in the |
| 4530 |
% class \textsf{memoir}.} |
| 4531 |
% \begin{macro}{\appendix} |
| 4532 |
% Given that appendices are sections in the class (instead of |
| 4533 |
% chapters as with \class{memoir}), we redefine \cmd{\appendix} |
| 4534 |
% based on the standard \class{article} class definition. |
| 4535 |
% \begin{macrocode} |
| 4536 |
\renewcommand*\appendix{\par |
| 4537 |
\setcounter{section}{0} |
| 4538 |
\gdef\thesection{\@Alph\c@section}% |
| 4539 |
\anappendixtrue} |
| 4540 |
% \end{macrocode} |
| 4541 |
% \end{macro} |
| 4542 |
% |
| 4543 |
% \subsection{Citations and references} |
| 4544 |
% \label{sec:implementation:references} |
| 4545 |
% |
| 4546 |
% Very little to do here, as most of the work on the citations front |
| 4547 |
% is handled by \pkg{natbib}. We loaded the package with the option |
| 4548 |
% \code{sectionbib} to obtain the list of references as a section, but |
| 4549 |
% \class{memoir} will use \cmd{\section} in such instances. We want an |
| 4550 |
% unnumbered section (yet showing in the virtual table of contents of |
| 4551 |
% the PDF). To achieve this efficiently, we redefine the internal |
| 4552 |
% command of \class{memoir}. |
| 4553 |
% \changes{1.1}{2024-07-02}{Implementation: add a |
| 4554 |
% \cs{addtocontentsline} command to the redefinition of |
| 4555 |
% \cs{@memb@bsec} to include the References section in the virtual |
| 4556 |
% table of contents of the PDF.} |
| 4557 |
% \begin{macrocode} |
| 4558 |
\renewcommand{\@memb@bsec}{% |
| 4559 |
\section*{\bibname}% |
| 4560 |
\addcontentsline{toc}{section}{\bibname}% |
| 4561 |
\prebibhook} |
| 4562 |
% \end{macrocode} |
| 4563 |
% |
| 4564 |
% Furthermore, we need to redefine the title of the section, because |
| 4565 |
% \class{memoir} uses ``Bibliography'' by default. Due to the presence |
| 4566 |
% of \pkg{babel}, we have to use \cmd{\setlocalecaption} rather than |
| 4567 |
% redefine \cmd{\bibname} directly. |
| 4568 |
% \begin{macrocode} |
| 4569 |
\setlocalecaption{english}{bib}{References} |
| 4570 |
\setlocalecaption{french}{bib}{Références} |
| 4571 |
% \end{macrocode} |
| 4572 |
% |
| 4573 |
% The class uses its own bibliographic styles: {\CJSbsten} for |
| 4574 |
% articles in English, and {\CJSbstfr} for articles in French. For |
| 4575 |
% additional information on these styles, please refer to the |
| 4576 |
% documentation of the master bibliographic style in |
| 4577 |
% \code{cjs-rcs-merlin.pdf}. |
| 4578 |
% \begin{macrocode} |
| 4579 |
\bibliographystyle{\iflanguage{french}{cjs-rcs-fr}{cjs-rcs-en}} |
| 4580 |
% \end{macrocode} |
| 4581 |
% |
| 4582 |
% Finally, condense the bibliography. The default spacing between the |
| 4583 |
% entries defined by \pkg{natbib} is $\cmdprint{\itemsep} + |
| 4584 |
% \cmdprint{\parsep}$, which amounts to $2 \times \cmdprint{\itemsep}$. |
| 4585 |
% Reduce this to \cmdprint{\itemsep}. |
| 4586 |
% \begin{macrocode} |
| 4587 |
\setlength{\bibsep}{\itemsep} |
| 4588 |
% \end{macrocode} |
| 4589 |
% |
| 4590 |
% \subsection{Supplementary material} |
| 4591 |
% |
| 4592 |
% In order to easily distinguish them from their counterparts of the |
| 4593 |
% main article, sections, equations, theorems, figure, etc., are |
| 4594 |
% numbered with \makeatletter``\CJS@suppprefix''\makeatother in |
| 4595 |
% prefix. For document divisions, we only need to change |
| 4596 |
% \cmd{\thesection} as the lower level printing commands are based on |
| 4597 |
% the latter. |
| 4598 |
% \begin{macrocode} |
| 4599 |
\def\CJS@suppprefix{S} % required for the documentation |
| 4600 |
\ifCJS@supplement |
| 4601 |
\renewcommand*\thesection{\CJS@suppprefix\arabic{section}} |
| 4602 |
\renewcommand*\thefigure{\CJS@suppprefix\arabic{figure}} |
| 4603 |
\renewcommand*\thetable{\CJS@suppprefix\arabic{table}} |
| 4604 |
\renewcommand*\theequation{\CJS@suppprefix\arabic{equation}} |
| 4605 |
\renewcommand*\thetheorem{\CJS@suppprefix\arabic{theorem}} |
| 4606 |
\renewcommand*\thelemma{\CJS@suppprefix\arabic{lemma}} |
| 4607 |
\renewcommand*\theproposition{\CJS@suppprefix\arabic{proposition}} |
| 4608 |
\renewcommand*\thecorollary{\CJS@suppprefix\arabic{corollary}} |
| 4609 |
\renewcommand*\thedefinition{\CJS@suppprefix\arabic{definition}} |
| 4610 |
\renewcommand*\thealgorithm{\CJS@suppprefix\arabic{algorithm}} |
| 4611 |
\renewcommand*\theremark{\CJS@suppprefix\arabic{remark}} |
| 4612 |
\fi |
| 4613 |
% \end{macrocode} |
| 4614 |
% |
| 4615 |
% \subsection{Commands for the editors} |
| 4616 |
% \label{sec:implementation:editors} |
| 4617 |
% |
| 4618 |
% \begin{option}{final} |
| 4619 |
% The class option \code{final} activates a number of sanity checks |
| 4620 |
% on the document: the journal publication information (volume, |
| 4621 |
% issue, year) is provided; the folio of the first page is set; the |
| 4622 |
% article history (date received, date accepted) is provided. These |
| 4623 |
% checks are conducted at the end of the document. |
| 4624 |
% \begin{macrocode} |
| 4625 |
\AtEndDocument{% |
| 4626 |
\ifCJS@final |
| 4627 |
\ifdefempty{\CJS@vol}{% |
| 4628 |
\ClassError{cjs-rcs-article}% |
| 4629 |
{Unknown Journal volume}% |
| 4630 |
{Use \string\jvol\space to specify the volume.}}{\relax} |
| 4631 |
\ifdefempty{\CJS@issue}{% |
| 4632 |
\ClassError{cjs-rcs-article}% |
| 4633 |
{Unknown Journal issue}% |
| 4634 |
{Use \string\jissue\space to specify the issue.}}{\relax} |
| 4635 |
\ifdefempty{\CJS@year}{% |
| 4636 |
\ClassError{cjs-rcs-article}% |
| 4637 |
{Unknown Journal publication year}% |
| 4638 |
{Use \string\jyear\space to specify the year.}}{\relax} |
| 4639 |
\ifdefstring{\CJS@firstpage}{1}{% |
| 4640 |
\ClassWarningNoLine{cjs-rcs-article}% |
| 4641 |
{The first page number is not set.\MessageBreak% |
| 4642 |
Using the default folio 1}}{\relax} |
| 4643 |
\ifCJS@history\else |
| 4644 |
\ClassError{cjs-rcs-article}% |
| 4645 |
{Unknown article history}% |
| 4646 |
{Use \string\received\space and \string\accepted\space to provide the article history.} |
| 4647 |
\fi |
| 4648 |
\fi} |
| 4649 |
% \end{macrocode} |
| 4650 |
% \end{option} |
| 4651 |
% |
| 4652 |
% \begin{macro}{\jvol,\jissue,\jyear,\firstpage} |
| 4653 |
% The editors use the commands \cmd{\jvol}, \cmd{\jissue}, |
| 4654 |
% \cmd{\jyear} and \cmd{\firstpage} to enter the publication |
| 4655 |
% information of the journal. |
| 4656 |
% \begin{macrocode} |
| 4657 |
\def\CJS@vol{} |
| 4658 |
\def\CJS@issue{} |
| 4659 |
\def\CJS@year{} |
| 4660 |
\def\CJS@firstpage{1} |
| 4661 |
\newcommand*\jvol[1]{\renewcommand*\CJS@vol{#1}} |
| 4662 |
\newcommand*\jissue[1]{\renewcommand*\CJS@issue{#1}} |
| 4663 |
\newcommand*\jyear[1]{\renewcommand*\CJS@year{#1}} |
| 4664 |
\newcommand*\firstpage[1]{\renewcommand*\CJS@firstpage{#1}} |
| 4665 |
% \end{macrocode} |
| 4666 |
% \end{macro} |
| 4667 |
% |
| 4668 |
% \begin{macro}{\received,\accepted} |
| 4669 |
% The article history---dates when the article was received and |
| 4670 |
% accepted---is printed at the very end of the article when present. |
| 4671 |
% Its treatment involves a number of steps. |
| 4672 |
% |
| 4673 |
% First, the dates themselves are input in ISO format YYYY-MM-DD and |
| 4674 |
% converted in language dependent strings using the package |
| 4675 |
% \pkg{datetime2}. In English, we want to use the British format |
| 4676 |
% without the ordinal for the day: 1 January 1970. In French, we |
| 4677 |
% can simply rely on the default format. |
| 4678 |
% \begin{macrocode} |
| 4679 |
\DTMlangsetup[en-GB]{ord=omit} |
| 4680 |
% \end{macrocode} |
| 4681 |
% |
| 4682 |
% Next, we need interface commands, a special kind of list to |
| 4683 |
% display the information, and a macro to actually typeset the |
| 4684 |
% history. Providing a \emph{received} date marks the article |
| 4685 |
% history as present. The dates are saved and printed using commands |
| 4686 |
% from \pkg{datetime2}. |
| 4687 |
% \begin{macrocode} |
| 4688 |
\def\CJS@receivedname@en{Received} |
| 4689 |
\def\CJS@receivedname@fr{Reçu le} |
| 4690 |
\def\CJS@acceptedname@en{Accepted} |
| 4691 |
\def\CJS@acceptedname@fr{Accepté le} |
| 4692 |
\newcommand*\received[1]{\CJS@historytrue\DTMsavedate{received}{#1}} |
| 4693 |
\newcommand*\accepted[1]{\DTMsavedate{accepted}{#1}} |
| 4694 |
\newlist{CJS@historylist}{itemize*}{1} |
| 4695 |
\setlist[CJS@historylist]{% |
| 4696 |
mode=unboxed, |
| 4697 |
font=\sffamily, |
| 4698 |
itemjoin={{ --- }}, |
| 4699 |
after={}} |
| 4700 |
\newcommand*\CJS@history{% |
| 4701 |
\small\sffamily% |
| 4702 |
\begin{CJS@historylist} |
| 4703 |
\item[\iflanguage{french}{\CJS@receivedname@fr}{\CJS@receivedname@en}] |
| 4704 |
\DTMusedate{received}% |
| 4705 |
\DTMifsaveddate{accepted}{% |
| 4706 |
\item[\iflanguage{french}{\CJS@acceptedname@fr}{\CJS@acceptedname@en}] |
| 4707 |
\DTMusedate{accepted}}{\relax}% |
| 4708 |
\end{CJS@historylist}\par} |
| 4709 |
% \end{macrocode} |
| 4710 |
% \end{macro} |
| 4711 |
% |
| 4712 |
% \changes{1.1a}{2024-07-25}{Implementation: replace box registers |
| 4713 |
% \cs{@ne} and \cs{thr@@} by \cs{z@} and \cs{tw@}.} |
| 4714 |
% We also define a decorative element similar to the one used on the |
| 4715 |
% title page, only adapted for a single line content. To create a |
| 4716 |
% balanced element, we use the height of a letter with an ascender and |
| 4717 |
% the depth of the old-style number 4. |
| 4718 |
% \begin{macrocode} |
| 4719 |
\newsavebox\CJS@historyornament |
| 4720 |
\setbox\CJS@historyornament=\vbox{% |
| 4721 |
\setbox\z@=\vbox{\hbox{\firaoldstyle\small l4}} |
| 4722 |
\setbox\tw@\hbox{\vrule \@width1.5pt\@height\ht\z@\@depth\dp\z@} |
| 4723 |
\hbox{\textcolor{CJSpink}{\copy\tw@}\kern.75pt |
| 4724 |
\textcolor{CJSred}{\copy\tw@}\kern.75pt |
| 4725 |
\textcolor{CJSyellow}{\copy\tw@}\kern3pt}} |
| 4726 |
% \end{macrocode} |
| 4727 |
% |
| 4728 |
% Finally, the history information, when present, is printed at the |
| 4729 |
% end of the article. |
| 4730 |
% \begin{macrocode} |
| 4731 |
\def\CJS@historybox{ |
| 4732 |
\par\addvspace{2\baselineskip}\noindent% |
| 4733 |
\smash{\box\CJS@historyornament \CJS@history}\par% |
| 4734 |
\vspace*{40pt}} |
| 4735 |
\AtEndDocument{\ifCJS@journalinfo\ifCJS@history\CJS@historybox\fi\fi} |
| 4736 |
% \end{macrocode} |
| 4737 |
% \end{macro} |
| 4738 |
% |
| 4739 |
% \changes{1.1}{2024-06-26}{Implementation: define the new command |
| 4740 |
% \cs{specialack}.} |
| 4741 |
% \begin{macro}{\specialack} |
| 4742 |
% The command \cmd{\specialack} is the generic interface to give |
| 4743 |
% special acknowledgement on the title page. The command inserts its |
| 4744 |
% first argument in the list of authors, and its second argument at |
| 4745 |
% the bottom of the title page, with the licensing information. Each |
| 4746 |
% argument may be empty, in which case the corresponding information |
| 4747 |
% is not displayed. |
| 4748 |
% \begin{macrocode} |
| 4749 |
\def\CJS@specialackstatement{} |
| 4750 |
\newcommand*\specialack[2]{% |
| 4751 |
\ifstrempty{#1}{}{% |
| 4752 |
\author{#1\CJS@specialackmark}} |
| 4753 |
\ifstrempty{#2}{}{% |
| 4754 |
\CJS@specialacktrue |
| 4755 |
\renewcommand*\CJS@specialackstatement{\CJS@specialackmark\,#2\medskip\newline}}} |
| 4756 |
% \end{macrocode} |
| 4757 |
% \end{macro} |
| 4758 |
% |
| 4759 |
% \changes{1.1}{2024-06-26}{Implementation: define the new command |
| 4760 |
% \cs{specialackmark}.} |
| 4761 |
% \begin{macro}{\specialackmark} |
| 4762 |
% The command \cmd{\specialackmark} changes the footnote marker used |
| 4763 |
% by \cmd{\specialack} from its default definition. |
| 4764 |
% \begin{macrocode} |
| 4765 |
\def\CJS@specialackmark{\textsuperscript{\ensuremath{*}}} |
| 4766 |
\newcommand*\specialackmark[1]{% |
| 4767 |
\renewcommand*\CJS@specialackmark{#1}} |
| 4768 |
% \end{macrocode} |
| 4769 |
% \end{macro} |
| 4770 |
% |
| 4771 |
%</class> |
| 4772 |
% ^^A <<<<< End of the code of the class |
| 4773 |
% |
| 4774 |
% ^^A Change notes for the templates must appear before \Finale |
| 4775 |
% \changes{2.0}{2026-02-23}{Templates: delete the statements |
| 4776 |
% that the contents of the environments \texttt{acknowledgements} and |
| 4777 |
% \texttt{funding} are not displayed in \texttt{review} mode.} |
| 4778 |
% \changes{1.3}{2025-08-26}{Templates: add a statement for each |
| 4779 |
% of the environments \texttt{supplement}, \texttt{sharing}, |
| 4780 |
% \texttt{acknowledgements} and \texttt{funding} that their |
| 4781 |
% content is displayed by the command \cs{makebackmatter} (except, |
| 4782 |
% for the last two, in \texttt{review} mode).} |
| 4783 |
% \changes{1.3}{2025-09-09}{Templates: capitalize all instances of |
| 4784 |
% mandatory/obligatoire.} |
| 4785 |
% \changes{1.2}{2024-11-06}{Templates: enhance the templates to |
| 4786 |
% provide more comments and sample code for various structures |
| 4787 |
% commonly used in articles.} |
| 4788 |
% \changes{1.1}{2024-01-23}{Templates: revise the description of the |
| 4789 |
% \texttt{sharing} environment.} |
| 4790 |
% \changes{0.93}{2023-11-07}{Templates: fix a missing closing brace in |
| 4791 |
% \cs{author} commands.} |
| 4792 |
% \Finale |
| 4793 |
% |
| 4794 |
% \iffalse |
| 4795 |
% ^^A English and French templates |
| 4796 |
%<*template> |
| 4797 |
%<en>%% ARTICLE TEMPLATE FOR THE CANADIAN JOURNAL OF STATISTICS |
| 4798 |
%<fr>%% GABARIT D'ARTICLE POUR LA REVUE CANADIENNE DE STATISTIQUE |
| 4799 |
%% |
| 4800 |
%<en>%% Please refer to the CJS author guidelines for general writing |
| 4801 |
%<en>%% instructions, and to the documentation of the class cjs-rcs-article |
| 4802 |
%<en>%% for a detailed description of the class. |
| 4803 |
%<fr>%% Consultez les directives pour les auteurs de la RCS pour la |
| 4804 |
%<fr>%% rédaction générale et la documentation de la classe cjs-rcs-article |
| 4805 |
%<fr>%% pour une description détaillée de la classe. |
| 4806 |
%% |
| 4807 |
%<en>%% [Do not hesitate to delete the comments once read.] |
| 4808 |
%<fr>%% [N'hésitez pas à supprimer les commentaires après les avoir lus.] |
| 4809 |
%% |
| 4810 |
%<en>%% Class declaration for an article in English. Submit your manuscript |
| 4811 |
%<en>%% with the 'review' option. Remove the option to prepare the final |
| 4812 |
%<en>%% version accepted for publication. |
| 4813 |
%<fr>%% Déclaration de la classe pour un article en français. Vous devez |
| 4814 |
%<fr>%% soumettre votre manuscript avec l'option 'review'. Supprimez |
| 4815 |
%<fr>%% l'option seulement une fois que votre article aura été accepté pour |
| 4816 |
%<fr>%% publication. |
| 4817 |
%<en>\documentclass[french,english,review]{cjs-rcs-article} |
| 4818 |
%<fr>\documentclass[english,french,review]{cjs-rcs-article} |
| 4819 |
%<en> %% Reserved commands for the journal editors. Leave untouched |
| 4820 |
%<en> %% and commented out. |
| 4821 |
%<fr> %% Commandes réservées aux éditeurs de La revue. Laisser en |
| 4822 |
%<fr> %% commentaires sans les supprimer. |
| 4823 |
% \jvol{00} |
| 4824 |
% \jissue{00} |
| 4825 |
% \jyear{YYYY} |
| 4826 |
% \firstpage{1} |
| 4827 |
% \received{YYYY-MM-DD} |
| 4828 |
% \accepted{YYYY-MM-DD} |
| 4829 |
% \licence{} |
| 4830 |
|
| 4831 |
%<en> %% Load additional packages here. Avoid loading unnecessary |
| 4832 |
%<en> %% packages. |
| 4833 |
%<fr> %% Chargez ici les éventuels paquetages additionnels. Utilisez |
| 4834 |
%<fr> %% uniquement des paquetages absolument requis pour le manuscript. |
| 4835 |
% \usepackage{} |
| 4836 |
|
| 4837 |
%<en> %% Information for the title page and back matter. Replace the text |
| 4838 |
%<en> %% between < >. Delete the symbols < >. |
| 4839 |
%<fr> %% Informations de la page de titre et des parties annexes. |
| 4840 |
%<fr> %% Remplacez le texte entre < >. Supprimez les caractères < >. |
| 4841 |
%% |
| 4842 |
%<en> %% TITLE OF THE ARTICLE. The title should be concise and |
| 4843 |
%<en> %% descriptive; it should not exceed two lines. Insert a line break |
| 4844 |
%<en> %% manually in a long title using \\ (before determinants and |
| 4845 |
%<en> %% prepositions). If the full title does not fit in the running |
| 4846 |
%<en> %% head, provide a shorter version in the optional argument (between |
| 4847 |
%<en> %% the square brackets [ ]). |
| 4848 |
%<fr> %% TITRE DE L'ARTICLE. Utiliser un titre concis et descriptif; il ne |
| 4849 |
%<fr> %% doit pas excéder deux lignes. Insérez les changements de ligne |
| 4850 |
%<fr> %% manuellement avec \\ (avant les déterminants et prépositions). Si |
| 4851 |
%<fr> %% le titre est trop long pour l'entête, fournissez une version |
| 4852 |
%<fr> %% courte en argument optionnel (entre les crochets [ ]). |
| 4853 |
%<en> \title{<Title of the article>} |
| 4854 |
%<fr> \title{<Titre de l'article>} |
| 4855 |
%<en> % \title[Short version of the title]{Example of a long title \\ |
| 4856 |
%<en> % with manual line break} |
| 4857 |
%<fr> % \title[Version courte du titre]{Ceci est un exemple de long titre \\ |
| 4858 |
%<fr> % avec saut de ligne manuel} |
| 4859 |
|
| 4860 |
%<en> %% AUTHORS AND AFFILIATIONS. The identification of the authors uses |
| 4861 |
%<en> %% a series of pairs of commands \author and \affil, one per author. |
| 4862 |
%<en> %% Enter the name entirely in lowercase (except for leading capitals |
| 4863 |
%<en> %% and initials). The surname must be given inside \surname. Use the |
| 4864 |
%<en> %% optional argument to specify the ORCID iD, email address, and |
| 4865 |
%<en> %% corresponding author status of the author. |
| 4866 |
%<fr> %% AUTEURS ET AFFILIATIONS. L'identification des auteurs se fait |
| 4867 |
%<fr> %% par des paires de commandes \author et \affil, une par auteur. |
| 4868 |
%<fr> %% Saisissez le nom de l'auteur entièrement en minuscules (sauf pour |
| 4869 |
%<fr> %% les premières lettres et les initiales). Placez le nom (de |
| 4870 |
%<fr> %% famille) dans une commande \surname. L'argument optionnel permet |
| 4871 |
%<fr> %% d'indiquer l'identifiant ORCID de l'auteur, son adresse courriel |
| 4872 |
%<fr> %% et son statut d'auteur correspondant. |
| 4873 |
%<en> \author[orcid=<id>, email=<email>, corresponding] |
| 4874 |
%<en> {<Forename> \surname{<Surname>}} |
| 4875 |
%<en> \affil{<Department, University, City, Country>} |
| 4876 |
%<fr> \author[orcid=<id>, email=<courriel>, corresponding] |
| 4877 |
%<fr> {<Prénom> \surname{<Nom>}} |
| 4878 |
%<fr> \affil{<Département, Université, Ville, Pays>} |
| 4879 |
%<en> % \author[orcid=<id>, email=<email>] |
| 4880 |
%<en> % {<Forename> \surname{<Surname>}} |
| 4881 |
%<en> % \affil{<Department, University, City, Country>} |
| 4882 |
%<en> % \author[orcid=<id>, email=<email>] |
| 4883 |
%<en> % {<Forename> \surname{<Surname>}} |
| 4884 |
%<en> % \affil{<Department, University, City, Country>} |
| 4885 |
%<fr> % \author[orcid=<id>, email=<courriel>] |
| 4886 |
%<fr> % {<Prénom> \surname{<Nom>}} |
| 4887 |
%<fr> % \affil{<Département, Université, Ville, Pays>} |
| 4888 |
%<fr> % \author[orcid=<id>, email=<courriel>] |
| 4889 |
%<fr> % {<Prénom> \surname{<Nom>}} |
| 4890 |
%<fr> % \affil{<Département, Université, Ville, Pays>} |
| 4891 |
|
| 4892 |
%<en> %% (Optional - uncomment to use) If the list of authors does not fit |
| 4893 |
%<en> %% in the article header, use the command \runningauthor to provide |
| 4894 |
%<en> %% a shorter identification of the form "Surname et al.". |
| 4895 |
%<fr> %% (Optionnel - décommenter pour utiliser) Si la liste des auteurs |
| 4896 |
%<fr> %% est trop longue pour l'entête de l'article, utilisez la commande |
| 4897 |
%<fr> %% \runningauthor pour fournir une identification plus courte de la |
| 4898 |
%<fr> %% forme «Nom et collab.» |
| 4899 |
%<en> % \runningauthor{<Surname> et al.} |
| 4900 |
%<fr> % \runningauthor{<Nom> et collab.} |
| 4901 |
|
| 4902 |
%<en> %% ABSTRACTS. You must provide an English and a French abstract. |
| 4903 |
%<en> %% The order is not important; they will be positioned on the title |
| 4904 |
%<en> %% page automatically. |
| 4905 |
%<fr> %% RÉSUMÉS. Vous devez fournir un résumé en français et un résumé en |
| 4906 |
%<fr> %% anglais. L'ordre est sans importance; ils seront positionnés sur |
| 4907 |
%<fr> %% la page de titre automatiquement. |
| 4908 |
\begin{englishabstract} |
| 4909 |
<Insert your English abstract here. The abstract should be concise |
| 4910 |
(up to 20 lines long) and descriptive. Avoid symbols as much as |
| 4911 |
possible. Formulas are strongly discouraged, and citations should |
| 4912 |
be avoided.> |
| 4913 |
%<fr> [Nous fournirons un résumé en anglais pour un article en français |
| 4914 |
%<fr> aux auteurs qui ne sont pas en mesure de le rédiger eux-mêmes.] |
| 4915 |
\end{englishabstract} |
| 4916 |
|
| 4917 |
\begin{frenchabstract} |
| 4918 |
<Insérez le texte du résumé en français ici. Le résumé doit être |
| 4919 |
concis (20 lignes ou moins) et descriptif. Évitez autant que |
| 4920 |
possible les symboles. Les équations mathématiques sont fortement |
| 4921 |
déconseillées et les citations sont à éviter.> |
| 4922 |
%<en> [We will supply a French abstract for an article in English for |
| 4923 |
%<en> those authors who can't prepare it themselves.] |
| 4924 |
\end{frenchabstract} |
| 4925 |
|
| 4926 |
%<en> %% KEYWORDS. Provide a list of keywords in alphabetical order. |
| 4927 |
%<en> %% Capitalize only the first keyword. Do not use any punctuation. |
| 4928 |
%<fr> %% MOTS-CLÉS. Fournissez une liste de mots-clés en ordre |
| 4929 |
%<fr> %% alphabétique. Seul le premier mot-clé doit débuter par une |
| 4930 |
%<fr> %% majuscule. N'utilisez aucune ponctuation. |
| 4931 |
\begin{keywords} |
| 4932 |
%<en> \item <Keyword 1> |
| 4933 |
%<fr> \item <Mot-clé 1> |
| 4934 |
%<en> \item <keyword 2> |
| 4935 |
%<fr> \item <mot-clé 2> |
| 4936 |
%<en> \item <keyword 3> |
| 4937 |
%<fr> \item <mot-clé 3> |
| 4938 |
\end{keywords} |
| 4939 |
|
| 4940 |
%<en> %% MATHEMATICS SUBJECT CLASSIFICATION. Provide a MSC2020 subject |
| 4941 |
%<en> %% classification for the article (see https://msc2020.org). This is |
| 4942 |
%<en> %% usually split into primary and secondary keys. Separate keys by |
| 4943 |
%<en> %% commas, but do not use any other punctuation. |
| 4944 |
%<fr> %% CLASSIFICATION MATHÉMATIQUE. Fournissez la classification |
| 4945 |
%<fr> %% mathématique par matières de l'article selon le classement |
| 4946 |
%<fr> %% MSC2020 (https://msc2020.org). Celle-ci est habituellement |
| 4947 |
%<fr> %% divisée en niveaux primaire et secondaire. Séparez les matières |
| 4948 |
%<fr> %% par des virgules, sans aucune autre ponctuation. |
| 4949 |
\begin{classification} |
| 4950 |
%<en> \item[Primary] <key 1>, <key 2> |
| 4951 |
%<fr> \item[Primaire] <rubrique 1>, <rubrique 2> |
| 4952 |
%<en> \item[Secondary] <key 1>, <key 2> |
| 4953 |
%<fr> \item[Secondaire] <rubrique 1>, <rubrique 2> |
| 4954 |
\end{classification} |
| 4955 |
|
| 4956 |
%<en> %% SUPPLEMENTARY MATERIAL (MANDATORY if the article is accompanied |
| 4957 |
%<en> %% by supplementary material - comment out if unused). List material |
| 4958 |
%<en> %% available online. This material must be cited in the main |
| 4959 |
%<en> %% article. This content is displayed by the \makebackmatter |
| 4960 |
%<en> %% command. |
| 4961 |
%<fr> %% MATÉRIEL ADDITIONNEL (OBLIGATOIRE si l'article est accompagné de |
| 4962 |
%<fr> %% matériel additionnel - commenter si inutilisé). Fournissez la |
| 4963 |
%<fr> %% liste du matériel additionnel disponible en ligne. Ce matériel |
| 4964 |
%<fr> %% doit être cité dans l'article. Ce contenu est affiché par la |
| 4965 |
%<fr> %% commande \makebackmatter. |
| 4966 |
\begin{supplement} |
| 4967 |
%<en> <Briefly describe the supplementary material.> |
| 4968 |
%<fr> <Décrivez brièvement le matériel additionnel.> |
| 4969 |
\end{supplement} |
| 4970 |
|
| 4971 |
%<en> %% DATA SHARING (MANDATORY). In accordance with the Expect Data |
| 4972 |
%<en> %% Sharing editorial policy of Wiley, make a statement about the |
| 4973 |
%<en> %% availability or absence of shared data. Provide a permanent link |
| 4974 |
%<en> %% such as a DOI or URL. This content is displayed by the |
| 4975 |
%<en> %% \makebackmatter command. |
| 4976 |
%<fr> %% PARTAGE DES DONNÉES (OBLIGATOIRE). Conformément à la politique |
| 4977 |
%<fr> %% éditoriale «Expect Data Sharing» de Wiley, vous devez indiquer |
| 4978 |
%<fr> %% les conditions de partage des données de recherche, ou l'absence |
| 4979 |
%<fr> %% de celles-ci, le cas échéant. Fournir un lien permanent, comme un |
| 4980 |
%<fr> %% identificateur d'objets numériques (DOI) ou une adresse URL. Ce |
| 4981 |
%<fr> %% contenu est affiché par la commande \makebackmatter. |
| 4982 |
\begin{sharing} |
| 4983 |
%<en> <Insert the statement about the availability or absence of shared |
| 4984 |
%<en> data.> |
| 4985 |
%<fr> <Précisez les conditions de partage des données de recherche, ou |
| 4986 |
%<fr> encore leur absence, le cas échéant.> |
| 4987 |
\end{sharing} |
| 4988 |
|
| 4989 |
%<en> %% ACKNOWLEDGEMENTS (optional - comment out if unused). Place all |
| 4990 |
%<en> %% acknowledgements here. Avoid duplicating the contents of the |
| 4991 |
%<en> %% funding information, below. This content is displayed by the |
| 4992 |
%<en> %% \makebackmatter command. |
| 4993 |
%<fr> %% REMERCIEMENTS (optionnel - commenter si inutilisé). Inscrivez vos |
| 4994 |
%<fr> %% remerciements ici. Attention de ne pas répéter la rubrique de |
| 4995 |
%<fr> %% financement de la recherche, ci-dessous. Ce contenu est affiché |
| 4996 |
%<fr> %% par la commande \makebackmatter. |
| 4997 |
\begin{acknowledgements} |
| 4998 |
%<en> <Place all acknowledgements here.> |
| 4999 |
%<fr> <Insérez vos remerciements ici.> |
| 5000 |
\end{acknowledgements} |
| 5001 |
|
| 5002 |
%<en> %% FUNDING INFORMATION (optional - comment out if unused). Provide |
| 5003 |
%<en> %% any funding information as free form text. Do not abbreviate the |
| 5004 |
%<en> %% name of granting agencies. This content is displayed by the |
| 5005 |
%<en> %% \makebackmatter command. |
| 5006 |
%<fr> %% FINANCEMENT DE LA RECHERCHE (optionnel - commenter si inutilisé). |
| 5007 |
%<fr> %% Inscrivez les informations sur le financement de la recherche |
| 5008 |
%<fr> %% sous forme de texte libre. Indiquez le nom des agences de |
| 5009 |
%<fr> %% financement au long. Ce contenu est affiché par la commande |
| 5010 |
%<fr> %% \makebackmatter. |
| 5011 |
\begin{funding} |
| 5012 |
%<en> <Place your funding information here.> |
| 5013 |
%<fr> <Inscrivez les informations sur le financement ici.> |
| 5014 |
\end{funding} |
| 5015 |
|
| 5016 |
\begin{document} |
| 5017 |
|
| 5018 |
%<en>%% Title page (MANDATORY - do not delete the following line!) |
| 5019 |
%<fr>%% Page de titre (OBLIGATOIRE - ne supprimez pas la ligne suivante!) |
| 5020 |
%<en>\maketitle % typeset the title page |
| 5021 |
%<fr>\maketitle % composer la page de titre |
| 5022 |
|
| 5023 |
%<en>%% Numbered introduction (MANDATORY) |
| 5024 |
%<fr>%% Introduction numérotée (OBLIGATOIRE) |
| 5025 |
\section{Introduction} |
| 5026 |
%<en>\label{sec:introduction} % example of a section label |
| 5027 |
%<fr>\label{sec:introduction} % exemple d'étiquette de section |
| 5028 |
|
| 5029 |
%<en><Start the article by an introduction.> |
| 5030 |
%<fr><Débutez l'article par une introduction.> |
| 5031 |
|
| 5032 |
%<en>%% Additional sections |
| 5033 |
%<fr>%% Sections additionnelles |
| 5034 |
%<en>\section{<Section title>} |
| 5035 |
%<fr>\section{<Titre de section>} |
| 5036 |
|
| 5037 |
%<en><Use the LaTeX sectioning commands to divide the articles in sections, |
| 5038 |
%<en>subsections, subsubsections, etc. Write the titles in sentence style, |
| 5039 |
%<en>that is, with only a leading capital.> |
| 5040 |
%<fr><Utilisez les commandes LaTeX pour diviser en sections, sous-sections, |
| 5041 |
%<fr>sous-sous-sections, etc. Écrivez les titres avec uniquement une |
| 5042 |
%<fr>majuscule initiale.> |
| 5043 |
|
| 5044 |
%% >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> |
| 5045 |
%<en>%% This block contains sample code for various structures commonly |
| 5046 |
%<en>%% used in articles. Use at will, and delete anything you don't need. |
| 5047 |
%<fr>%% Ce bloc contient des exemples de déclarations pour diverses |
| 5048 |
%<fr>%% structures fréquemment employées dans des articles. Utilisez-les |
| 5049 |
%<fr>%% comme bon vous semble et supprimez ce qui est inutile. |
| 5050 |
%<en>\section{Sample code} |
| 5051 |
%<fr>\section{Exemples de déclarations} |
| 5052 |
|
| 5053 |
%<en>%% Cross-references. |
| 5054 |
%<fr>%% Références croisées. |
| 5055 |
%<en>Here are two examples of cross-references: first to |
| 5056 |
%<en>\autoref{sec:introduction}, second to equation~\eqref{eq:continuity}. |
| 5057 |
%<fr>Voici deux exemples de références croisées: d'abord à la |
| 5058 |
%<fr>\autoref{sec:introduction}, puis à l'équation~\eqref{eq:continuity}. |
| 5059 |
|
| 5060 |
%<en>%% Theorem-like constructs. See also the documentation of the package |
| 5061 |
%<en>%% amsthm. |
| 5062 |
%<fr>%% Environnements de type théorème. Consultez aussi la documentation |
| 5063 |
%<fr>%% du paquetage amsthm. |
| 5064 |
\begin{definition} |
| 5065 |
\label{def:cdf} |
| 5066 |
%<en> A distribution function $F$ of a real-valued random variable $X$ is |
| 5067 |
%<en> given, for all $x \in \Rset$, by $F(x) = \Pr(X \leq x)$. |
| 5068 |
%<fr> La fonction de répartition $F$ d'une variable aléatoire réelle $X$ |
| 5069 |
%<fr> est définie, pour tout $x \in \Rset$, comme $F(x) = \Pr(X \leq x)$. |
| 5070 |
\end{definition} |
| 5071 |
|
| 5072 |
\begin{theorem} |
| 5073 |
\label{thm:continuity} |
| 5074 |
%<en> Let $F$ be a distribution function of a real-valued random variable |
| 5075 |
%<en> as in \autoref{def:cdf}. Then $F$ is nondecreasing and continuous from |
| 5076 |
%<en> the right and satisfies |
| 5077 |
%<fr> Soit $F$ la fonction de répartition d'une variable aléatoire réelle |
| 5078 |
%<fr> tel qu'à la \autoref{def:cdf}. Alors $F$ est non décroissante, |
| 5079 |
%<fr> continue par la droite et elle satisfait |
| 5080 |
\begin{equation} |
| 5081 |
\label{eq:continuity} |
| 5082 |
\lim_{x \to -\infty} F(x) = 0, \quad \lim_{x \to \infty} F(x) = 1. |
| 5083 |
\end{equation} |
| 5084 |
\end{theorem} |
| 5085 |
|
| 5086 |
\begin{lemma} |
| 5087 |
\label{lem:continuity} |
| 5088 |
%<en> A technical lemma needed to prove \autoref{thm:continuity}. |
| 5089 |
%<fr> Un lemme qui permet de démontrer le \autoref{thm:continuity}. |
| 5090 |
\end{lemma} |
| 5091 |
|
| 5092 |
\begin{proof} |
| 5093 |
%<en> Here is the proof of \autoref{lem:continuity}. |
| 5094 |
%<fr> La démonstration du \autoref{lem:continuity}. |
| 5095 |
\end{proof} |
| 5096 |
|
| 5097 |
%<en>\begin{proof}[Proof of the continuity of $F$] |
| 5098 |
%<fr>\begin{proof}[Démonstration de la continuité de $F$] |
| 5099 |
%<en> Here is the proof of \autoref{thm:continuity}. |
| 5100 |
%<fr> Démonstration du \autoref{thm:continuity}. |
| 5101 |
\end{proof} |
| 5102 |
|
| 5103 |
\begin{corollary} |
| 5104 |
%<en> An important corollary to \autoref{thm:continuity}. |
| 5105 |
%<fr> Un corollaire important du \autoref{thm:continuity}. |
| 5106 |
\end{corollary} |
| 5107 |
|
| 5108 |
\begin{proposition} |
| 5109 |
\label{prop:foobar} |
| 5110 |
%<en> A result of lesser importance can be formulated as a proposition. |
| 5111 |
%<fr> Un résultat de moindre importance peut être présenté sous forme de |
| 5112 |
%<fr> proposition. |
| 5113 |
\end{proposition} |
| 5114 |
|
| 5115 |
%<en>\begin{algorithm}[Euclid's algorithm] |
| 5116 |
%<fr>\begin{algorithm}[Algorithme d'Euclide] |
| 5117 |
\label{algo:euclid} |
| 5118 |
%<en> Find the greatest common divisor of two positive integers $m$ |
| 5119 |
%<en> and $n$ with, without loss of generality, $n < m$. |
| 5120 |
%<en> \begin{enumerate} |
| 5121 |
%<en> \item Divide $m$ by $n$ et let $r$ be the remainder. (We will have |
| 5122 |
%<en> $0 \leq r < n$.) |
| 5123 |
%<en> \item If $r = 0$, the algorithm terminates, the answer is $n$. |
| 5124 |
%<en> \item Set $m \leftarrow n$, $n \leftarrow r$, ang go back to step 1. |
| 5125 |
%<en> \qed |
| 5126 |
%<en> \end{enumerate} |
| 5127 |
%<fr> Calculer le plus grand commun diviseur de deux entiers positifs $m$ |
| 5128 |
%<fr> et $n$ avec, sans perte de généralité, $n < m$. |
| 5129 |
%<fr> \begin{enumerate} |
| 5130 |
%<fr> \item Diviser $m$ par $n$ et poser $r$ égal au reste de la division. |
| 5131 |
%<fr> (Nous avons alors $0 \leq r < n$.) |
| 5132 |
%<fr> \item Si $r = 0$, retourner la valeur $n$. |
| 5133 |
%<fr> \item Poser $m \leftarrow n$, $n \leftarrow r$, puis retourner à |
| 5134 |
%<fr> l'étape 1. \qed |
| 5135 |
%<fr> \end{enumerate} |
| 5136 |
\end{algorithm} |
| 5137 |
|
| 5138 |
\begin{remark} |
| 5139 |
%<en> This version of \autoref{algo:euclid} is adapted from Knuth, D. E., |
| 5140 |
%<en> \emph{The Art of Computer Programming}, vol.~1, 1997. |
| 5141 |
%<fr> Cette version de \autoref{algo:euclid} est adaptée de Knuth, D. E., |
| 5142 |
%<fr> \emph{The Art of Computer Programming}, vol.~1, 1997. |
| 5143 |
\end{remark} |
| 5144 |
|
| 5145 |
%<en>%% Figure. The included image here comes from the package mwe and |
| 5146 |
%<en>%% should be available on your system. |
| 5147 |
%<fr>%% Figure. L'image est tirée du paquetage mwe; elle devrait être |
| 5148 |
%<fr>%% disponible sur votre système. |
| 5149 |
\begin{figure} |
| 5150 |
\centering |
| 5151 |
\includegraphics[width=0.4\linewidth]{example-grid-100x100pt} |
| 5152 |
%<en> \caption{A sample figure} |
| 5153 |
%<fr> \caption{Un exemple de figure} |
| 5154 |
\label{fig:example-grid} |
| 5155 |
\end{figure} |
| 5156 |
|
| 5157 |
%<en>This is a reference to \autoref{fig:example-grid}. |
| 5158 |
%<fr>Allons-y d'une référence à la \autoref{fig:example-grid}. |
| 5159 |
|
| 5160 |
%<en>%% Table. The command \np (shortcut for \numprint) from the package |
| 5161 |
%<en>%% numprint automatically inserts the correct language-dependent |
| 5162 |
%<en>%% separator every three digits. If you need table footnotes, use the |
| 5163 |
%<en>%% package threeparttable (as recommended in the TeX FAQ entry |
| 5164 |
%<en>%% https://texfaq.org/FAQ-footintab). |
| 5165 |
%<fr>%% Tableau. La commande \np (raccourci de \numprint) du paquetage |
| 5166 |
%<fr>%% numprint ajoute automatiquement le séparateur approprié selon la |
| 5167 |
%<fr>%% langue à tous les groupes de trois chiffres. Le séparateur décimal |
| 5168 |
%<fr>%% en français est la virgule. Si vous devez inscrire des notes |
| 5169 |
%<fr>%% de contenu dans un tableau, utilisez le paquetage |
| 5170 |
%<fr>%% threeparttable (tel que recommandé dans l'entrée de la Foire |
| 5171 |
%<fr>%% aux questions de TeX https://texfaq.org/FAQ-footintab). |
| 5172 |
\begin{table} |
| 5173 |
%<en> \caption{Top 10 countries for gross national publication |
| 5174 |
%<en> (\textsc{gnp}) of research in statistics. The ranks are based on |
| 5175 |
%<en> variable \textsc{pag}$^{\star}$.} |
| 5176 |
%<fr> \caption{Liste des dix pays ayant la plus grande publication |
| 5177 |
%<fr> intérieure brute (\textsc{gnp}) de recherche en statistique. Le |
| 5178 |
%<fr> classement est effectué selon la variable \textsc{pag}$^{\star}$.} |
| 5179 |
\label{tab:gnp} |
| 5180 |
\centering |
| 5181 |
\begin{tabular}{rlrrrrrr} |
| 5182 |
\toprule |
| 5183 |
%<en> Rank & Country & \textsc{pag}$^{\star}$ & \textsc{pag} |
| 5184 |
%<fr> Rang & Pays & \textsc{pag}$^{\star}$ & \textsc{pag} |
| 5185 |
& \textsc{art}$^{\star}$ & \textsc{art} \\ |
| 5186 |
\midrule |
| 5187 |
%<en> 1 & United States & \np{109338} & \np{60369} & \np{7240} & \np{4061} \\ |
| 5188 |
%<en> 2 & United Kingdom & \np{ 12597} & \np{ 7504} & \np{ 884} & \np{ 538} \\ |
| 5189 |
%<en> 3 & Canada & \np{ 12407} & \np{ 6837} & \np{ 909} & \np{ 516} \\ |
| 5190 |
%<en> 4 & Australia & \np{ 7872} & \np{ 4261} & \np{ 578} & \np{ 323} \\ |
| 5191 |
%<en> 5 & Germany & \np{ 6782} & \np{ 4500} & \np{ 456} & \np{ 306} \\ |
| 5192 |
%<en> 6 & France & \np{ 3647} & \np{ 1843} & \np{ 261} & \np{ 129} \\ |
| 5193 |
%<en> 7 & Japan & \np{ 2865} & \np{ 1880} & \np{ 241} & \np{ 163} \\ |
| 5194 |
%<en> 8 & Netherlands & \np{ 2864} & \np{ 1702} & \np{ 191} & \np{ 116} \\ |
| 5195 |
%<en> 9 & India & \np{ 2559} & \np{ 1395} & \np{ 275} & \np{ 151} \\ |
| 5196 |
%<en> 10 & Israel & \np{ 2097} & \np{ 1160} & \np{ 148} & \np{ 83} \\ |
| 5197 |
%<fr> 1 & États-Unis & \np{109338} & \np{60369} & \np{7240} & \np{4061} \\ |
| 5198 |
%<fr> 2 & Royaume-Uni & \np{ 12597} & \np{ 7504} & \np{ 884} & \np{ 538} \\ |
| 5199 |
%<fr> 4 & Australie & \np{ 7872} & \np{ 4261} & \np{ 578} & \np{ 323} \\ |
| 5200 |
%<fr> 5 & Allemagne & \np{ 6782} & \np{ 4500} & \np{ 456} & \np{ 306} \\ |
| 5201 |
%<fr> 7 & Japon & \np{ 2865} & \np{ 1880} & \np{ 241} & \np{ 163} \\ |
| 5202 |
%<fr> 8 & Pays-Bas & \np{ 2864} & \np{ 1702} & \np{ 191} & \np{ 116} \\ |
| 5203 |
%<fr> 9 & Inde & \np{ 2559} & \np{ 1395} & \np{ 275} & \np{ 151} \\ |
| 5204 |
%<fr> 10 & Israël & \np{ 2097} & \np{ 1160} & \np{ 148} & \np{ 83} \\ |
| 5205 |
\bottomrule |
| 5206 |
\end{tabular} |
| 5207 |
\end{table} |
| 5208 |
|
| 5209 |
%<en>This is a reference to \autoref{tab:gnp}. |
| 5210 |
%<fr>Voici une référence au \autoref{tab:gnp}. |
| 5211 |
%% <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< |
| 5212 |
|
| 5213 |
%% Conclusion (optional - comment out if unused) |
| 5214 |
\section{Conclusion} |
| 5215 |
|
| 5216 |
%<en><You may end your article with a brief conclusion, but only if it |
| 5217 |
%<en>contains new material. There is no need to reiterate the content of |
| 5218 |
%<en>your paper.> |
| 5219 |
%<fr><Vous pouvez terminer votre article avec une conclusion dans la mesure |
| 5220 |
%<fr>où celle-ci propose quelque chose de nouveau. Il est inutile d'inclure |
| 5221 |
%<fr>une conclusion qui ne fait que répéter le contenu de l'article.> |
| 5222 |
|
| 5223 |
%<en>%% Back matter (MANDATORY - do not delete the following line!) |
| 5224 |
%<fr>%% Parties annexes (OBLIGATOIRE - ne supprimez pas la ligne suivante!) |
| 5225 |
%<en>\makebackmatter % typeset the back matter |
| 5226 |
%<fr>\makebackmatter % composer les parties annexes |
| 5227 |
|
| 5228 |
%<en>%% Appendices (optional - comment out if unused) |
| 5229 |
%<fr>%% Annexes (optionnel - commenter si inutilisé) |
| 5230 |
%<en>\appendix % start of appendices |
| 5231 |
%<fr>\appendix % début des annexes |
| 5232 |
|
| 5233 |
%<en>\section{<Appendix title>} |
| 5234 |
%<fr>\section{<Titre de l'annexe>} |
| 5235 |
|
| 5236 |
%<en><Appendices are reserved for proofs and longer mathematical |
| 5237 |
%<en>arguments. All appendices must be cited in the main article.> |
| 5238 |
%<fr><Les annexes sont dévolues aux démontrations de théorèmes ou autres |
| 5239 |
%<fr>longs développements mathématiques. Vous devez citer les annexes dans |
| 5240 |
%<fr>l'article.> |
| 5241 |
|
| 5242 |
%<en>%% List of references. Cite using the commands of the natbib package. |
| 5243 |
%<en>%% Insert the filenames of the bibliography files (.bib files) inside |
| 5244 |
%<en>%% the command \bibliography, without the extension and separated by |
| 5245 |
%<en>%% commas. |
| 5246 |
%<fr>%% Liste des références. Citez avec les commandes du paquetage natbib. |
| 5247 |
%<fr>%% Insérez les noms des bases de données bibliographiques (fichiers |
| 5248 |
%<fr>%% .bib) dans la commande \bibliography, sans extension et séparés |
| 5249 |
%<fr>%% par des virgules. |
| 5250 |
\bibliography{} |
| 5251 |
|
| 5252 |
\end{document} |
| 5253 |
%</template> |
| 5254 |
% \fi |