2001-06-07 14:04:23 +00:00
|
|
|
#% Do not delete the line below; configure depends on this
|
|
|
|
# \DeclareLaTeXClass{article (ENTCS)}
|
|
|
|
# Based on LyX article class; modified to support ENTCS class
|
2001-09-05 15:13:29 +00:00
|
|
|
# Reuben Thomas (rrt@sc3d.org) 27/5-2/6/01
|
2001-06-07 14:04:23 +00:00
|
|
|
|
2008-03-24 13:11:16 +00:00
|
|
|
Format 7
|
2001-06-07 14:04:23 +00:00
|
|
|
Input article.layout
|
|
|
|
|
2001-09-05 15:13:29 +00:00
|
|
|
# only font size 11pt is really available
|
|
|
|
ClassOptions
|
2003-05-02 08:55:48 +00:00
|
|
|
FontSize 11
|
2003-10-13 09:50:10 +00:00
|
|
|
End
|
2001-09-05 15:13:29 +00:00
|
|
|
|
2008-01-07 17:32:47 +00:00
|
|
|
Requires ifthen
|
|
|
|
|
2003-09-15 15:11:39 +00:00
|
|
|
Preamble
|
2008-01-07 17:32:47 +00:00
|
|
|
\usepackage{entcsmacro}
|
2003-09-15 15:11:39 +00:00
|
|
|
\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
|
|
|
|
|
2003-09-15 14:29:22 +00:00
|
|
|
|
2001-06-07 14:04:23 +00:00
|
|
|
Style Title
|
2003-05-02 08:55:48 +00:00
|
|
|
LatexType Command
|
|
|
|
LatexName settitle
|
|
|
|
InTitle 1
|
|
|
|
Preamble
|
2003-09-15 15:11:39 +00:00
|
|
|
\newcommand{\settitle}[1]{\def\theTitle{#1}}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2001-06-07 14:04:23 +00:00
|
|
|
End
|
|
|
|
|
2003-09-15 14:29:22 +00:00
|
|
|
|
2001-06-07 14:04:23 +00:00
|
|
|
Style Author
|
2003-05-02 08:55:48 +00:00
|
|
|
LatexType Command
|
|
|
|
LatexName setauthor
|
|
|
|
InTitle 1
|
|
|
|
Preamble
|
2003-09-15 15:11:39 +00:00
|
|
|
\newcommand{\setauthor}[1]{\def\theAuthor{#1}}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2001-06-07 14:04:23 +00:00
|
|
|
End
|
|
|
|
|
2003-09-15 14:29:22 +00:00
|
|
|
|
2001-06-07 14:04:23 +00:00
|
|
|
Style Address
|
2003-05-02 08:55:48 +00:00
|
|
|
LatexType Command
|
|
|
|
LatexName setaddress
|
|
|
|
Align Center
|
|
|
|
InTitle 1
|
|
|
|
Preamble
|
2003-09-15 15:11:39 +00:00
|
|
|
\newcommand{\setaddress}[1]{\def\theAddress{#1}}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2003-10-13 09:50:10 +00:00
|
|
|
Font
|
2003-05-02 08:55:48 +00:00
|
|
|
Shape Italic
|
|
|
|
EndFont
|
2001-06-07 14:04:23 +00:00
|
|
|
End
|
|
|
|
|
2003-09-15 14:29:22 +00:00
|
|
|
|
2001-06-07 14:04:23 +00:00
|
|
|
Style FrontMatter
|
2003-05-02 08:55:48 +00:00
|
|
|
CopyStyle LaTeX
|
|
|
|
LaTeXType Command
|
|
|
|
LaTeXName setfrontmatter
|
|
|
|
InTitle 1
|
|
|
|
Preamble
|
2003-09-15 15:11:39 +00:00
|
|
|
\newcommand{\setfrontmatter}[1]{\def\theFrontMatter{#1}}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2001-06-07 14:04:23 +00:00
|
|
|
End
|
|
|
|
|
2003-09-15 14:29:22 +00:00
|
|
|
|
2003-10-13 09:50:10 +00:00
|
|
|
Style Abstract
|
2003-05-02 08:55:48 +00:00
|
|
|
LatexType Command
|
|
|
|
LatexName setabstract
|
|
|
|
LabelType Top_Environment
|
|
|
|
ParIndent ""
|
|
|
|
LeftMargin ""
|
|
|
|
RightMargin ""
|
|
|
|
InTitle 1
|
|
|
|
Preamble
|
2003-09-15 15:11:39 +00:00
|
|
|
\newcommand{\setabstract}[1]{%
|
|
|
|
\def\theAbstract{#1}\setboolean{hasAbstract}{true}}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
2001-06-07 14:04:23 +00:00
|
|
|
End
|
|
|
|
|
2003-09-15 14:29:22 +00:00
|
|
|
|
2001-06-07 14:04:23 +00:00
|
|
|
Style Keyword
|
2003-05-02 08:55:48 +00:00
|
|
|
Align Center
|
|
|
|
LatexType Command
|
|
|
|
LatexName setkeyword
|
|
|
|
InTitle 1
|
|
|
|
Preamble
|
2003-09-15 15:11:39 +00:00
|
|
|
\newcommand{\setkeyword}[1]{%
|
|
|
|
\def\theKeyword{#1}\setboolean{hasKeyword}{true}}
|
2003-05-02 08:55:48 +00:00
|
|
|
EndPreamble
|
|
|
|
LabelType Static
|
|
|
|
LabelString "Key words:"
|
|
|
|
LabelSep xx
|
2003-10-13 09:50:10 +00:00
|
|
|
Font
|
2003-05-02 08:55:48 +00:00
|
|
|
Size Small
|
|
|
|
EndFont
|
2003-10-13 09:50:10 +00:00
|
|
|
LabelFont
|
2003-05-02 08:55:48 +00:00
|
|
|
Shape Italic
|
|
|
|
Size Small
|
|
|
|
EndFont
|
2001-06-07 14:04:23 +00:00
|
|
|
End
|