diff options
author | Karl Berry <karl@freefriends.org> | 2008-08-01 23:26:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-08-01 23:26:35 +0000 |
commit | 7a37c4adc360f4e2df37ac58a4838f6342480c10 (patch) | |
tree | 79914f7e49cb863ff1665128044acde9df2652d4 /Master/texmf-dist/source/latex/chemstyle | |
parent | 25119912b5ea259f827a6f1dedadf3fff94f4f8a (diff) |
chemstyle 1.4a
git-svn-id: svn://tug.org/texlive/trunk@9998 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/chemstyle')
-rw-r--r-- | Master/texmf-dist/source/latex/chemstyle/chemscheme.dtx | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/chemstyle/chemscheme.dtx b/Master/texmf-dist/source/latex/chemstyle/chemscheme.dtx index fb90e48a8d7..7b148c0f95b 100644 --- a/Master/texmf-dist/source/latex/chemstyle/chemscheme.dtx +++ b/Master/texmf-dist/source/latex/chemstyle/chemscheme.dtx @@ -667,9 +667,9 @@ An example file for PDFLaTeX use. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} \def\csh@id$#1: #2.#3 #4 #5-#6-#7 #8 #9${% - #5/#6/#7\space v1.4\space} + #5/#6/#7\space v1.4a\space} \ProvidesPackage{chemscheme} - [\csh@id $Id: chemscheme.dtx 45 2008-07-23 11:27:13Z joseph $ + [\csh@id $Id: chemscheme.dtx 48 2008-07-31 19:22:43Z joseph $ Support for chemical schemes] % \end{macrocode} %\end{macro} @@ -838,11 +838,18 @@ An example file for PDFLaTeX use. \floatname{scheme}{\schemename} \newcommand*{\listofschemes}{% \listof{scheme}{\listschemename}}} +% \end{macrocode} +%\changes{v1.4a}{2008/07/31}{Fixed bug with float definition, \pkg{floatrow} +% and chapters} +% Using \pkg{floatrow}, the definition depends on whether chapters +% are in use. +% \begin{macrocode} \newcommand*{\csh@makesch@floatrow}{% - \DeclareNewFloatType{scheme} - {fileext=los,placement=tbp,name=Scheme} - \@ifundefined{chapter}{} - {\floatsetup[scheme]{within=chapter}% + \@ifundefined{chapter} + {\DeclareNewFloatType{scheme} + {fileext=los,placement=tbp,name=Scheme}} + {\DeclareNewFloatType{scheme} + {fileext=los,placement=tbp,name=Scheme,within=chapter}% \csh@fixchapter}% \newcommand*{\listofschemes}{% \listof{scheme}{\listschemename}}} |