Skip to content

Commit d010d67

Browse files
committed
- keyword punctuation
- automated punctutation between the authors
1 parent 2a475ca commit d010d67

4 files changed

Lines changed: 63 additions & 25 deletions

File tree

aop-sample.pdf

-2 Bytes
Binary file not shown.

aop-sample.tex

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@
4848

4949
\begin{frontmatter}
5050
\title{A sample article title}
51-
%\title{A sample article title with some additional note\thanksref{t1}}
5251
\runtitle{A sample running head title}
53-
%\thankstext{T1}{A sample additional note to the title.}
5452

5553
\begin{aug}
5654
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -64,9 +62,8 @@
6462
%% ORCID can be inserted by command: %%
6563
%% \orcid{0000-0000-0000-0000} %%
6664
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
67-
\author[A]{\fnms{First}~\snm{Author} \thanks{[\textbf{Corresponding author indication should be put in the Acknowledgment section if necessary.}]}\ead[label=e1]{first@somewhere.com}},
65+
\author[A]{\fnms{First}~\snm{Author} \thanks{[\textbf{Corresponding author indication should be put in the Acknowledgment section if necessary.}]}\ead[label=e1]{first@somewhere.com}}
6866
\author[B]{\fnms{Second}~\snm{Author}\ead[label=e2]{second@somewhere.com}\orcid{0000-0000-0000-0000}}
69-
\and
7067
\author[B]{\fnms{Third}~\snm{Author}\ead[label=e3]{third@somewhere.com}}
7168
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7269
%% Addresses %%

aop-template.tex

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@
6767
%% %%
6868
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6969
\title{???}
70-
%\title{A sample article title with some additional note\thanksref{T1}}
7170
\runtitle{???}
72-
%\thankstext{T1}{A sample of additional note to the title.}
7371

7472
\begin{aug}
7573
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -83,9 +81,8 @@
8381
%% ORCID can be inserted by command: %%
8482
%% \orcid{0000-0000-0000-0000} %%
8583
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
86-
\author[A]{\fnms{???}~\snm{???}\ead[label=e1]{???@???}},
84+
\author[A]{\fnms{???}~\snm{???}\ead[label=e1]{???@???}}
8785
\author[B]{\fnms{???}~\snm{???}\ead[label=e2]{???@???}}
88-
\and
8986
\author[B]{\fnms{???}~\snm{???}\ead[label=e3]{???@???}}
9087
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9188
%% Addresses %%

imsart.sty

