summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/rsc
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/rsc')
-rw-r--r--Master/texmf-dist/source/latex/rsc/rsc.dtx28
1 files changed, 9 insertions, 19 deletions
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.