]> git.lyx.org Git - features.git/commitdiff
ectaart: fixes from Koji
authorUwe Stöhr <uwestoehr@web.de>
Wed, 6 Oct 2010 02:38:04 +0000 (02:38 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Wed, 6 Oct 2010 02:38:04 +0000 (02:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35566 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/ectaart.layout
lib/templates/ectaart.lyx

index 0d6b2b28f00c7c92df3d9bd3646303921ea2021c..5b7657f949e0e62703682b1d0c929e6149e8357d 100644 (file)
@@ -62,6 +62,7 @@ End
 Style Address
        CopyStyle       RunTitle
        LatexName       address
+       OptionalArgs    1
        LabelString     "Address:"
 End
 
@@ -135,6 +136,19 @@ Style Thanks_Text
         EndPreamble
 End
 
+Style Emphasize
+       CopyStyle       Standard
+       LatexType       Environment
+       LatexName       lyxem
+       TopSep          1
+       Font
+         Shape         Italic
+       EndFont
+       Preamble
+               \newenvironment{lyxem}{\par\begin{em}}{\end{em}\par}
+       EndPreamble
+End
+
 InsetLayout Thanks_Reference
        LyxType         custom
        LatexType       Command
@@ -144,6 +158,7 @@ InsetLayout Thanks_Reference
        LabelString     "Thanks Ref"
        ForcePlain      1
        MultiPar        0
+       BgColor         background
 End
 
 InsetLayout Internet_Address_Reference
@@ -163,6 +178,7 @@ InsetLayout Author
        CopyStyle       Thanks_Reference
        LatexName       author
        LabelString     "Author"
+       BgColor         green
 End
 
 InsetLayout Name_(First_Name)
@@ -179,12 +195,6 @@ InsetLayout Name_(Surname)
        BgColor         background
 End
 
-InsetLayout Email
-       CopyStyle       Thanks_Reference
-       LatexName       printead
-       LabelString     "Email"
-End
-
 InsetLayout Keyword
        CopyStyle       Thanks_Reference
        LatexName       kwd
@@ -195,7 +205,7 @@ InsetLayout By_Same_Author_(bib)
        CopyStyle       Thanks_Reference
        LatexName       bysame
        LabelString     "bysame"
-       BgColor         black
+       BgColor         blue
 End
 
 Counter Thanks
index 7a33b0ae480f6ac554b964a600175e3ad904076f..2aacaaf0456842da37cfd2f8bea773016729ba4a 100644 (file)
@@ -4,10 +4,20 @@
 \begin_header
 \textclass ectaart
 \begin_preamble
+%\RequirePackage{hypernat}
+
+%% Local definitions
 \startlocaldefs
+% These require a theorem-like module
+\numberwithin{equation}{section}
+\theoremstyle{plain}
 \endlocaldefs
 \end_preamble
-\use_default_options true
+\options draft, pdftex
+\use_default_options false
+\begin_modules
+theorems-ams
+\end_modules
 \maintain_unincluded_children false
 \language english
 \inputencoding auto
@@ -76,7 +86,9 @@ draft
 \family sans
 Predefined Class Options
 \family default
- in menu Document -> Preference -> Document Class.
+ in menu Document\SpecialChar \menuseparator
+Preference\SpecialChar \menuseparator
+Document Class.
  It implies to use the default 
 \begin_inset Quotes eld
 \end_inset
@@ -313,7 +325,7 @@ Author name to be shown at the header of even pages
 \begin_layout Address
 Address.
  Email: 
-\begin_inset Flex Email
+\begin_inset Flex Internet Address Reference
 status open
 
 \begin_layout Plain Layout
@@ -477,6 +489,20 @@ status collapsed
  W.
  Strahan and T.
  Cadell, London.
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The 
+\family sans
+bysame
+\family default
+ inset is used in Reference section to indicate "same author" (long dash).
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \end_body