diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/chemscheme/README | 28 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/chemscheme/chemscheme.pdf | bin | 60013 -> 64416 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/chemscheme/chemscheme.dtx | 68 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/chemscheme/chemscheme.sty | 12 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 |
5 files changed, 87 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/latex/chemscheme/README b/Master/texmf-dist/doc/latex/chemscheme/README index 6736aec19ff..61c508aa4fc 100644 --- a/Master/texmf-dist/doc/latex/chemscheme/README +++ b/Master/texmf-dist/doc/latex/chemscheme/README @@ -1,14 +1,14 @@ -The chemscheme package - Support for chemical schemes
-----------------------------------------------------------------
-Maintained by Joseph A. Wright
-E-mail: joseph.wright@morningstar2.co.uk
-Released under the GNU General Public License
-See http://www.gnu.org/licenses/gpl.txt
-----------------------------------------------------------------
-
-The chemscheme package consists of two parts, both related to
-chemical schemes. The package adds a scheme float type to the
-LaTeX default types figure and table. The scheme float type
-acts in the same way as those defined by the LaTeX kernel, but
-is intended for chemical schemes. The package also provides a
-method for adding automatic chemical numbering to schemes.
+The chemscheme package - Support for chemical schemes +---------------------------------------------------------------- +Maintained by Joseph A. Wright +E-mail: joseph.wright@morningstar2.co.uk +Released under the GNU General Public License +See http://www.gnu.org/licenses/gpl.txt +---------------------------------------------------------------- + +The chemscheme package consists of two parts, both related to +chemical schemes. The package adds a scheme float type to the +LaTeX default types figure and table. The scheme float type +acts in the same way as those defined by the LaTeX kernel, but +is intended for chemical schemes. The package also provides a +method for adding automatic chemical numbering to schemes. diff --git a/Master/texmf-dist/doc/latex/chemscheme/chemscheme.pdf b/Master/texmf-dist/doc/latex/chemscheme/chemscheme.pdf Binary files differindex 034d219ae2d..4fe88de3481 100644 --- a/Master/texmf-dist/doc/latex/chemscheme/chemscheme.pdf +++ b/Master/texmf-dist/doc/latex/chemscheme/chemscheme.pdf diff --git a/Master/texmf-dist/source/latex/chemscheme/chemscheme.dtx b/Master/texmf-dist/source/latex/chemscheme/chemscheme.dtx index 569926167ca..89d7b0c8b52 100644 --- a/Master/texmf-dist/source/latex/chemscheme/chemscheme.dtx +++ b/Master/texmf-dist/source/latex/chemscheme/chemscheme.dtx @@ -8,7 +8,7 @@ % % This work consists of the main source file chemscheme.dtx % and the derived files chemscheme.sty and chemscheme.pdf; -% also included is the ChemDraw source file chemschem.cdx +% also included is the ChemDraw source file chemscheme.cdx % %<*driver> \documentclass{ltxdoc} @@ -28,7 +28,7 @@ %</driver> % \fi % -% \CheckSum{96} +% \CheckSum{122} % % \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 @@ -49,14 +49,15 @@ % \GetFileInfo{\jobname.sty} % % \changes{v1.0}{2007/07/21}{Initial public release} +% \changes{v1.1}{2007/08/05}{Added float centring code} % % \DoNotIndex{\@ifclassloaded,\@undefined,\chapter,\CNlabel} -% \DoNotIndex{\CNlabelsub,\compound,\DeclareOption,\else,\floatname} -% \DoNotIndex{\fi,\global,\ifx,\let,\listof,\MessageBreak} +% \DoNotIndex{\CNlabelsub,\compound,\DeclareOption,\def,\else} +% \DoNotIndex{\floatname,\fi,\global,\ifx,\let,\listof,\MessageBreak} % \DoNotIndex{\NeedsTeXFormat,\newcommand,\newfloat,\newif} % \DoNotIndex{\newlistof,\PackageWarning,\ProcessOptions,\protect} -% \DoNotIndex{\ProvidesPackage,\psfrag,\RequirePackage,\space} -% \DoNotIndex{\textsf} +% \DoNotIndex{\ProvidesPackage,\psfrag,\raggedleft,\RequirePackage} +% \DoNotIndex{\relax,\space,\textsf} % % \title{\texttt{chemscheme} --- Support for chemical schemes% % \thanks{This file describes version \fileversion, last revised @@ -156,6 +157,31 @@ % \cmd{\listschemes} contains the title of the scheme list (by % default \listschemes). Both may be freely re-defined. % +% \section{Horizontal positioning of all floats} +% +% \DescribeMacro{\floatcontentscentre} +% \DescribeMacro{\floatcontentscenter} +% \DescribeMacro{\floatcontentsleft} +% \DescribeMacro{\floatcontentsright} +% The LaTeX default is to position all float contents flush-left. +% There is no ``hook'' provided to alter this. The |chemscheme| +% packages therefore provides commands to align all float contents +% automatically. As the macro names make clear, +% \cmd{\floatcontentscentre} will make all floats centred (for users +% speaking U.S.~English, the alternative spelling +% \cmd{\floatcontentscenter} is also available). The default +% behaviour is restored using the command \cmd{\floatcontentsleft}. +% Finally, \cmd{\floatcontentsright} is provided for use if needed. +% notice that the float positioning commands should be given +% \emph{outside} floating environments, and apply to all subsequent +% floats. +% +% It is important to note that the positioning mechanism used here +% relies on a low-level hack of the LaTeX kernel. This has been +% tested with the standard LaTeX classes, the \textsf{memoir} class +% and the \textsc{koma-script} bundled. Other document classes may +% not give the desired behaviour. +% % \section{Reference numbers in graphics} % % \subsection{Background} @@ -328,7 +354,7 @@ % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{chemscheme}% - [2007/07/21 v1.0 Support for chemical schemes] + [2007/08/05 v1.1 Support for chemical schemes] % \end{macrocode} % The |psfrag| package is required to carry out the inclusion of % chemical numbers in graphics. If the |memoir| package is not @@ -408,6 +434,34 @@ % \end{macrocode} % \end{macro} % +% \subsection{Positioning float contents} +% +% \begin{macro}{\floatcontentscentre} +% \begin{macro}{\floatcontentscenter} +% \begin{macro}{\floatcontentsleft} +% \begin{macro}{\floatcontentsright} +% 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. +% \begin{macrocode} +\newcommand*{\floatcontentscentre}% + {\let\CHEMSCH@everyfloat\centering} +\let\floatcontentscenter\floatcontentscentre +\newcommand*{\floatcontentsleft}% + {\let\CHEMSCH@everyfloat\relax} +\newcommand*{\floatcontentsright}% + {\let\CHEMSCH@everyfloat\raggedleft} +\let\CHEMSCH@floatboxreset\@floatboxreset +\floatcontentsleft +\def\@floatboxreset{\CHEMSCH@everyfloat\CHEMSCH@floatboxreset} +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% % \subsection{Reference numbers in graphics} % % \begin{macro}{\chemschemerefmarker} diff --git a/Master/texmf-dist/tex/latex/chemscheme/chemscheme.sty b/Master/texmf-dist/tex/latex/chemscheme/chemscheme.sty index 9a21fa96f67..2f89ad65347 100644 --- a/Master/texmf-dist/tex/latex/chemscheme/chemscheme.sty +++ b/Master/texmf-dist/tex/latex/chemscheme/chemscheme.sty @@ -14,7 +14,7 @@ %% ---------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{chemscheme}% - [2007/07/21 v1.0 Support for chemical schemes] + [2007/08/05 v1.1 Support for chemical schemes] \RequirePackage{psfrag} \@ifclassloaded{memoir}{} {\RequirePackage{float}} @@ -49,6 +49,16 @@ {\floatname{scheme}{\schemename} \newcommand*{\listofschemes}[1][\listschemes]% {\listof{scheme}{#1}}} +\newcommand*{\floatcontentscentre}% + {\let\CHEMSCH@everyfloat\centering} +\let\floatcontentscenter\floatcontentscentre +\newcommand*{\floatcontentsleft}% + {\let\CHEMSCH@everyfloat\relax} +\newcommand*{\floatcontentsright}% + {\let\CHEMSCH@everyfloat\raggedleft} +\let\CHEMSCH@floatboxreset\@floatboxreset +\floatcontentsleft +\def\@floatboxreset{\CHEMSCH@everyfloat\CHEMSCH@floatboxreset} \newcommand{\chemschemerefmarker}{TMP} \newcommand{\chemschemerefformat}{\textsf} \ifCHEMSCH@bpchem diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index 6eca69c01c7..3528664f294 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -112,6 +112,7 @@ depend Package/draftcopy depend Package/draftwatermark depend Package/dropping depend Package/dtk +depend Package/dtxgallery depend Package/dvdcoll depend Package/eCards depend Package/easy |