summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cmpj
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-03-24 20:41:22 +0000
committerKarl Berry <karl@freefriends.org>2014-03-24 20:41:22 +0000
commit91bdeaff26d14f37ccb0cb7934548c6ac0ffc923 (patch)
tree86232d9e1f6673ed69ce9f19dc06a90b68aae028 /Master/texmf-dist/tex/latex/cmpj
parent60efec9f27f441f2be68076908da151a4f32f6f4 (diff)
cmpj (24mar14)
git-svn-id: svn://tug.org/texlive/trunk@33275 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cmpj')
-rw-r--r--Master/texmf-dist/tex/latex/cmpj/cmpj2.sty31
1 files changed, 17 insertions, 14 deletions
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}}