]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/acmart.layout
Make continuous spellcheck the default.
[lyx.git] / lib / layouts / acmart.layout
index 5b5903b4c73f924073f66362f4475af8fd43a4cd..5f41c3e2a01c9ece0a4c8c38db14e557cab1593d 100644 (file)
@@ -1,13 +1,15 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[acmart]{Association for Computing Machinery (ACM) article}
+#  \DeclareLaTeXClass[acmart]{Association for Computing Machinery (ACM)}
 #  \DeclareCategory{Articles}
 #
 # Layout for typesetting publications of the Association for Computing Machinery.
 #
 # Author : John Perry <john.perry@usm.edu>
 #          Guillaume Munch-Maccagnoni <gm@lyx.org>
+# Reviewed following tickets #10722 & #10723
+#          by Jean-Pierre Chrétien <jpc@lyx.org>
 
-Format 60
+Format 93
 
 Provides amscls 1
 Provides amsmath 1
@@ -30,6 +32,7 @@ Provides ifxetex 1
 Provides inconsolata 1
 Provides latex-tools 1
 Provides libertine 1
+Provides makeidx 1
 Provides manyfoot 1
 Provides microtype 1
 Provides mmap 1
@@ -89,7 +92,7 @@ Style Thanks
     Family Roman
   EndFont
   LabelFont
-    Color Blue
+    Color textlabel1
     Shape Italic
     Family Roman
   EndFont
@@ -108,7 +111,7 @@ Style ACM_Journal
   LabelString "Journal's Short Name: "
   LabelType Static
   LabelFont
-    Color Blue
+    Color textlabel1
     Shape Italic
   EndFont
   LatexName acmJournal
@@ -143,11 +146,15 @@ Style Title
   Argument 1
     LabelString "Short title"
     Mandatory 0
+       # TODO: In DocBook, output it in a titleabbrev outside this title.
   EndArgument
   Font
     Size Largest
   EndFont
   DependsOn Abstract
+  DocBookTag      title
+  DocBookTagType  paragraph
+  DocBookInInfo   maybe
 End
 
 Style Subtitle
@@ -161,6 +168,8 @@ Style Subtitle
     Size Larger
     Family Roman
   EndFont
+  DocBookTag            subtitle
+  DocBookInInfo         maybe
 End
 
 Style Email
@@ -175,7 +184,7 @@ Style Email
   LabelString "Email address: "
   LabelType Static
   LabelFont
-    Color Blue
+    Color textlabel1
     Shape Italic
     Family Roman
   EndFont
@@ -191,7 +200,7 @@ Style ORCID
     Family Roman
   EndFont
   LabelFont
-    Color Blue
+    Color textlabel1
     Shape Italic
   EndFont
   LatexName orcid
@@ -203,7 +212,7 @@ Style Affiliation
     Family Roman
   EndFont
   LabelFont
-    Color Blue
+    Color textlabel1
     Shape Italic
   EndFont
   LabelString "Affiliation: "
@@ -287,7 +296,7 @@ Style TitleNote
   EndFont
   LabelFont
     Family Roman
-    Color Blue
+    Color textlabel1
     Shape Italic
   EndFont
   LabelString "Title Note: "
@@ -304,37 +313,37 @@ End
 
 Style AuthorNote
   CopyStyle TitleNote
-  LabelString "Author Note: "
+  LabelString "Note: "
   LatexName authornote
 End
 
 Style ACM_Volume
   CopyStyle ACM_Journal
-  LabelString "ACM Volume: "
+  LabelString "Volume: "
   LatexName acmVolume
 End
 
 Style ACM_Number
   CopyStyle ACM_Journal
-  LabelString "ACM Number: "
+  LabelString "Number: "
   LatexName acmNumber
 End
 
 Style ACM_Article
   CopyStyle ACM_Journal
-  LabelString "ACM Article: "
+  LabelString "Article: "
   LatexName acmArticle
 End
 
 Style ACM_Year
   CopyStyle ACM_Journal
-  LabelString "ACM Year: "
+  LabelString "Year: "
   LatexName acmYear
 End
 
 Style ACM_Month
   CopyStyle ACM_Journal
-  LabelString "ACM Month: "
+  LabelString "Month: "
   LatexName acmMonth
 End
 
@@ -346,19 +355,19 @@ End
 
 Style ACM_Submission_ID
   CopyStyle ACM_Journal
-  LabelString "ACM Submission ID: "
+  LabelString "Submission ID: "
   LatexName acmSubmissionID
 End
 
 Style ACM_Price
   CopyStyle ACM_Journal
-  LabelString "ACM Price: "
+  LabelString "Price: "
   LatexName acmPrice
 End
 
 Style ACM_ISBN
   CopyStyle ACM_Journal
-  LabelString "ACM ISBN: "
+  LabelString "ISBN: "
   LatexName acmISBN
 End
 
@@ -404,7 +413,7 @@ Style CCSXML
   LatexType Environment
   Font
     Family Typewriter
-    Color blue
+    Color textlabel1
     Shape Italic
   EndFont
   FreeSpacing 1
@@ -429,7 +438,7 @@ Style CCS_Description
   LatexName ccsdesc
   Font
     Family Typewriter
-    Color Blue
+    Color textlabel1
     Shape Italic
   EndFont
   LabelFont
@@ -485,7 +494,7 @@ Style ShortAuthors
   Margin Dynamic
   LabelFont
     Family Roman
-    Color blue
+    Color textlabel1
     Shape Italic
   EndFont
   Preamble
@@ -494,33 +503,8 @@ Style ShortAuthors
   LatexName redefineshortauthors
 End
 
-Float
-       Type                  table*
-       GuiName               "Two-column table"
-       Placement             tbp
-       Extension             lot
-       NumberWithin          none
-       Style                 plain
-       ListName              "List of Tables"
-       IsPredefined          true
-       UsesFloatPkg          false
-       ListCommand           listoftables
-       RefPrefix             tab
-End
 
-Float
-  Type                  figure*
-  GuiName               "Two-column figure"
-  Placement             tbp
-  Extension             lof
-  NumberWithin          none
-  Style                 plain
-  ListName              "List of Figures"
-  IsPredefined          true
-  UsesFloatPkg          false
-  ListCommand           listoffigures
-  RefPrefix             fig
-End
+OutlinerName sidebar    "Sidebar" #no AddToToc
 
 Float
   Type                  sidebar
@@ -560,6 +544,11 @@ End
 
 OutlinerName thm "Definitions & Theorems"
 
+Counter theorem
+       GuiName Theorem
+       Within                section
+End
+
 Style Theorem
        Category              Reasoning
        Margin                First_Dynamic
@@ -678,6 +667,9 @@ Style Acknowledgments
     Series Bold
     Size Large
   EndFont
+  DocBookTag            para
+  DocBookWrapperTag     acknowledgements
+  DocBookSection        true
 End
 
 InsetLayout Flex:Grant_Sponsor