Lines changed: 61 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
% Requires Latex2e, ver.2000.06
6666
%
6767
\def\imsfmt@name{imsart}
68-
\def\imsfmt@version{2025/07/23}
68+
\def\imsfmt@version{2026/03/10}
6969
%
7070
\ProvidesFile{imsart.sty}[\imsfmt@version\space IMS article style]
7171
%
@@ -253,6 +253,7 @@
253253
\@updated@thanksreftrue
254254
\@load@amsthmtrue
255255
\@load@xr@or@xr@hypertrue
256+
\@author@sep@by@numbertrue
256257
}
257258
%
258259
\DeclareOption{aop}{%
@@ -271,6 +272,7 @@
271272
\@updated@thanksreftrue
272273
\@load@amsthmtrue
273274
\@load@xr@or@xr@hypertrue
275+
\@author@sep@by@numbertrue
274276
}
275277
%
276278
\DeclareOption{aos}{%
@@ -289,6 +291,7 @@
289291
\@updated@thanksreftrue
290292
\@load@amsthmtrue
291293
\@load@xr@or@xr@hypertrue
294+
\@author@sep@by@numbertrue
292295
}
293296
%
294297
\DeclareOption{aoas}{%
@@ -307,6 +310,7 @@
307310
\@updated@thanksreftrue
308311
\@load@amsthmtrue
309312
\@load@xr@or@xr@hypertrue
313+
\@author@sep@by@numbertrue
310314
\AtBeginDocument{%
311315
\@ifpackagewith{natbib}{numbers}{%
312316
\@latex@error{Only author-year citations are allowed!
@@ -324,10 +328,12 @@
324328
\input{leqno.clo}% formula numbers at left
325329
\@amsmath@leqnotrue
326330
\@stslayouttrue
331+
\@autosecdottrue
327332
\@twocolumntrue
328333
\@print@bid@doitrue
329334
\@load@amsthmtrue
330335
\@load@xr@or@xr@hypertrue
336+
\@author@sep@by@numbertrue
331337
\AtEndPreamble{\if@twocolumn\set@page@layout{528.62625pt}{702.75pt}\fi}%
332338
}
333339
%
@@ -347,6 +353,7 @@
347353
\@load@natbibtrue
348354
\@imsart@showframetrue
349355
\@load@xr@or@xr@hypertrue
356+
\@author@sep@by@numbertrue
350357
}
351358
%
352359
\DeclareOption{aihp}{%
@@ -359,10 +366,12 @@
359366
\input{leqno.clo}% formula numbers at left
360367
\@amsmath@leqnotrue
361368
\@aihplayouttrue
369+
\@autosecdottrue
362370
\@updated@thanksreftrue
363371
\@print@bid@doitrue
364372
\@load@amsthmtrue
365373
\@load@xr@or@xr@hypertrue
374+
\@author@sep@by@numbertrue
366375
\AtBeginDocument{%
367376
\@ifpackagewith{natbib}{authoryear}{%
368377
\@latex@error{Only numerical citations are allowed!
@@ -380,10 +389,12 @@
380389
\@historyasfootnotetrue
381390
\@keywordsasfootnotetrue
382391
\@bjpslayouttrue
392+
\@autosecdottrue
383393
\@updated@thanksreftrue
384394
\@print@bid@doitrue
385395
\@load@amsthmtrue
386396
\@load@xr@or@xr@hypertrue
397+
\@author@sep@by@numbertrue
387398
\AtBeginDocument{%
388399
\@ifpackagewith{natbib}{numbers}{%
389400
\@latex@error{Only author-year citations are allowed!
@@ -473,6 +484,8 @@
473484
\imsart@preprint@settings
474485
}
475486
%
487+
\newif\if@author@sep@by@number \@author@sep@by@numberfalse
488+
%
476489
% Initiate some info:
477490
\def\journal@name{}
478491
\def\journal@url{}
@@ -3021,6 +3034,13 @@
30213034
\belowdisplayskip=\abovedisplayskip
30223035
}
30233036
\flushbottom
3037+
\ifnum\jobstart@date@info>20250903\relax
3038+
\AtBeginDocument{%
3039+
\ifdefined\noaccents@
3040+
\noaccents@
3041+
\fi
3042+
}
3043+
\fi
30243044
%
30253045
\fi % end if@balayout
30263046
%
@@ -3274,6 +3294,10 @@
32743294
}
32753295
\fi
32763296
%
3297+
\setpkgattr{keyword}{MSC}{\ims@href{\msc@url}{MSC2020 subject classifications}.}
3298+
\setpkgattr{keyword}{MSC2020}{\ims@href{\msc@url}{MSC2020 subject classifications}.}
3299+
\setpkgattr{keyword}{KWD}{Keywords and phrases.}
3300+
%
32773301
\def\volume#1{\gdef\@volume{Vol. #1, }}
32783302
\def\issue#1{\gdef\@issue{No. #1, }}
32793303
\def\pubyear#1{\gdef\@pubyear{#1,}\gdef\@copyrightyear{#1 }}
@@ -3701,21 +3725,6 @@
37013725
\tableofcontents@fmt
37023726
}
37033727
%
3704-
\AtBeginDocument{%
3705-
\def\author@sep@by@number#1{%
3706-
\@tempcntb=\author@num
3707-
\advance\@tempcntb by \m@ne
3708-
\ifnum#1=\@tempcntb
3709-
\unskip\unkern\ \and
3710-
\else
3711-
\ifnum#1=\author@num
3712-
\else
3713-
\unskip\unkern,
3714-
\fi
3715-
\fi
3716-
\ignorespaces
3717-
}%
3718-
}
37193728
% invoke \printhistory at end of document:
37203729
\let\old@enddocument\enddocument
37213730
\def\enddocument{\history@fmt\old@enddocument}
@@ -3884,6 +3893,7 @@
38843893
\setpkgattr{keywordname}{size}{\itshape}
38853894
\setpkgattr{thebibliography}{size}{\footnotesize}
38863895
\let\inits@size\@gobble
3896+
\setcounter{secnumdepth}{5}
38873897
\setcounter{tocdepth}{6}
38883898
%
38893899
\def\put@fmt@data{%
@@ -3897,8 +3907,9 @@
38973907
\tableofcontents@fmt
38983908
}
38993909
%
3910+
\def\sep{\unskip\string; }
39003911
\setpkgattr{keyword}{KWD}{Keywords:}
3901-
\setpkgattr{keyword}{MSC2010}{MSC:}
3912+
\setpkgattr{keyword}{MSC}{\ims@href{\msc@url}{MSC2020 subject classifications}:}
39023913
\setpkgattr{keyword}{postfix}{\unskip}
39033914
\setpkgattr{email}{text}{}
39043915
\setpkgattr{url}{text}{}
@@ -4054,6 +4065,7 @@
40544065
\setpkgattr{email}{text}{}
40554066
\setpkgattr{url}{text}{}
40564067
\setpkgattr{fullurl}{text}{}
4068+
\setcounter{secnumdepth}{5}
40574069
\setcounter{tocdepth}{6}
40584070
\def\thethanks{\@arabic\c@thanks}
40594071
%
@@ -4682,6 +4694,20 @@
46824694
\everydisplay=\expandafter{\the\everydisplay\set@pre@matrix@hook}%
46834695
\fi
46844696
\fi
4697+
\ifnum\jobstart@date@info>20250824\relax
4698+
\ifdefined\noaccents@
4699+
\noaccents@
4700+
\fi
4701+
\fi
4702+
\ifnum\jobstart@date@info>20250903\relax
4703+
\if@ejs@ps@ss@layout
4704+
\AtBeginDocument{%
4705+
\ifdefined\noaccents@
4706+
\noaccents@
4707+
\fi
4708+
}
4709+
\fi
4710+
\fi
46854711
%
46864712
\if@imsart@seceqn
46874713
\renewcommand{\theequation}{\thesection.\arabic{equation}}
@@ -5537,6 +5563,24 @@
55375563
}
55385564
\fi
55395565
%
5566+
\if@author@sep@by@number
5567+
\AtBeginDocument{%
5568+
\def\author@sep@by@number#1{%
5569+
\@tempcntb=\author@num
5570+
\advance\@tempcntb by \m@ne
5571+
\ifnum#1=\@tempcntb
5572+
\unskip\unkern\ \and
5573+
\else
5574+
\ifnum#1=\author@num
5575+
\else
5576+
\unskip\unkern,
5577+
\fi
5578+
\fi
5579+
\ignorespaces
5580+
}%
5581+
}
5582+
\fi
5583+
%
55405584
% INITIALIZATION
55415585
%
55425586
% Read local configuration file (if exist):

0 commit comments

Comments
 (0)