1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass{article (ENTCS)}
3 # Based on LyX article class; modified to support ENTCS class
4 # Reuben Thomas (rrt@sc3d.org) 27/5-2/6/01
8 # only font size 11pt is really available
18 \newcommand{\settitle}[1]{\def\theTitle{#1}}
27 \newcommand{\setauthor}[1]{\def\theAuthor{#1}}
38 \newcommand{\setaddress}[1]{\def\theAddress{#1}}
48 LaTeXName setfrontmatter
51 \newcommand{\setfrontmatter}[1]{\def\theFrontMatter{#1}}
55 # Abstract style definition
59 LabelType Top_Environment
65 \newcommand{\setabstract}[1]{\def\theAbstract{#1}\setboolean{hasAbstract}{true}}
69 # Keyword style definition
77 \newcommand{\setkeyword}[1]{\def\theKeyword{#1}\setboolean{hasKeyword}{true}}
80 LabelString "Key words:"
83 # standard font definition
88 # label font definition
96 \usepackage{entcsmacro,ifthen}
97 \newcommand{\theTitle}[1]{}
98 \newcommand{\theAuthor}[1]{}
99 \newcommand{\theAddress}[1]{}
100 \newcommand{\theAbstract}[1]{}
101 \newboolean{hasAbstract}
102 \newcommand{\theKeyword}[1]{}
103 \newboolean{hasKeyword}
104 \newcommand{\theFrontMatter}[1]{}
105 \newcommand{\maketitle}{
109 \address{\theAddress}
110 \ifthenelse{\boolean{hasAbstract}}{\begin{abstract}\theAbstract\end{abstract}}{}
111 \ifthenelse{\boolean{hasKeyword}}{\begin{keyword}\theKeyword\end{keyword}}{}