From 91bdeaff26d14f37ccb0cb7934548c6ac0ffc923 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 24 Mar 2014 20:41:22 +0000 Subject: cmpj (24mar14) git-svn-id: svn://tug.org/texlive/trunk@33275 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/cmpj/cmpj2.sty | 31 ++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist/tex/latex/cmpj') diff --git a/Master/texmf-dist/tex/latex/cmpj/cmpj2.sty b/Master/texmf-dist/tex/latex/cmpj/cmpj2.sty index c0e0268c527..af69d961a76 100644 --- a/Master/texmf-dist/tex/latex/cmpj/cmpj2.sty +++ b/Master/texmf-dist/tex/latex/cmpj/cmpj2.sty @@ -7,7 +7,7 @@ %%% http://www.icmp.lviv.ua/journal/ %%% %%% using LaTeX2e %%% %%% %%% -%%% Last time modified: January 15, 2013 %%% +%%% Last time modified: March 23, 2014 %%% %%% %%% %%% Copyright (C) 2013 by the Institute for Condensed Matter Physics %%% %%% of the National Academy of Sciences of Ukraine %%% @@ -22,11 +22,11 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{cmpj2} - [2013/01/15 v2.03 + [2014/03/23 v2.05 The Condensed Matter Physics journal package] \def\filename{cmpj2.sty} -\def\fileversion{2.03} -\def\filedate{2013/01/15} +\def\fileversion{2.05} +\def\filedate{2014/03/23} \immediate\write32{This is '\filename' v\fileversion \space <\filedate> ^^J% the Condensed Matter Physics journal package} @@ -244,7 +244,8 @@ \def\eqsecnum{% \@addtoreset{equation}{section} % - \def\theequation{\arabic{section}.\arabic{equation}}% +% \def\theequation{\thesection.\arabic{equation}}% + \def\theequation{\ifnum \c@section>\z@ \thesection.\fi \@arabic\c@equation}% } \DeclareOption{eqsecnum}{\eqsecnum} @@ -288,6 +289,16 @@ \DeclareOption{cm}{\def\cmpj@sf{}} +\def\@@copyright{\copyright} +\def\copyright@size{\small} +\def\copyright@author{\@author\cp@issue@year} +\def\authorcopyright{\@ifnextchar[ + \iauthorcopyright{\iauthorcopyright[\small]}} +\def\iauthorcopyright[#1]#2{\gdef\copyright@size{#1} + \gdef\copyright@author{#2}} + +\DeclareOption{nocopyright}{\def\@@copyright{}\authorcopyright{}} + \ExecuteOptions{droid} \ProcessOptions @@ -458,16 +469,8 @@ \newcommand\pacs{\par\vskip 1ex \noindent\raggedright\upshape{\hv@sf\bfseries PACS:}\slshape\space} -\def\@copyright{} \def\author{\@dblarg{\make@author}} -\long\def\make@author[#1]#2{\gdef\fancy@author{#1}\gdef\@author{#2}\gdef\@copyright{\copyright}} - -\def\copyright@size{\small} -\def\copyright@author{\@author\cp@issue@year} -\def\authorcopyright{\@ifnextchar[ - \iauthorcopyright{\iauthorcopyright[\small]}} -\def\iauthorcopyright[#1]#2{\gdef\copyright@size{#1} - \gdef\copyright@author{#2}} +\long\def\make@author[#1]#2{\gdef\fancy@author{#1}\gdef\@author{#2}\gdef\@copyright{\@@copyright}} \def\title{\@dblarg{\make@title}} \long\def\make@title[#1]#2{\gdef\fancy@title{#1}\gdef\@title{#2}} -- cgit v1.2.3