/usr/share/lyx/layouts/entcs.layout is in lyx-common 2.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | #% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[entcs,amssymb.sty,entcsmacro.sty,hyperref.sty,ifpdf.sty,latexsym.sty,newlfont.sty]{Electronic Notes in Theor. Comp. Sc. (ENTCS)}
# \DeclareCategory{Articles}
# Based on LyX article class; modified to support ENTCS class
# Reuben Thomas (rrt@sc3d.org) 27/5-2/6/01
Format 60
Input article.layout
# only font size 11pt is really available
ClassOptions
FontSize 11
End
Requires ifthen
Preamble
\usepackage{entcsmacro}
\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
Style Title
LatexType Command
LatexName settitle
InTitle 1
Preamble
\newcommand{\settitle}[1]{\def\theTitle{#1}}
EndPreamble
HTMLTitle true
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
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
Style Abstract
LatexType Command
LatexName setabstract
LabelType Above
ParIndent ""
LeftMargin ""
RightMargin ""
InTitle 1
Preamble
\newcommand{\setabstract}[1]{%
\def\theAbstract{#1}\setboolean{hasAbstract}{true}}
EndPreamble
End
Style Keyword
Align 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
Font
Size Small
EndFont
LabelFont
Shape Italic
Size Small
EndFont
End
|