Hi, I have a layout file for SVMult.cls which is for manuscript of a contributed book from Springer Verlag (http://www.springer.com/sgw/cda/frontpage/0,,5-40020-2-71415-0,00.html). Is it possible to merge the layout file to an appropriate LyX version? -- Koji Yokota ([EMAIL PROTECTED]) Otaru University of Commerce |
#% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[svmult]{article (SVMult)} # Author: Koji Yokota <[EMAIL PROTECTED]> # based on amsart.layout
# Input general definitions Input svmultclass.inc ClassOptions PageStyle "" FontSize 10 End # There are no chapters in an article. NoStyle Part NoStyle Part* NoStyle Chapter NoStyle Chapter* MaxCounter Counter_Chapter SecNumDepth 4 TocDepth 4 # The AMS documentclasses use the package amsmath and provide the # functionality of makeidx.sty. ProvidesAmsmath 1 ProvidesMakeidx 1 Preamble \usepackage{amsmath} EndPreamble ### Now the title stuff. We copy do not use stdstruct.inc to keep ### things in the right order ### Styles available #Title #Title* #TOC Title #Title in Running Head #TOC Author #Author #Author in Running Head #Date #Abstract #Address #Current_Address #Institute #URL #Keywords #Thanks #Dedicatory #Translator #Subjectclass #Bibliography #List of Abbreviations & Symbols #Petit # Abstract style definition Style Abstract Margin First_Dynamic LatexType Environment InTitle 1 LatexName abstract LeftMargin MMM LabelIndent MMM RightMargin MMM ParIndent MM TopSep 0.7 BottomSep 0.7 Align Block AlignPossible Block LabelType Static LabelString Abstract. LabelSep M # standard font definition Font Size Small EndFont # label font definition LabelFont Shape Smallcaps EndFont End # Institute style definition Style Institute Margin First_Dynamic LatexType Command InTitle 1 LatexName institute ParSkip 0.4 BottomSep 1.5 ParSep 1.5 Align Left AlignPossible Block, Left, Right, Center LabelType Static labelString "Institute and e-mail: " LabelFont Shape Italic EndFont End # Keywords style definition Style Keywords Margin Dynamic LatexType Command InTitle 1 LatexName keywords ParSkip 0.4 BottomSep 1.5 ParSep 1.5 Align Left AlignPossible Block, Left, Right, Center LabelType Static LabelString "Key words and phrases: " # label font definition LabelFont Shape Italic EndFont End # Thanks style definition Style Thanks Margin Dynamic LatexType Command InTitle 1 LatexName thanks ParSkip 0.4 BottomSep 1.5 ParSep 1.5 Align Left AlignPossible Block, Left, Right, Center LabelType Static LabelString "Thanks: " # label font definition LabelFont Shape Italic EndFont End # Bibliography style definition Style Bibliography Margin First_Dynamic LatexType Item_Environment LatexName thebibliography NextNoIndent 1 LeftMargin MM ParSkip 0.4 ItemSep 0 TopSep 0.7 BottomSep 0.7 ParSep 0.5 Align Block AlignPossible Block, Left LabelType Bibliography LabelString References LabelBottomSep 0.7 # standard font definition Font Size Small EndFont # label font definition LabelFont Size Normal Shape Smallcaps EndFont End Style "List of Abbreviations & Symbols" CopyStyle Description LatexName abbrsymblist End Style Petit CopyStyle Standard LatexType Environment LatexName petit LeftMargin MMM RightMargin MMM Font Size Small FontEnd End # Including the maths stuff Input svmultmaths.inc
# Author : David L. Johnson <[EMAIL PROTECTED]> # Probably broken by Jean-Marc Lasgouttes <[EMAIL PROTECTED]> # modified and modularized by Emmanuel GUREGHIAN <[EMAIL PROTECTED]> # Further modified for SVMult by Koji Yokota <[EMAIL PROTECTED]> # This version has Theorems and other results numbered in one sequence, and all # numbered environments (figures as well) containing the section number. # (Themorem (1.1), Corollary (1.2) Theorem (1.3), etc. # These are only the theorems styles environnements # The environnements defined are : # - Theorem # - Theorem* # - Corollary # - Corollary* # - Lemma # - Lemma* # - Proposition # - Proposition* # - Conjecture # - Conjecture* # - Definition # - Definition* # - Example # - Example* # - Problem # - Exercise # - Remark # - Remark* # - Note # - Note* # - Claim # - Summary # - Acknowledgement # - Acknowledgement* # - Case # - Conclusion # - Conclusion* # - Property # - Question # - Solution # Theorem-numbered style declaration Style Theorem Margin First_Dynamic LatexType Environment LatexName theorem NextNoIndent 1 LabelSep xx ParIndent MMM ParSkip 0.4 ItemSep 0.2 TopSep 0.7 BottomSep 0.7 ParSep 0.3 Align Block AlignPossible Block, Left LabelType Static LabelString "Theorem #." # standard font definition Font Shape Italic Size Normal EndFont # label font definition LabelFont Shape Up Series Bold EndFont End # Corollary-numbered style declaration Style Corollary CopyStyle Theorem LatexName corollary LabelString "Corollary #." End # Lemma-numbered style declaration Style Lemma CopyStyle Theorem LatexName lemma LabelString "Lemma #." End # Proposition-numbered style declaration Style Proposition CopyStyle Theorem LatexName proposition LabelString "Proposition #." End # Proof style declaration Style Proof Margin First_Dynamic LatexType Environment LatexName proof NextNoIndent 1 LabelSep xx ParIndent MMM ParSkip 0.4 ItemSep 0.2 TopSep 0.7 BottomSep 0.7 ParSep 0.3 Align Block AlignPossible Block, Left LabelType Static LabelString "Proof." # standard font definition Font Shape Up Size Normal EndFont # label font definition LabelFont Shape Italic EndFont # We don't want the preamble from Theorem Preamble EndPreamble End Style Proof(QED) CopyStyle Proof LatexName lyxproof EndLabelType Box Preamble \newenvironment{lyxproof}{\begin{proof}}{\qed\end{proof}} EndPreamble End Style Proof(smartQED) CopyStyle Proof LatexName lyxproof2 EndLabelType Filled_Box Preamble \newenvironment{lyxproof2}{\begin{proof}}{\smartqed\qed\end{proof}} EndPreamble End # Conjecture-numbered style declaration Style Conjecture CopyStyle Theorem LatexName conjecture LabelString "Conjecture #." End # Property-numbered style declaration Style Property CopyStyle Theorem LatexName property LabelString "Property #." End # Definition-numbered style declaration Style Definition CopyStyle Theorem LatexName definition LabelString "Definition #." # standard font definition Font Shape Up EndFont # label font definition LabelFont Shape Up Series Bold EndFont End # Remark-numbered style declaration Style Remark CopyStyle Theorem LatexName remark LabelString "Remark #." # standard font definition Font Shape Up Size Normal EndFont # label font definition LabelFont Series Medium Shape Italic EndFont End # Claim-unnumbered style declaration Style Claim CopyStyle Remark LatexName claim LabelString "Claim." End # Note-numbered style declaration Style Note CopyStyle Remark LatexName note LabelString "Note #." End # Example-numbered style declaration Style Example CopyStyle Definition LatexName example LabelString "Example #." End # Case-numbered style declaration Style Case CopyStyle Definition LatexName case LabelString "Case #." End # Problem-numbered style declaration Style Problem CopyStyle Definition LatexName problem LabelString "Problem #." End # Question-numbered style declaration Style Question CopyStyle Theorem LatexName question LabelString "Question #." End # Exercise-numbered style declaration Style Exercise CopyStyle Definition LatexName exercise LabelString "Exercise #." End # Solution-numbered style declaration Style Solution CopyStyle Definition LatexName solution LabelString "Solution #." End
# Standard textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich <[EMAIL PROTECTED]> # Transposed by Pascal Andrï¿X<[EMAIL PROTECTED]> # Heavily modifed and enhanced by several developers. # Modified for SVMult by Koji Yokota <[EMAIL PROTECTED]> # This is a base layout which is designed to be included from other # ``standard'' layouts, like article and friends. # General textclass parameters Columns 1 Sides 1 SecNumDepth 2 TocDepth 2 DefaultStyle Standard # This is just to show how to declare the default font. # The defaults are exactly those shown here. DefaultFont Family Roman Series Medium Shape Up Size Normal Color None EndFont # Standard style definition Style Standard Margin Static LatexType Paragraph LatexName dummy ParIndent MM ParSkip 0.4 Align Block AlignPossible Block, Left, Right, Center LabelType No_Label End Input stdlists.inc Input stdsections.inc Input stdstarsections.inc Input svmulttitle.inc Input stdstruct.inc Input lyxmacros.inc Input stdlayouts.inc Input stdfloats.inc Input stdcounters.inc Input obsolete.inc
# Title stuff # Author: Koji Yokota <[EMAIL PROTECTED]> # Based on stdtitle.inc # Title style variants Style Title Margin Static LatexType Command InTitle 1 LatexName title ParSkip 0.4 ItemSep 0 TopSep 0 BottomSep 1 ParSep 1 Align Center AlignPossible Center LabelType Counter_Chapter # standard font definition Font Shape Smallcaps Series Bold Size Larger EndFont End Style Title* CopyStyle Title Margin Static LatexName title* LabelType No_Label OptionalArgs 0 End Style "TOC Title" Margin First_Dynamic LatexType Command InTitle 1 ParSkip 0.4 BottomSep 1.5 ParSep 1.5 Align Left AlignPossible Block, Left, Right, Center LabelType Static LatexName toctitle LabelString "Title to appear in TOC: " Font Color blue EndFont LabelFont Shape Italic EndFont End Style "Title in Running Head" CopyStyle "TOC Title" LatexName titlerunning LabelString "Title to appear in heading: " End # Author style variants Style Author Margin Static LatexType Command InTitle 1 LatexName author LabelSep xxx ParSkip 0.4 TopSep 1.3 BottomSep 0.7 ParSep 0.7 Align Center AlignPossible Center LabelType No_Label # standard font definition Font Size Large Shape Smallcaps EndFont End Style "TOC Author" CopyStyle "TOC Title" LatexName tocauthor LabelString "Author to appear in TOC: " End Style "Author in Running Head" CopyStyle "TOC Title" LatexName authorrunning LabelString "Author to appear in heading: " End # Date style definition Style Date Margin Dynamic LatexType Command InTitle 1 LatexName date LabelSep xxx ParSkip 0.4 TopSep 0.9 BottomSep 0.5 ParSep 1 Align Center AlignPossible Center LabelType Static LabelString "Date: " # standard font definition Font Size Large EndFont LabelFont Shape Italic Size Large EndFont End