summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/chemstyle
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-09-07 16:03:37 +0000
committerKarl Berry <karl@freefriends.org>2007-09-07 16:03:37 +0000
commit835d85dc8de2c9259ab59242b2c08e7bf1a891fd (patch)
treefe15ae98d2a7f165ef46ff1ef53203c210ec0849 /Master/texmf-dist/source/latex/chemstyle
parentd41f4eb3a22de3e6882643249556bb72f892ed1e (diff)
chemstyle update (5sep07)
git-svn-id: svn://tug.org/texlive/trunk@4900 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/chemstyle')
-rw-r--r--Master/texmf-dist/source/latex/chemstyle/chemstyle.dtx91
1 files changed, 63 insertions, 28 deletions
diff --git a/Master/texmf-dist/source/latex/chemstyle/chemstyle.dtx b/Master/texmf-dist/source/latex/chemstyle/chemstyle.dtx
index fe5208c5469..7a151502327 100644
--- a/Master/texmf-dist/source/latex/chemstyle/chemstyle.dtx
+++ b/Master/texmf-dist/source/latex/chemstyle/chemstyle.dtx
@@ -29,7 +29,7 @@
%</driver>
% \fi
%
-% \CheckSum{481}
+% \CheckSum{485}
%
% \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
@@ -50,6 +50,8 @@
% \GetFileInfo{\jobname.sty}
%
%\changes{v1.0}{2006/08/06}{Initial release of package}
+%\changes{v1.0b}{2007/09/04}{Added |microtype| and |notes2bib| to
+% template}
%
%\DoNotIndex{\@fs@capt,\@fs@cfont,\@fs@iftopcapt,\@fs@mid,\@fs@post}
%\DoNotIndex{\@fs@pre,\@ifclassloaded,\@ifnextchar,\@ifpackageloaded}
@@ -262,6 +264,11 @@
% \begin{macrocode}
\documentclass[fontsize=10pt,paper=a4]{scrreprt}
% \end{macrocode}
+% The |geometry| package allows the sers to alter page layout
+% with ease; much better than trying to hack the raw LaTeX system.
+% \begin{macrocode}
+\usepackage{geometry}
+% \end{macrocode}
% The |babel| system is loaded to sort out hyphenation and so on,
% and could be useful if there are any foreign-language quotes.
% \begin{macrocode}
@@ -296,6 +303,24 @@
% \begin{macrocode}
\usepackage{booktabs}
% \end{macrocode}
+% The |microtype| package improves formatting when used with the
+% pdfTeX engine.
+% \begin{macrocode}
+\usepackage[final]{microtype}
+% \end{macrocode}
+% Using |notes2bib| allows the user to automatically add notes to the
+% bibliography from within the document body. So you can put
+% |\bibnote{A note}| in the source, and this will move into the
+% References section without any further effort. The |footnotes|
+% option means that footnotes do the same.
+% \begin{macrocode}
+\usepackage[footnotes]{notes2bib}
+% \end{macrocode}
+% Finally, the |hyperref| package makes headings, citations and so on into
+% hyperlinks.
+% \begin{macrocode}
+\usepackage[colorlinks]{hyperref}
+% \end{macrocode}
% The bulk of the document can then start.
% \begin{macrocode}
\begin{document}
@@ -330,7 +355,7 @@
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{chemstyle}
- [2007/08/23 v1.0a Writing chemistry with style]
+ [2007/09/04 v1.0b Writing chemistry with style]
% \end{macrocode}
% The \cmd{\fg} macro is defined in French as a \emph{guillemet} sign,
% and so to avoid a clash a bit of patching is needed. A check to see
@@ -370,14 +395,16 @@
}
% \end{macrocode}
%
-% \subsection{Extra units and related commands}
+%\subsection{Extra units and related commands}
%
-% \begin{macro}{\cubiccentimeter}
-% \begin{macro}{\cmc}
-% \begin{macro}{\Hz}
-% \begin{macro}{\Molar}
-% \begin{macro}{\molar}
-% \begin{macro}{\mmHg}
+%\begin{macro}{\cubiccentimeter}
+%\begin{macro}{\cmc}
+%\begin{macro}{\Hz}
+%\begin{macro}{\Molar}
+%\begin{macro}{\molar}
+%\begin{macro}{\mmHg}
+%\begin{macro}{\mol}
+%\changes{v1.0b}{2007/09/04}{New macro}
% A few additional unit types are provides, which the |unitsdef|
% package omits for some reason. These do not change with different
% journal styles, and so are declared directly.
@@ -388,14 +415,16 @@
\newunit{\Molar}{\textsc{m}}
\newunit{\molar}{\mole\unitsep\dm\unitsuperscript{--3}}
\newunit{\mmHg}{mm\unitsep{}Hg}
+\newunit{\mol}{mol}
% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \end{macro}
-% \begin{macro}{\standardstate}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\end{macro}
+%\begin{macro}{\standardstate}
% In a very similar vein, the ``standard state'' symbol is handy. This
% is produced by rotating a symbol from the \textsc{ams} symbol set.
% Note that the rotation angle here has been carefully checked, but
@@ -730,14 +759,20 @@
% \fi
%
% \subsection{RSC style}
-%
+%\changes{v1.0b}{2007/09/04}{Fixed formatting of alkyls}
% \begin{macrocode}
-\ProvidesFile{rsc.jdf}[2007/08/23 v1.0a]
-\renewcommand{\figurename}{Fig.}
+\ProvidesFile{rsc.jdf}[2007/09/04 v1.0b]
+% \end{macrocode}
+%\changes{v1.0b}{2007/09/04}{Sorted a problem with \texttt{babel}
+% and figure name format}
+% \begin{macrocode}
+\AtBeginDocument{
+ \renewcommand{\figurename}{Fig.}}
\RequirePackage[labelsep=quad,labelfont=bf]{caption}
-\let\cst@emph\relax
-\def\cst@hyph{}
-\let\cst@super\textsuperscript
+\let\cst@emph\emph
+\def\cst@hyph{-}
+\let\cst@super\relax
+\cst@prefixtrue
\cst@prefixfalse
% \end{macrocode}
% \iffalse
@@ -749,7 +784,7 @@
%\changes{v1.0a}{2007/08/23}{Fixed incorrect Latin formatting for
% \texttt{angew} option}
% \begin{macrocode}
-\ProvidesFile{cst-angew.def}[2007/08/23 v1.0a]
+\ProvidesFile{cst-angew.def}[2007/09/04 v1.0b]
\RequirePackage[labelsep=period,labelfont={bf,it},font=sf]{caption}
\captionsetup[table]{labelsep=colon}
\captionsetup{singlelinecheck=off}
@@ -767,7 +802,7 @@
% \subsection{\emph{J.~Am.~Chem.~Soc.}~style}
%
% \begin{macrocode}
-\ProvidesFile{jacs.jdf}[2007/08/23 v1.0a]
+\ProvidesFile{jacs.jdf}[2007/09/04 v1.0b]
\RequirePackage[labelfont={bf,it,sf},textfont=sf]{caption}
\DeclareCaptionLabelSeparator{perquad}{.\quad}
\captionsetup{labelsep=perquad}
@@ -793,7 +828,7 @@
% Almost exactly the same as for \emph{J.~Am.~Chem.~Soc.}, so most of
% the work is left to |jacs.jdf|.
% \begin{macrocode}
-\ProvidesFile{ic.jdf}[2007/08/23 v1.0a]
+\ProvidesFile{ic.jdf}[2007/09/04 v1.0b]
\input {jacs.jdf}
\captionsetup{textfont=rm}
% \end{macrocode}
@@ -806,7 +841,7 @@
%\changes{v1.0a}{2007/08/23}{Added \emph{J.~Phys.~Chem.}~style}
%
% \begin{macrocode}
-\ProvidesFile{jpc.jdf}[2007/08/23 v1.0a]
+\ProvidesFile{jpc.jdf}[2007/09/04 v1.0b]
\RequirePackage[font=bf,labelsep=colon]{caption}
\DeclareCaptionFormat{labelcaps}{\MakeUppercase{#1}#2#3}
\captionsetup{format=labelcaps}
@@ -831,7 +866,7 @@
%\changes{v1.0a}{2007/08/23}{Added \emph{Org.~Lett.}~style}
%
% \begin{macrocode}
-\ProvidesFile{orglett.jdf}[2007/08/23 v1.0a]
+\ProvidesFile{orglett.jdf}[2007/09/04 v1.0b]
\RequirePackage{xcolor}
% \end{macrocode}
%\begin{macro}{\OrgLettColour}
@@ -907,7 +942,7 @@
% where a default is needed (\eg the \cmd{\latin} command) the
% style of the RSC is followed.
% \begin{macrocode}
-\ProvidesFile{none.jdf}[2007/08/23 v1.0a]
+\ProvidesFile{none.jdf}[2007/09/04 v1.0b]
\RequirePackage{caption}
\floatstyle{plain}
\restylefloat{table}