achemso: fix a typo, add a new inset for chemical symbols like H2SO4, fix wrong citation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27756 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-12-01 00:42:20 +00:00
parent 10b88864a8
commit 394944c6f3
2 changed files with 18 additions and 33 deletions

View File

@ -4,9 +4,6 @@
\begin_header \begin_header
\textclass achemso \textclass achemso
\begin_preamble \begin_preamble
% Formula chemical sum formula subscripts using the command \ce
\usepackage[version=3]{mhchem}
%% Each author should be given as a separate \author command. %% Each author should be given as a separate \author command.
%% %%
%% Corresponding authors should have an e-mail given after the author %% Corresponding authors should have an e-mail given after the author
@ -262,7 +259,6 @@ As with citations, the text should be placed before punctuation.
will result if this is not the case will result if this is not the case
\begin_inset CommandInset citation \begin_inset CommandInset citation
LatexCommand cite LatexCommand cite
after "p.~1"
key "Cotton1999" key "Cotton1999"
\end_inset \end_inset
@ -275,7 +271,7 @@ Some Infos
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
Besides the standard figure and table floats, the achemso LaTeX-class profives Besides the standard figure and table floats, the achemso LaTeX-class provides
scheme, chart, and graph floats. scheme, chart, and graph floats.
\end_layout \end_layout
@ -349,41 +345,17 @@ An example graph
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
The example file also loads the Chemical symbols can easily be input:
\family sans \begin_inset Flex Chemistry
mhchem status open
\family default
package, so that formulas are easy to input:
\family typewriter
\backslash
ce{H2SO4}
\family default
gives
\begin_inset ERT
status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
\backslash
ce{
\end_layout
\end_inset
H2SO4 H2SO4
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout \end_layout
\end_inset \end_inset
.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard

View File

@ -186,3 +186,16 @@ Style Bibliography
EndFont EndFont
End End
InsetLayout Chemistry
CopyStyle Bibnote
LatexName ce
LabelString "chemistry"
Preamble
\usepackage[version=3]{mhchem}
EndPreamble
LabelFont
Color blue
EndFont
MultiPar false
End