X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fentcs.layout;h=b10589720b40fda84a952c8752f28499981157fa;hb=9c8955ffd9df1a38a617bcbdf011c7b890ea23d1;hp=2073b52af664859f6894530a772490d442f24db1;hpb=2f9bf6b92b67c8301fb8878961d258b0bde38a9e;p=lyx.git diff --git a/lib/layouts/entcs.layout b/lib/layouts/entcs.layout index 2073b52af6..b10589720b 100644 --- a/lib/layouts/entcs.layout +++ b/lib/layouts/entcs.layout @@ -1,9 +1,10 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass{article (ENTCS)} +# \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 3 +Format 45 Input article.layout # only font size 11pt is really available @@ -11,8 +12,10 @@ ClassOptions FontSize 11 End +Requires ifthen + Preamble - \usepackage{entcsmacro,ifthen} + \usepackage{entcsmacro} \newcommand{\theTitle}[1]{} \newcommand{\theAuthor}[1]{} \newcommand{\theAddress}[1]{} @@ -41,6 +44,7 @@ Style Title Preamble \newcommand{\settitle}[1]{\def\theTitle{#1}} EndPreamble + HTMLTitle true End @@ -58,7 +62,6 @@ Style Address LatexType Command LatexName setaddress Align Center - AlignPossible Center InTitle 1 Preamble \newcommand{\setaddress}[1]{\def\theAddress{#1}} @@ -70,7 +73,7 @@ End Style FrontMatter - CopyStyle LaTeX +# CopyStyle LaTeX LaTeXType Command LaTeXName setfrontmatter InTitle 1 @@ -83,7 +86,7 @@ End Style Abstract LatexType Command LatexName setabstract - LabelType Top_Environment + LabelType Above ParIndent "" LeftMargin "" RightMargin "" @@ -97,7 +100,6 @@ End Style Keyword Align Center - AlignPossible Center LatexType Command LatexName setkeyword InTitle 1