summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chemstyle/chemstyle.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/chemstyle/chemstyle.sty')
-rw-r--r--Master/texmf-dist/tex/latex/chemstyle/chemstyle.sty9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/chemstyle/chemstyle.sty b/Master/texmf-dist/tex/latex/chemstyle/chemstyle.sty
index 884adcf0be2..a00b2fac5ac 100644
--- a/Master/texmf-dist/tex/latex/chemstyle/chemstyle.sty
+++ b/Master/texmf-dist/tex/latex/chemstyle/chemstyle.sty
@@ -15,7 +15,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{chemstyle}
- [2008/03/08 v1.2 Writing chemistry with style]
+ [2008/03/21 v1.2a Writing chemistry with style]
\RequirePackage{xkeyval}
\@ifpackagelater{xkeyval}{2005/05/07}
{}
@@ -166,15 +166,16 @@
\floatstyle{plaintop}
\restylefloat{table}
\floatstyle{plain}
-\restylefloat{scheme}
\restylefloat{figure}
\floatplacement{table}{htbp}
-\floatplacement{scheme}{htbp}
\floatplacement{figure}{htbp}
+\AtBeginDocument{
+ \restylefloat{scheme}
+ \floatplacement{scheme}{htbp}}
\floatcontentscentre
-\labelformat{scheme}{\schemename~#1}
\labelformat{figure}{\figurename~#1}
\labelformat{table}{\tablename~#1}
+\AtBeginDocument{\labelformat{scheme}{\schemename~#1}}
\newcommand*{\cst@latin}{%
\ifcst@abbremph
\expandafter\emph%