From fd801c9c901fce6dae1a74758e6597ecfeb72ef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Tue, 22 Sep 2009 23:13:46 +0000 Subject: [PATCH] - elsarticle.layout: add the stdlayouts, fixes #6189 - elsarticle.lyx: add two theorems as example git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31448 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/elsarticle.layout | 1 + lib/templates/elsarticle.lyx | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/lib/layouts/elsarticle.layout b/lib/layouts/elsarticle.layout index 74772c5479..6aa5676e57 100644 --- a/lib/layouts/elsarticle.layout +++ b/lib/layouts/elsarticle.layout @@ -44,6 +44,7 @@ Input stdfloats.inc Input stdlists.inc Input stdsections.inc Input stdstarsections.inc +Input stdlayouts.inc NoStyle Chapter NoStyle Chapter* diff --git a/lib/templates/elsarticle.lyx b/lib/templates/elsarticle.lyx index 885fa9cd04..41bf6dff24 100644 --- a/lib/templates/elsarticle.lyx +++ b/lib/templates/elsarticle.lyx @@ -1,4 +1,4 @@ -#LyX 1.6.2svn created this file. For more info see http://www.lyx.org/ +#LyX 1.6.5svn created this file. For more info see http://www.lyx.org/ \lyxformat 345 \begin_document \begin_header @@ -8,6 +8,9 @@ \journal{Example: Nuclear Physics B} \end_preamble \use_default_options false +\begin_modules +theorems-std +\end_modules \language english \inputencoding auto \font_roman default @@ -681,6 +684,18 @@ A & = & \prod_{i=1}^{\infty}B\nonumber \\ \end_layout +\begin_layout Theorem +Theorem 1 +\end_layout + +\begin_layout --Separator-- + +\end_layout + +\begin_layout Theorem +Theorem 2 +\end_layout + \begin_layout Subsection Subsection \end_layout