]> git.lyx.org Git - features.git/commitdiff
achemso: fix a typo, add a new inset for chemical symbols like H2SO4, fix wrong citation
authorUwe Stöhr <uwestoehr@web.de>
Mon, 1 Dec 2008 00:42:20 +0000 (00:42 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Mon, 1 Dec 2008 00:42:20 +0000 (00:42 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27756 a592a061-630c-0410-9148-cb99ea01b6c8

lib/examples/achemso.lyx
lib/layouts/achemso.layout

index fb9f7a39fad8699fcad62380d499d163771b9055..c318ae10bea2bd95af80c77fbdc58ff4ebf8eba3 100644 (file)
@@ -4,9 +4,6 @@
 \begin_header
 \textclass achemso
 \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.
 %%
 %% 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 
 \begin_inset CommandInset citation
 LatexCommand cite
-after "p.~1"
 key "Cotton1999"
 
 \end_inset
@@ -275,7 +271,7 @@ Some Infos
 \end_layout
 
 \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.
 \end_layout
 
@@ -349,41 +345,17 @@ An example graph
 \end_layout
 
 \begin_layout Standard
-The example file also loads the 
-\family sans
-mhchem
-\family default
- package, so that formulas are easy to input: 
-\family typewriter
-
-\backslash
-ce{H2SO4}
-\family default
- gives 
-\begin_inset ERT
-status collapsed
+Chemical symbols can easily be input: 
+\begin_inset Flex Chemistry
+status open
 
 \begin_layout Plain Layout
-
-
-\backslash
-ce{
-\end_layout
-
-\end_inset
-
 H2SO4
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
 \end_layout
 
 \end_inset
 
-.
+
 \end_layout
 
 \begin_layout Standard
index ab0c0a71b7beed6c45aa9a4eeb4689d8da0d42b9..b43c05601c8129f82fe5e6df9a1d8096cedde2ae 100644 (file)
@@ -186,3 +186,16 @@ Style Bibliography
        EndFont
 End
 
+
+InsetLayout Chemistry
+       CopyStyle               Bibnote
+       LatexName               ce
+       LabelString             "chemistry"
+       Preamble
+         \usepackage[version=3]{mhchem}
+       EndPreamble
+       LabelFont
+         Color                 blue
+       EndFont
+       MultiPar                false
+End