From: Uwe Stöhr Date: Wed, 6 Oct 2010 02:38:04 +0000 (+0000) Subject: ectaart: fixes from Koji X-Git-Tag: 2.0.0~2448 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=80759f71097cc45e878a4ebadfde94f4cb0d4aab;p=features.git ectaart: fixes from Koji git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35566 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/layouts/ectaart.layout b/lib/layouts/ectaart.layout index 0d6b2b28f0..5b7657f949 100644 --- a/lib/layouts/ectaart.layout +++ b/lib/layouts/ectaart.layout @@ -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 diff --git a/lib/templates/ectaart.lyx b/lib/templates/ectaart.lyx index 7a33b0ae48..2aacaaf045 100644 --- a/lib/templates/ectaart.lyx +++ b/lib/templates/ectaart.lyx @@ -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