#% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[dalthesis]{Dal Thesis} # Dal thesis textclass definition file, # version of Oct 17, 2001 # To be used in LyX with Clyde Clements' dalthesis.cls # Tested with LyX 1.1.6fix3 # By Sergey Missan # # Copy this file into /usr/share/lyx/layouts # Copy all *.lyx files into /usr/share/lyx/templates # Select Edit/Reconfigure in Lyx and restart Lyx after # Select New from Template in Lyx and select thesis.lyx # Enjoy! # # ToDo/Bugs # Convocation is screwed (don't know how to handle {}{}) # # Layout is based on original work by Nien-Po Chen # General textclass parameters Columns 1 Sides 1 PageStyle Headers MaxCounter Counter_Chapter # Default textclass options. The user may need to modify this. ClassOptions Other "noblankpages" End # 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 ########## Read in LyX standard definitions Input stdclass.inc ########## LISTS (included in stdclass.inc) # Input stdlists.inc ########### Sections (included in stdclass.inc) # Input stdsections.inc #### unumbered sections, based on the numbered ones (in stdclass.inc) # Input stdstarsections.inc # remove the layouts that do not make sense. NoStyle Subparagraph NoStyle Subparagraph* ########### STRUCTURE OF THE DOCUMENT (in stdclass.inc) # Input stdstruct.inc NoStyle Verse NoStyle Date # Title style re-definition Style Title InTitle 0 # standard font definition Font Series Bold Size Largest EndFont End # Author style re-definition Style Author InTitle 0 Align Center TopSep 1 BottomSep 1 LabelType static LabelString "(Author:)" LabelSep xxx #label font definition LabelFont size large color blue EndFont End # Supervisor style definition Style Supervisor LatexName supervisor LatexType Command Align Center TopSep 1 BottomSep 1 LabelType static LabelString "(Supervisor:)" LabelSep xxx #label font definition LabelFont size normal color blue EndFont End # First reader style definition Style FirstReader LatexName firstreader LatexType Command Align Center TopSep 1 BottomSep 1 LabelType static LabelString "(First reader:)" LabelSep xxx #label font definition LabelFont size normal color blue EndFont End # Second reader style definition Style SecondReader LatexName secondreader LatexType Command Align Center TopSep 1 BottomSep 1 LabelType static LabelString "(Second reader:)" LabelSep xxx #label font definition LabelFont size normal color blue EndFont End # Second reader style definition Style Examiner LatexName examiner LatexType Command Align Center TopSep 1 BottomSep 1 LabelType static LabelString "(Examiner:)" LabelSep xxx #label font definition LabelFont size normal color blue EndFont End # Submit_Date style definition Style Submit_Date LatexName submitdate LatexType Command Align Center TopSep 1 BottomSep 1 LabelType static LabelString "(Submit date:)" LabelSep xxx #label font definition LabelFont size large color magenta EndFont End # Copy_Year date style definition Style Copy_Year LatexName copyrightyear LatexType Command Align Center TopSep 1 BottomSep 1 LabelType static LabelString "(Copyright year:)" LabelSep xxx #label font definition LabelFont size large color magenta EndFont End # Convocation style re-definition Style Convocation LatexName convocation LatexType Command Align Center TopSep 1 BottomSep 1 LabelType static LabelString "(Convocation:)" LabelSep xxx #label font definition LabelFont size large color magenta EndFont End # Dedication style definition Style Dedication LatexName dedicate LatexType Command Align Center TopSep 1 BottomSep 1 LabelType static LabelString "(Dedication:)" LabelSep xxx #label font definition LabelFont size normal color red EndFont End # Acknowledgements style definition Style Acknowledgments LatexName acknowledgements LatexType Environment Margin Static NextNoIndent 1 LeftMargin MMM RightMargin MMM ParIndent MM ItemSep 0 TopSep 0.7 BottomSep 0.7 ParSep 0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelBottomSep 0.5 LabelString "ACKNOWLEDGMENTS" # label font definition LabelFont Size Normal EndFont End # Abstract style definition # based on the abstract in stdstruct.inc Style Abstract LatexType Environment LatexName abstract Margin Static NextNoIndent 1 LeftMargin MMM RightMargin MMM ParIndent MM ItemSep 0 TopSep 0.7 BottomSep 0.7 ParSep 0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelBottomSep 0.5 LabelString "ABSTRACT" # label font definition LabelFont Size normal EndFont End # Abbreviations style definition # based on the abstract in stdstruct.inc Style Abbreviations LatexType Environment LatexName abbreviations Margin Static NextNoIndent 1 LeftMargin MMM RightMargin MMM ParIndent MM ItemSep 0 TopSep 0.7 BottomSep 0.7 ParSep 0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelBottomSep 0.5 LabelString "ABBREVIATIONS" # label font definition LabelFont Size Large EndFont End # Preface style definition # based on the abstract in stdstruct.inc Style BeforePreface LatexType Command LatexName beforepreface KeepEmpty 1 Margin Static NextNoIndent 1 LeftMargin MMM RightMargin MMM ParIndent MM ItemSep 0 TopSep 0.7 BottomSep 0.7 ParSep 0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelBottomSep 0.5 LabelString "BEFORE PREFACE" # label font definition LabelFont Size normal EndFont End # Preface style definition # based on the abstract in stdstruct.inc Style AfterPreface LatexType Command LatexName afterpreface KeepEmpty 1 Margin Static NextNoIndent 1 LeftMargin MMM RightMargin MMM ParIndent MM ItemSep 0 TopSep 0.7 BottomSep 0.7 ParSep 0 Align Block AlignPossible Block LabelType Centered_Top_Environment LabelBottomSep 0.5 LabelString "AFTER PREFACE" # label font definition LabelFont Size normal EndFont End Style ShortCaption CopyStyle Caption LatexName setshortcaption LabelString "Short Caption:" LabelType Static Preamble \let\oldcaption=\caption \renewcommand{\caption}[1]{ \ifx \shortcaption \undefined \oldcaption{#1} \else \oldcaption[\shortcaption]{#1} \fi } \newcommand{\setshortcaption}[1]{ \newcommand{\shortcaption}{#1} } EndPreamble End