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
13 \newcommand{\settitle}[1]{\def\theTitle{#1}}
22 \newcommand{\setauthor}[1]{\def\theAuthor{#1}}
33 \newcommand{\setaddress}[1]{\def\theAddress{#1}}
43 LaTeXName setfrontmatter
46 \newcommand{\setfrontmatter}[1]{\def\theFrontMatter{#1}}
50 # Abstract style definition
54 LabelType Top_Environment
60 \newcommand{\setabstract}[1]{\def\theAbstract{#1}\setboolean{hasAbstract}{true}}
64 # Keyword style definition
72 \newcommand{\setkeyword}[1]{\def\theKeyword{#1}\setboolean{hasKeyword}{true}}
75 LabelString "Key words:"
78 # standard font definition
83 # label font definition
91 \usepackage{entcsmacro,ifthen}
92 \newcommand{\theTitle}[1]{}
93 \newcommand{\theAuthor}[1]{}
94 \newcommand{\theAddress}[1]{}
95 \newcommand{\theAbstract}[1]{}
96 \newboolean{hasAbstract}
97 \newcommand{\theKeyword}[1]{}
98 \newboolean{hasKeyword}
99 \newcommand{\theFrontMatter}[1]{}
100 \newcommand{\maketitle}{
104 \address{\theAddress}
105 \ifthenelse{\boolean{hasAbstract}}{\begin{abstract}\theAbstract\end{abstract}}{}
106 \ifthenelse{\boolean{hasKeyword}}{\begin{keyword}\theKeyword\end{keyword}}{}