]> git.lyx.org Git - lyx.git/commitdiff
encts class
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 7 Jun 2001 14:04:23 +0000 (14:04 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 7 Jun 2001 14:04:23 +0000 (14:04 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2097 a592a061-630c-0410-9148-cb99ea01b6c8

lib/CREDITS
lib/ChangeLog
lib/doc/LaTeXConfig.lyx.in
lib/layouts/encts.layout [new file with mode: 0644]

index 5e47793e2ca91482e00d74bd9eef67e544f06992..aaa214e2f414a0abe2344ebe99706d3cec8346aa 100644 (file)
 @iE-mail: sp2joap1@ida.his.se
    po-file for Swedish, a tool for picking shortcuts,
    bug reports and hacking at random
+@bZvezdan Petkovic 
+@iE-mail: z.petkovic@computer.org
+   Better support for serbian and serbocroatian
 @bKornelia Pietsch
 @iE-mail: pietsch@mathematik.tu-chemnitz.de
    provided siamltex document class
 @iE-mail: kayvan@sylvan.com      
    noweb2lyx and reLyX integration of noweb files. 
    Added Import->Noweb and key bindings to menus.
+@bReuben Thomas
+@iE-mail: rrt@dcs.gla.ac.uk
+  encts document class
+  lots of useful bug reports
 @bDekel Tsur
 @iE-mail: dekel@math.tau.ac.il
    Hebrew support.
index 9d2c651a728b28bb61583289660997c1f2e4a054..0b840df4d27bca682ab3cbf237b76e73d7e96381 100644 (file)
@@ -1,3 +1,10 @@
+2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * doc/LaTeXConfig.lyx.in: 
+       * layouts/encts.layout: new textclass, from Reuben Thomas
+       
+       * CREDITS: add Zvezdan Petkovic and Reuben Thomas
+
 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
        * bind/xemacs.bind: allow asciitilde to be used with or without
index 7681cefe952264b0712d1426a3c4f9c6b9288b13..0485ffa8799ea156948640b297a117bf6927d571 100644 (file)
@@ -1,5 +1,5 @@
 #LyX 1.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 2.16
+\lyxformat 218
 \textclass article
 \language english
 \inputencoding default
@@ -519,6 +519,32 @@ jadetex
  You need the sgmltools v2.0 package installed to use this.
 \layout Subsection
 
+encts
+\layout Description
+
+Found: @chk_encts@
+\layout Description
+
+CTAN: N/A
+\layout Description
+
+WWW: 
+\begin_inset LatexCommand \url{http://math.tulane.edu/~entcs/}
+
+\end_inset 
+
+
+\layout Description
+
+Notes: The document class 
+\family sans 
+entcs
+\family default 
+ is Elsevier Science's Electronic Notes in Theoretical Computer Science
+ article style, used for the ENTCS series, and many conference proceedings.
+\layout Subsection
+
 g-brief-en
 \layout Description
 
diff --git a/lib/layouts/encts.layout b/lib/layouts/encts.layout
new file mode 100644 (file)
index 0000000..b84ff6e
--- /dev/null
@@ -0,0 +1,110 @@
+#% Do not delete the line below; configure depends on this
+#  \DeclareLaTeXClass{article (ENTCS)}
+# Based on LyX article class; modified to support ENTCS class
+# R.R.T.   27/5-2/6/01
+
+Input article.layout
+
+Style Title
+  LatexType             Command
+  LatexName             settitle
+  InTitle               1
+  Preamble
+\newcommand{\settitle}[1]{\def\theTitle{#1}}
+  EndPreamble
+End
+
+Style Author
+  LatexType             Command
+  LatexName             setauthor
+  InTitle               1
+  Preamble
+\newcommand{\setauthor}[1]{\def\theAuthor{#1}}
+  EndPreamble
+End
+
+Style Address
+  LatexType             Command
+  LatexName             setaddress
+  Align                        Center
+  AlignPossible                Center
+  InTitle               1
+  Preamble
+\newcommand{\setaddress}[1]{\def\theAddress{#1}}
+  EndPreamble
+  Font 
+    Shape              Italic
+  EndFont
+End
+
+Style FrontMatter
+  CopyStyle             LaTeX
+  LaTeXType             Command
+  LaTeXName             setfrontmatter
+  InTitle               1
+  Preamble
+\newcommand{\setfrontmatter}[1]{\def\theFrontMatter{#1}}
+  EndPreamble
+End
+
+# Abstract style definition
+Style Abstract 
+  LatexType             Command
+  LatexName            setabstract
+  LabelType            Top_Environment
+  ParIndent             ""
+  LeftMargin           ""
+  RightMargin          ""
+  InTitle               1
+  Preamble
+\newcommand{\setabstract}[1]{\def\theAbstract{#1}\setboolean{hasAbstract}{true}}
+  EndPreamble
+End
+
+# Keyword style definition
+Style Keyword
+  Align                 Center
+  AlignPossible         Center
+  LatexType             Command
+  LatexName             setkeyword
+  InTitle               1
+  Preamble
+\newcommand{\setkeyword}[1]{\def\theKeyword{#1}\setboolean{hasKeyword}{true}}
+  EndPreamble
+  LabelType             Static
+  LabelString           "Key words:"
+  LabelSep              xx
+  
+  # standard font definition
+  Font 
+    Size               Small
+  EndFont
+
+  # label font definition
+  LabelFont 
+    Shape               Italic
+    Size                Small
+  EndFont
+End
+
+Preamble
+\usepackage{entcsmacro,ifthen}
+\newcommand{\theTitle}[1]{}
+\newcommand{\theAuthor}[1]{}
+\newcommand{\theAddress}[1]{}
+\newcommand{\theAbstract}[1]{}
+\newboolean{hasAbstract}
+\newcommand{\theKeyword}[1]{}
+\newboolean{hasKeyword}
+\newcommand{\theFrontMatter}[1]{}
+\newcommand{\maketitle}{
+ \begin{frontmatter}
+ \title{\theTitle}
+ \author{\theAuthor}
+ \address{\theAddress}
+ \ifthenelse{\boolean{hasAbstract}}{\begin{abstract}\theAbstract\end{abstract}}{}
+ \ifthenelse{\boolean{hasKeyword}}{\begin{keyword}\theKeyword\end{keyword}}{}
+ \theFrontMatter
+ \end{frontmatter}
+}
+EndPreamble