summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-08-08 17:46:37 +0000
committerKarl Berry <karl@freefriends.org>2007-08-08 17:46:37 +0000
commitd82348cfdcc935a4729e488d9ad7da2471375b92 (patch)
tree51b17896bfb2d9bc9bca483c85c9717d5a5593e1
parente5fe7bcd5a619359401f314997d3e95db5100c5f (diff)
rsc update (7aug07)
git-svn-id: svn://tug.org/texlive/trunk@4716 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/rsc/rsc.pdfbin120766 -> 120780 bytes
-rw-r--r--Master/texmf-dist/source/latex/rsc/rsc.dtx28
-rw-r--r--Master/texmf-dist/tex/latex/rsc/rsc.sty8
3 files changed, 10 insertions, 26 deletions
diff --git a/Master/texmf-dist/doc/latex/rsc/rsc.pdf b/Master/texmf-dist/doc/latex/rsc/rsc.pdf
index cc3a9a2a9d0..e4b584a5059 100644
--- a/Master/texmf-dist/doc/latex/rsc/rsc.pdf
+++ b/Master/texmf-dist/doc/latex/rsc/rsc.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/rsc/rsc.dtx b/Master/texmf-dist/source/latex/rsc/rsc.dtx
index 961d7ac0036..22a78f478d5 100644
--- a/Master/texmf-dist/source/latex/rsc/rsc.dtx
+++ b/Master/texmf-dist/source/latex/rsc/rsc.dtx
@@ -27,7 +27,7 @@
%</driver>
% \fi
%
-% \CheckSum{183}
+% \CheckSum{166}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -47,6 +47,8 @@
%
% \GetFileInfo{\jobname.sty}
%
+% \changes{v2.1}{2007/08/05}{Moved float centring to
+% \texttt{chemscheme} package}
% \changes{v2.0}{2007/07/21}{Complete re-write of float support}
% \changes{v2.0}{2007/07/21}{General tidying of code}
% \changes{v1.0}{2006/11/08}{Initial release of packaged rsc.bst}
@@ -274,7 +276,8 @@
% selected floats by issuing the command \cmd{\floatcontentscentre}
% or \cmd{\floatcontentscentre} \emph{before} the beginning of the
% floating environment. This change remains in force until cancelled
-% using the complementary macro.
+% using the complementary macro. These packages are provided by the
+% |chemescheme| package.
%
% Single line float captions are centred by default, but may
% be left-aligned using the |captionleft| (|cl|) option. The
@@ -388,7 +391,7 @@
% needed to function.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{rsc}[2007/07/21 v2.0
+\ProvidesPackage{rsc}[2007/08/05 v2.1
Useful chemistry functions]
\RequirePackage{unitsdef,graphicx,amssymb,fixltx2e,varioref}
% \end{macrocode}
@@ -516,7 +519,7 @@
% float captions. The macros provided by the |memoir| class do not
% allow sufficient control, and so the functions provided by |memoir|
% are ignored. |caption| is loaded with the correct default format
-% for almost all floats. In the case of \emph{Angew. Chem.}~style
+% for almost all floats. In the case of \emph{Angew.\ Chem.}~style
% formatting, tables are treated differently.
% \begin{macrocode}
\ifRSC@angew
@@ -571,28 +574,15 @@
\floatplacement{figure}{htbp}
% \end{macrocode}
%
-% \begin{macro}{\floatcontentscentre}
-% \begin{macro}{\floatcontentsleft}
-% In order to centre the content of all floats, a method is needed
-% to break into the mechanism. None is provided by default,
-% but it can be achieved by patching \cmd{\@floatboxreset}.
-% User space switching commands are defined to turn centring on and
-% off.
+% The centring of floats is sorted out here, using macros provided
+% by the |chemescheme| package.
% \begin{macrocode}
-\newcommand*{\floatcontentscentre}%
- {\let\RSC@everyfloat\centering}
-\newcommand*{\floatcontentsleft}%
- {\let\RSC@everyfloat\relax}
-\let\RSC@floatboxreset\@floatboxreset
-\def\@floatboxreset{\RSC@everyfloat\RSC@floatboxreset}
\ifRSC@fl
\floatcontentsleft
\else
\floatcontentscentre
\fi
% \end{macrocode}
-% \end{macro}
-% \end{macro}
%
% Finally, the naming for cross-references is sorted out properly,
% using the |varioref| package.
diff --git a/Master/texmf-dist/tex/latex/rsc/rsc.sty b/Master/texmf-dist/tex/latex/rsc/rsc.sty
index 658239f8701..bd2a5135bfd 100644
--- a/Master/texmf-dist/tex/latex/rsc/rsc.sty
+++ b/Master/texmf-dist/tex/latex/rsc/rsc.sty
@@ -15,7 +15,7 @@
%% ----------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{rsc}[2007/07/21 v2.0
+\ProvidesPackage{rsc}[2007/08/05 v2.1
Useful chemistry functions]
\RequirePackage{unitsdef,graphicx,amssymb,fixltx2e,varioref}
\newif \ifRSC@fl \RSC@flfalse
@@ -95,12 +95,6 @@
\floatplacement{table}{htbp}
\floatplacement{scheme}{htbp}
\floatplacement{figure}{htbp}
-\newcommand*{\floatcontentscentre}%
- {\let\RSC@everyfloat\centering}
-\newcommand*{\floatcontentsleft}%
- {\let\RSC@everyfloat\relax}
-\let\RSC@floatboxreset\@floatboxreset
-\def\@floatboxreset{\RSC@everyfloat\RSC@floatboxreset}
\ifRSC@fl
\floatcontentsleft
\else