diff options
author | Karl Berry <karl@freefriends.org> | 2019-07-18 20:33:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-07-18 20:33:40 +0000 |
commit | dcbd5c7d9a011c8fb1c9eb075e18534ffae61a5e (patch) | |
tree | 6f68d9440a736620ba4c298d68f66aa0b084c5d3 /Master/texmf-dist/tex/latex/cmpj/cmpj2.sty | |
parent | 76280ae18f7f0b97df2db51a55b43a649f40a4c1 (diff) |
cmpj (18jul19)
git-svn-id: svn://tug.org/texlive/trunk@51661 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cmpj/cmpj2.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/cmpj/cmpj2.sty | 52 |
1 files changed, 34 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/cmpj/cmpj2.sty b/Master/texmf-dist/tex/latex/cmpj/cmpj2.sty index ccbd9cede8b..94531994264 100644 --- a/Master/texmf-dist/tex/latex/cmpj/cmpj2.sty +++ b/Master/texmf-dist/tex/latex/cmpj/cmpj2.sty @@ -7,9 +7,9 @@ %%% http://www.icmp.lviv.ua/journal/ %%% %%% using LaTeX2e %%% %%% %%% -%%% Last time modified: May 8, 2017 %%% +%%% Last time modified: July 17, 2019 %%% %%% %%% -%%% Copyright (C) 2013 by the Institute for Condensed Matter Physics %%% +%%% Copyright (C) 2019 by the Institute for Condensed Matter Physics %%% %%% of the National Academy of Sciences of Ukraine %%% %%% all rights reserved. %%% %%% %%% @@ -22,11 +22,11 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{cmpj2} - [2017/05/08 v2.07 + [2019/07/17 v2.08 The Condensed Matter Physics journal package] \def\filename{cmpj2.sty} -\def\fileversion{2.07} -\def\filedate{2017/05/08} +\def\fileversion{2.08} +\def\filedate{2019/07/17} \immediate\write32{This is '\filename' v\fileversion \space <\filedate> ^^J% the Condensed Matter Physics journal package} @@ -83,9 +83,9 @@ \edef\_{_}% \edef\textless{\@percentchar3C}% instead of {\string<} for Apple \edef\textgreater{\@percentchar3E}% instead of {\sting>} for Apple - \edef\x{\toks1={\noexpand\href{\doiURL#1}}}% + \edef\x{\toks2={\noexpand\href{\doiURL#1}}}% \x - \edef\x{\endgroup\doitext\the\toks1 \the\toks0}% + \edef\x{\endgroup\doitext\the\toks2 \the\toks0}% \x } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -317,18 +317,34 @@ } \def\cmpj@sf@droid{ - \IfFileExists{t2afds.fd}{ - \IfFileExists{omltxmi.fd}{\RequirePackage{txfonts}}{} - \IfFileExists{fmlfutm.fd}{\RequirePackage{fourier}}{} - \IfFileExists{omltxmi.fd}{\re@DeclareMathSymbol{\varkappa}{\mathord}{AMSb}{123}}{} - \RequirePackage[default,scale=0.86]{droidserif} - \RequirePackage[defaultsans,scale=0.86]{droidsans} - \RequirePackage[defaultmono,scale=0.86]{droidmono} - \def\lat@sf{fds} - \def\cyr@sf{fds} - }{\cmpj@sf@helvet} + \IfFileExists{t2afds.fd}{ + \IfFileExists{omltxmi.fd}{\RequirePackage{txfonts}}{} + \IfFileExists{fmlfutm.fd}{\RequirePackage{fourier}}{} + \IfFileExists{omltxmi.fd}{\re@DeclareMathSymbol{\varkappa}{\mathord}{AMSb}{123}}{} + \RequirePackage[default,scale=0.86]{droidserif} + \RequirePackage[defaultsans,scale=0.86]{droidsans} + \RequirePackage[defaultmono,scale=0.86]{droidmono} + \def\lat@sf{fds} + \def\cyr@sf{fds} +% \newcommand\hmmax{0} % default 3 +% \newcommand\bmmax{0} % default 4 + }{ + \IfFileExists{T2Adroidsans.fd}{ + \IfFileExists{omltxmi.fd}{\RequirePackage{txfonts}}{} + \IfFileExists{fmlfutm.fd}{\RequirePackage{fourier}}{} + \IfFileExists{omltxmi.fd}{\re@DeclareMathSymbol{\varkappa}{\mathord}{AMSb}{123}}{} + \RequirePackage[default,scale=0.86]{droidserif} + \RequirePackage[defaultsans,scale=0.86]{droidsans} + \RequirePackage[defaultmono,scale=0.86]{droidsansmono} + \def\lat@sf{droidsans} + \def\cyr@sf{droidsans} +% \newcommand\hmmax{0} % default 3 +% \newcommand\bmmax{0} % default 4 + }{\cmpj@sf@helvet} + } } + \DeclareOption{droid}{\let\cmpj@sf\cmpj@sf@droid} \DeclareOption{helvet}{\let\cmpj@sf\cmpj@sf@helvet} @@ -438,7 +454,7 @@ \def\doinumber#1{\def\doi@number{#1}} %\def\bibdoi#1{\href{\doiURL#1}{\doitext#1}} \def\bibdoi{\doi} -\def\arxiv#1{\href{http://arxiv.org/abs/#1}{arXiv:#1}} +\def\arxiv#1{\href{https://arxiv.org/abs/#1}{arXiv:#1}} \def\archive[#1]#2{Preprint #1:#2} \def\eprint{\@ifnextchar[\archive{Preprint \arxiv}} |