encts class

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2097 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-06-07 14:04:23 +00:00
parent d22cfe52d4
commit 5735d58b27
4 changed files with 151 additions and 1 deletions

View File

@ -154,6 +154,9 @@
@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
@ -208,6 +211,10 @@
@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.

View 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

View 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

110
lib/layouts/encts.layout Normal file
View File

@ -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