From: Jean-Marc Lasgouttes Date: Thu, 7 Jun 2001 14:04:23 +0000 (+0000) Subject: encts class X-Git-Tag: 1.6.10~21199 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5735d58b2759ed131acf0f8ecd50ad4f8d8e0580;p=features.git encts class git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2097 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/CREDITS b/lib/CREDITS index 5e47793e2c..aaa214e2f4 100644 --- a/lib/CREDITS +++ b/lib/CREDITS @@ -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. diff --git a/lib/ChangeLog b/lib/ChangeLog index 9d2c651a72..0b840df4d2 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,10 @@ +2001-06-07 Jean-Marc Lasgouttes + + * 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 * bind/xemacs.bind: allow asciitilde to be used with or without diff --git a/lib/doc/LaTeXConfig.lyx.in b/lib/doc/LaTeXConfig.lyx.in index 7681cefe95..0485ffa879 100644 --- a/lib/doc/LaTeXConfig.lyx.in +++ b/lib/doc/LaTeXConfig.lyx.in @@ -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 index 0000000000..b84ff6e3d2 --- /dev/null +++ b/lib/layouts/encts.layout @@ -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