|
| 1 | +\documentclass[$journal$]{imsart} |
| 2 | +%% LaTeX 2e style file for the processing of LaTeX2e files |
| 3 | +%% of the following IMS/BS journals: |
| 4 | +%% |
| 5 | +%% - The Annals of Probability |
| 6 | +%% - The Annals of Applied Probability |
| 7 | +%% - The Annals of Statistics |
| 8 | +%% - The Annals of Applied Statistics |
| 9 | +%% - Statistical Science |
| 10 | +%% - Probability Surveys |
| 11 | +%% - Statistics Surveys |
| 12 | +%% - Electronic Journal of Statistics |
| 13 | +%% - Bernoulli |
| 14 | +%% - Annales de l'Institut Henri Poincar\'e - Probabilit\'es et Statistiques |
| 15 | +%% - Brazilian Journal of Probability and Statistics |
| 16 | +%% - Bayesian Analysis |
| 17 | +%% |
| 18 | +%% - Institute of Mathematical Statistics, U.S.A. |
| 19 | +%% - Bernoulli Society |
| 20 | +%% - Institut Henry Poincare |
| 21 | +%% - Brazilian Statistical Association |
| 22 | +%% - International Society for Bayesian Analysis |
| 23 | +%% |
| 24 | +%% Macros written by Vytas Statulevicius, VTeX, Lithuania |
| 25 | +%% Maintained by TeX group members, VTeX, Lithuania |
| 26 | +%% for Institute of Mathematical Statistics, U.S.A. |
| 27 | +%% Please submit bugs or your comments to [email protected] |
| 28 | +%% |
| 29 | +%% The original distribution is located at: |
| 30 | +%% https://www.e-publications.org/ims/support |
| 31 | + |
| 32 | +\RequirePackage{amsthm,amsmath,amsfonts,amssymb} |
| 33 | +\RequirePackage[authoryear]{natbib} |
| 34 | +\RequirePackage[colorlinks,citecolor=blue,urlcolor=blue]{hyperref} |
| 35 | +\RequirePackage{graphicx} |
| 36 | + |
| 37 | +% Added package |
| 38 | +\usepackage[T1]{fontenc} |
| 39 | +\usepackage[english]{babel} |
| 40 | + |
| 41 | +% Garantees bookdown compilation |
| 42 | +%\usepackage{lmodern} |
| 43 | + |
| 44 | +\makeatletter |
| 45 | +\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi} |
| 46 | +\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi} |
| 47 | +\makeatother |
| 48 | +% Scale images if necessary, so that they will not overflow the page |
| 49 | +% margins by default, and it is still possible to overwrite the defaults |
| 50 | +% using explicit options in \includegraphics[width, height, ...]{} |
| 51 | +\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio} |
| 52 | +% Set default figure placement to htbp |
| 53 | +\makeatletter |
| 54 | +\def\fps@figure{htbp} |
| 55 | +\makeatother |
| 56 | +\setlength{\emergencystretch}{3em} % prevent overfull lines |
| 57 | +\providecommand{\tightlist}{% |
| 58 | + \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} |
| 59 | + |
| 60 | +% alternative version to the shaded problem |
| 61 | +\makeatletter |
| 62 | +\@ifundefined{Shaded}{ |
| 63 | +}{\renewenvironment{Shaded}{\begin{kframe}}{\end{kframe}}} |
| 64 | +\makeatother |
| 65 | + |
| 66 | +% avoid conflict of pandoc parser and imsart package |
| 67 | +\newcommand{\email}[1]{#1} |
| 68 | + |
| 69 | + |
| 70 | +\startlocaldefs |
| 71 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 72 | +% %% |
| 73 | +% Uncomment next line to change %% |
| 74 | +% the type of equation numbering %% |
| 75 | +% %% |
| 76 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 77 | +\numberwithin{equation}{section} |
| 78 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 79 | +% %% |
| 80 | +% For Axiom, Claim, Corollary, Hypothezis, %% |
| 81 | +% Lemma, Theorem, Proposition %% |
| 82 | +% use \theoremstyle{plain} %% |
| 83 | +% %% |
| 84 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 85 | +\theoremstyle{plain} |
| 86 | +\newtheorem{axiom}{Axiom} |
| 87 | +\newtheorem{claim}[axiom]{Claim} |
| 88 | +\newtheorem{theorem}{Theorem}[section] |
| 89 | +\newtheorem{lemma}[theorem]{Lemma} |
| 90 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 91 | +% %% |
| 92 | +% For Assumption, Definition, Example, %% |
| 93 | +% Notation, Property, Remark, Fact %% |
| 94 | +% use \theoremstyle{remark} %% |
| 95 | +% %% |
| 96 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 97 | +\theoremstyle{remark} |
| 98 | +\newtheorem{definition}[theorem]{Definition} |
| 99 | +\newtheorem*{example}{Example} |
| 100 | +\newtheorem*{fact}{Fact} |
| 101 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 102 | +% Please put your definitions here: %% |
| 103 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 104 | +\endlocaldefs |
| 105 | + |
| 106 | +% pandoc header |
| 107 | +$for(header-includes)$ |
| 108 | +$header-includes$ |
| 109 | +$endfor$ |
| 110 | + |
| 111 | +\begin{document} |
| 112 | +\begin{frontmatter} |
| 113 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 114 | +%% %% |
| 115 | +%% Enter the title of your article here %% |
| 116 | +%% %% |
| 117 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 118 | +\title{$title$$if(thanks)$$for(thanks)$\thanksref{$thanks.ref$}$endfor$$endif$} |
| 119 | +%\title{A sample article title with some additional note\thanksref{T1}} |
| 120 | +\runtitle{$runtitle$} |
| 121 | +%\thankstext{T1}{A sample of additional note to the title.} |
| 122 | + |
| 123 | +$if(thanks)$ |
| 124 | +$for(thanks)$ |
| 125 | +\thankstext{$thanks.ref$}{$thanks.text$}$sep$ |
| 126 | +$endfor$ |
| 127 | +$endif$ |
| 128 | + |
| 129 | + |
| 130 | +\begin{aug} |
| 131 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 132 | +%%Only one address is permitted per author. %% |
| 133 | +%%Only division, organization and e-mail is %% |
| 134 | +%%included in the address. %% |
| 135 | +%%Additional information can be included in %% |
| 136 | +%%the Acknowledgments section if necessary. %% |
| 137 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 138 | + |
| 139 | +%% Example: |
| 140 | +%%\author[A]{\fnms{First} \snm{Author}\ead[label=e1]{[email protected]}}, |
| 141 | +%%\author[B]{\fnms{Second} \snm{Author}\ead[label=e2,mark]{[email protected]}} |
| 142 | +%%\and |
| 143 | +%%\author[B]{\fnms{Third} \snm{Author}\ead[label=e3,mark]{[email protected]}} |
| 144 | + |
| 145 | +$for(author)$ |
| 146 | +\author[$author.addressLabel$]{\fnms{$author.name$} \snm{$author.surname$} |
| 147 | + \ead[label=$author.label$]{$author.email$}} |
| 148 | + $if(author.sepNext)$$author.sepNext$$endif$ |
| 149 | +$endfor$ |
| 150 | + |
| 151 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 152 | +%% Addresses %% |
| 153 | +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 154 | +%% Example: |
| 155 | +%%\address[B]{Department, |
| 156 | +%%University or Company Name, |
| 157 | +%%\printead{e2,e3}} |
| 158 | +$for(affiliation)$ |
| 159 | +\address[$affiliation.label$]{$affiliation.name$, |
| 160 | + \printead{$affiliation.authorsLabels$}} |
| 161 | +$sep$ |
| 162 | +$endfor$ |
| 163 | +\end{aug} |
| 164 | + |
| 165 | +\begin{abstract} |
| 166 | +$abstract$ |
| 167 | +\end{abstract} |
| 168 | + |
| 169 | +\begin{keyword} |
| 170 | +$for(keywords)$ |
| 171 | +\kwd{$keywords$} |
| 172 | +$sep$ |
| 173 | +$endfor$ |
| 174 | +\end{keyword} |
| 175 | + |
| 176 | +\end{frontmatter} |
| 177 | + |
| 178 | +$if(toc)$ |
| 179 | +\tableofcontents |
| 180 | +$endif$ |
| 181 | + |
| 182 | +$body$ |
| 183 | + |
| 184 | +$if(bibliography)$ |
| 185 | +$if(biblio-style)$ |
| 186 | +\bibliographystyle{$biblio-style$} |
| 187 | +$endif$ |
| 188 | +\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$} |
| 189 | +$endif$ |
| 190 | + |
| 191 | +$for(include-after)$ |
| 192 | +$include-after$ |
| 193 | + |
| 194 | +$endfor$ |
| 195 | + |
| 196 | +\end{document} |
0 commit comments