summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/achemso/natmove.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-30 00:37:53 +0000
committerKarl Berry <karl@freefriends.org>2009-06-30 00:37:53 +0000
commit9c2c06e150241d32a63aca29e5fe19ef4955692a (patch)
tree6290a7f5b01835da7e8fe9b04b02855b6c7103fd /Master/texmf-dist/tex/latex/achemso/natmove.sty
parent5fa926769060d32ca128bbd8f349d90d7fa228b9 (diff)
achemso 3.2c (29jun09)
git-svn-id: svn://tug.org/texlive/trunk@14009 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/achemso/natmove.sty')
-rw-r--r--Master/texmf-dist/tex/latex/achemso/natmove.sty28
1 files changed, 14 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/achemso/natmove.sty b/Master/texmf-dist/tex/latex/achemso/natmove.sty
index 0cd7858bf18..7de541d08f4 100644
--- a/Master/texmf-dist/tex/latex/achemso/natmove.sty
+++ b/Master/texmf-dist/tex/latex/achemso/natmove.sty
@@ -18,8 +18,8 @@
\ProvidesPackage{natmove}
[2009/04/20 v1.1 Automatic citation moving with natbib]
\RequirePackage{natbib}
-\newcommand*{\nmv@ifmtarg}{}
-\newcommand*{\nmv@xifmtarg}{}
+\newcommand*\nmv@ifmtarg{}
+\newcommand*\nmv@xifmtarg{}
\begingroup
\catcode`\Q 3\relax
\long\gdef\nmv@ifmtarg#1{%
@@ -28,15 +28,15 @@
\long\gdef\nmv@xifmtarg#1#2Q#3#4#5\@nil{#4}
\endgroup
\newif\ifnmv@cite
-\newcommand*{\nmv@citex}{%
+\newcommand*\nmv@citex{%
\ifnmv@cite
\expandafter\nmv@citex@moving
\else
\expandafter\nmv@citex@nat
\fi
}
-\newcommand*{\nmv@after}{}
-\newcommand*{\nmv@citex@moving}{}
+\newcommand*\nmv@after{}
+\newcommand*\nmv@citex@moving{}
\def\nmv@citex@moving[#1][#2]#3{%
\leavevmode
\skip@\lastskip
@@ -46,14 +46,14 @@
\global\nmv@citefalse
\nmv@citex@get@next\relax
}
-\newcommand*{\nmv@citex@end}{%
+\newcommand*\nmv@citex@end{%
\nmv@after
\endgroup
}
-\newcommand*{\nmv@citex@get@next}[1]{%
+\newcommand*\nmv@citex@get@next[1]{%
\futurelet\nmv@citex@next\nmv@citex@punct
}
-\newcommand*{\nmv@citex@punct}{%
+\newcommand*\nmv@citex@punct{%
\let\nmv@citex@loop\nmv@citex@end
\ifx\nmv@citex@next.\relax
\ifnum\spacefactor<\nmv@citex@sfac\else
@@ -64,8 +64,8 @@
\expandafter\nmv@citex@punct@aux\natmovechars\@empty
\nmv@citex@loop
}
-\newcommand*{\nmv@citex@loop}{}
-\newcommand*{\nmv@citex@punct@aux}{}
+\newcommand*\nmv@citex@loop{}
+\newcommand*\nmv@citex@punct@aux{}
\def\nmv@citex@punct@aux#1#2\@empty{%
\ifx\nmv@citex@next#1\@empty
#1%
@@ -86,8 +86,8 @@
\ifnum\sfcode`\.=\@m
\frenchspacing
\fi
-\newcommand*{\nmv@citex@nat}{}
-\newcommand*{\nmv@activate}{%
+\newcommand*\nmv@citex@nat{}
+\newcommand*\nmv@activate{%
\let\nmv@citex@nat\@citex
\let\@citex\nmv@citex
\let\nmv@cite\cite
@@ -100,7 +100,7 @@
\nmv@cite[##1]{##2}}%
}%
}
-\newcommand*{\nmv@natbib@detect}{%
+\newcommand*\nmv@natbib@detect{%
\@ifpackageloaded{natbib}{%
\ifNAT@super
\expandafter\nmv@activate
@@ -113,7 +113,7 @@
}%
}
\AtBeginDocument{\nmv@natbib@detect}
-\newcommand*{\natmovechars}{.,;:}
+\newcommand*\natmovechars{.,;:}
%%
%% Originally developed by Mats Dahlgren
%% Copyright (C) 1996-1998 by Mats Dahlgren