Bonjour,

J'ai installé le layout Lyxbook trouvé ici: http://wiki.lyx.org/Layouts/Layouts

Je l'ai trouvé très pratique (pour les livres). Comme je n'arrivais pas à l'utiliser en français, j'ai bidouillé les fichiers et ça fonctionne très bien. Je me suis dit que ça pourrait intéresser quelqu'un, à tout hasard... En pièce-jointe. Je précise que je n'ai aucune compétence pour ce genre de bidouillage, donc si ce n'est pas fait comme il faut (dans les règles de l'art), il ne faudra pas m'en vouloir.


#% Do not delete the line below; LyX configure depends on this
#  \DeclareLaTeXClass[memoir]{book (LyXBook--Default-french)}
# Book textclass definition file. Taken from initial LyX source code

# This LyX layout is designed specifically for typesetting books.
# It was created by Jack Lyon of the Editorium:
# http://www.editorium.com

# This layout is compatible with the Editorium's LyXConverter,
# a Microsoft Word add-in for converting Word documents
# into LyX documents for the purpose of typesetting books:
# http://www.editorium.com/lyxconverter.htm

# This layout is released under a Creative Commons license:
# Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)
# http://creativecommons.org/licenses/by-nc/3.0/
# Attribution must include the following three lines:
# LyXBook layouts, modules, and documentation copyright � 2013 by the 
Editorium. All rights reserved.
# LyXBook� is a trademark of the Editorium:
# http://www.editorium.com

# This file was created in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 

#------------------------------------
# LyX commands.
#------------------------------------

Format 35                  #This is specific to the LyX version.
Columns            1
Sides              2
PageStyle          Default
DefaultStyle       Standard
DefaultModule      Endnote

ClassOptions
        FontSize             9|10|11|12|14|17
End

# Import other layouts:
Input stdclass.inc #Includes Standard style and loads a bunch of other .inc 
files, including stdlayouts.inc, which includes Quotation, Quote, and Verse 
styles.
Input lyxmacros.inc
Input stdinsets.inc
Input stdlists.inc
Input stdcounters.inc
Input stdfloats.inc
Input stdsections.inc
Input stdstarsections.inc
Input numreport.inc
# Many .inc files load other .inc files, so it's difficult to tell what's 
really loaded and what's not.
# Eliminate unwanted LyX styles from loaded layouts.
# Or just don't load the layouts to begin with.
# But we want to keep LyX as functional as possible, so this is better:
 NoStyle Title
 NoStyle Author
# NoStyle Part
# NoStyle Part*
# NoStyle Chapter
# NoStyle Chapter*
# NoStyle Section
 NoStyle Section*
 NoStyle Subsection
 NoStyle Subsection*
 NoStyle Subsubsection
 NoStyle Subsubsection*
 NoStyle Paragraph
 NoStyle Paragraph*
 NoStyle Subparagraph
 NoStyle Subparagraph*
 NoStyle Quotation
 NoStyle Quote
 NoStyle Verse
 NoStyle LyX-Code
 NoStyle Description
 NoStyle List
 NoStyle --Separator--
 NoStyle Date
 NoStyle Abstract
 NoStyle Address
 NoStyle "Right Address"
 NoStyle Bibliography
 NoStyle Standard

#=============================================

# The following creates the environment (style) or command *in LyX.* It has 
nothing to do with LaTeX.
# See LyX > Help > Customization for the various parameters available.
# If one of the regular LyX styles is loaded above (e.g., Section) and not 
removed with NoStyle,
# setting up a custom style with the same name (as below) overrides the 
attributes of the original style
# *if the those attributes are set* in the custom style.
# If they are NOT set, LyX uses the attributes of the original style.
# For example, if a LyX style is set in the default color (black),
# a custom style can override that color to display the style in blue.
# Any attributes *not* specified simply use those in the original style.
# If NoStyle is used to nullify the original style, only the attributes of the 
custom style are used.
# Does LyX's Customization documentation mention this?
# Well, yes, but not in an obvious way:
# ----------------------------------------------
# Style
# This sequence defines a paragraph style.
# If the style does not yet exist, it is created;
# if it does exist, its parameters are modified.
# ----------------------------------------------
# That last line is really important!

#=============================================

Style Standard
        Category                          Standard
        Margin                Static
    LatexType             Environment
    LatexName             Standard
        ParIndent             MM
        Align                 Block
        AlignPossible         Block, Left, Right, Center
End

Style "Standard 2"
        Category                          Standard
        Margin                Static
    LatexType             Environment
    LatexName             Standard2
        ParIndent             MM
        Align                 Block
        AlignPossible         Block, Left, Right, Center
  Font
    Family                              Sans
        Color                           Magenta
  EndFont
End

Style "Text Break"
  Category                                Standard
        Margin                Static
    LatexType             Environment
    LatexName             TextBreak
        Align                 Center
        AlignPossible         Block, Left, Right, Center
        TopSep                            1
        BottomSep                         1
  Font
    Family                                Sans
        Color                             Cyan
  EndFont
End

#=============================================

Style Part
  Category                              Part
  OptionalArgs          2
  LatexType             command #Note this!
  LatexName             part
  LabelType                             No_Label
  TopSep                                3
  BottomSep                     1
  Align                 Center
  AlignPossible         Block, Left, Right, Center
  Font
    Size                Largest
        Color                           Red
  EndFont
End

Style Part*
  Category                              Part
  OptionalArgs          2
  LatexType             command #Note this!
  LatexName             part*
  LabelType                             No_Label
  TopSep                                3
  BottomSep                     1
  Align                 Center
  AlignPossible         Block, Left, Right, Center
  Font
    Size                Largest
        Color                           Red
  EndFont
End

#=============================================

Style Chapter
  Category                              Chapter
  OptionalArgs          2
  LatexType             command #Note this!
  LatexName             chapter
  LabelType                             No_Label
  TopSep                                3
  BottomSep                     1
  Align                 Center
  AlignPossible         Block, Left, Right, Center
  Font
    Size                Largest
        Color                           Blue
  EndFont
End

Style Chapter*
  Category                              Chapter
  OptionalArgs          2
  LatexType             command #Note this!
  LatexName             chapter*
  LabelType                             No_Label
  TopSep                                3
  BottomSep                     1
  Align                 Center
  AlignPossible         Block, Left, Right, Center
  Font
    Size                Largest
        Color                           Cyan
  EndFont
End

Style "Chapter Subtitle"
    Category                      Chapter
        Margin                Static
    LatexType             Environment
    LatexName             ChapterSubtitle
    TopSep                            1
    BottomSep                     2
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Larger
        Color                           Blue
  EndFont
End

Style "Chapter Author"
    Category                      Chapter
        Margin                Static
    LatexType             Environment
    LatexName             ChapterAuthor
    BottomSep                     2
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Blue
  EndFont
End

Style "Chapter Note"
    Category                      Chapter
        Margin                Static
    LatexType             Environment
    LatexName             ChapterNote
        LeftMargin            MM
        RightMargin           MM
        ParIndent             MM
    TopSep                            1
    BottomSep                     1
        Align                 Left
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Small
        Color                           Blue
  EndFont
End

Style "Chapter Quote"
    Category                      Chapter
        Margin                Static
    LatexType             Environment
    LatexName             ChapterQuote
        LeftMargin            MM
        RightMargin           MM
        ParIndent             MM
    TopSep                            1
    BottomSep                     1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Small
        Color                           Blue
  EndFont
End

Style "Chapter Quote Source"
    Category                      Chapter
        Margin                Static
    LatexType             Environment
    LatexName             ChapterQuoteSource
        LeftMargin            MM
        RightMargin           MM
        Align                 Right
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Small
        Color                           Blue
  EndFont
End

#=============================================

Style Section
  Category                  Section
  LatexType             command #Note this!
  LatexName             section
  LabelType                             No_Label
  TopSep                    2
  BottomSep                 1
  Align                 Left
  AlignPossible         Block, Left, Right, Center
  Category                              Section
  Font
    Family                              Sans
    Size                Large
        Color                           Green
  EndFont
End

Style Section*
  Category                  Section
  LatexType             command #Note this!
  LatexName             section*
  LabelType                             No_Label
  TopSep                    2
  BottomSep                 1
  Align                 Left
  AlignPossible         Block, Left, Right, Center
  Category                              Section
  Font
    Family                              Sans
    Size                Large
        Color                           Green
  EndFont
End

Style Subsection
  Category                  Section
  LatexType             command #Note this!
  LatexName             subsection
  LabelType                             No_Label
  TopSep                    2
  BottomSep                 1
  Align                 Center
  AlignPossible         Block, Left, Right, Center
  Category                              Section
  Font
    Family                              Sans
        Color                           Magenta
  EndFont
End

Style Subsubsection
  Category                  Section
  LatexType             command #Note this!
  LatexName             subsubsection
  LabelType                             No_Label
  Align                 Left
  AlignPossible         Block, Left, Right, Center
  Category                              Section
  Font
    Family                              Sans
        Color                           Cyan
  EndFont
End

#=============================================

Style "Block Quote"
    Category                      "Block Quote"
    LatexType             Environment
    LatexName             BlockQuote
        LeftMargin            MMMM
        RightMargin           MMMM
        ParIndent             MM
    TopSep                            1
    BottomSep                     1
  Font
        Color                           Blue
  EndFont
End

Style "Block Quote Heading"
    Category                      "Block Quote"
        Margin                Static
    LatexType             Environment
    LatexName             BlockQuoteHeading
        LeftMargin            MMMM
        RightMargin           MMMM
    TopSep                            1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Blue
  EndFont
End

Style "Block Quote Subheading"
    Category                      "Block Quote"
        Margin                Static
    LatexType             Environment
    LatexName             BlockQuoteSubheading
        LeftMargin            MMMM
        RightMargin           MMMM
    TopSep                            0.5
        Align                 Block
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Blue
  EndFont
End

Style "Block Quote Source"
    Category                      "Block Quote"
        Margin                Static
    LatexType             Environment
    LatexName             BlockQuoteSource
        RightMargin           MM
    TopSep                            1
    BottomSep                     1
        Align                 Right
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Blue
  EndFont
End

#=============================================

Style Poem
    Category                      Poem
        Margin                Static
#       Newline                           1 #Used with gmverse
    LatexType             Environment
    LatexName             Poem
        LeftMargin            "MMMMMMMMMMM"
        RightMargin           "MMMMMMMMMMM"
    TopSep                            1
    BottomSep                     1
        ParSkip               1
#       ParIndent             "MMMM" # Poetry should start at the poetry-text 
margin, without a first-line indent
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
  Font
        Color                           Green
  EndFont
End

Style "Poem Heading"
    Category                      Poem
        Margin                Static
    LatexType             Environment
    LatexName             PoemHeading
        LeftMargin            MMMMMMMM
    TopSep                            1
        Align                 Left
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
  Font
        Series                          Bold
    Size                Large
        Color                           Green
  EndFont
End

Style "Poem Subheading"
    Category                      Poem
        Margin                Static
    LatexType             Environment
    LatexName             PoemSubheading
        LeftMargin            MMMMMMMM
    TopSep                            .1
        Align                 Left
        AlignPossible         Block, Left, Right, Center
  Font
        Series                          Bold
        Color                           Green
  EndFont
End

Style "Poem Source"
    Category                      Poem
        Margin                Static
    LatexType             Environment
    LatexName             PoemSource
        RightMargin           MMMMMMMMMM
    TopSep                            1
    BottomSep                     1
        ParSkip               0.4
        Align                 Right
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
        NextNoIndent          0
  Font
        Color                           Green
  EndFont
End

#=============================================

Style Sign
    Category                      Sign
        Margin                Static
    LatexType             Environment
    LatexName             Sign
        LeftMargin            MMMM
        RightMargin           MMMM
    TopSep                            1
    BottomSep                     1
        Align                 Left
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Red
  EndFont
End

Style "Sign Heading"
    Category                      Sign
        Margin                Static
    LatexType             Environment
    LatexName             SignHeading
        LeftMargin            MMMM
        RightMargin           MMMM
    TopSep                            1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Red
  EndFont
End

Style "Sign Subheading"
    Category                      Sign
        Margin                Static
    LatexType             Environment
    LatexName             SignSubheading
        LeftMargin            MMMM
        RightMargin           MMMM
    BottomSep                     1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Red
  EndFont
End

#=============================================

Style Letter
    Category                      Letter
        Margin                Static
    LatexType             Environment
    LatexName             Letter
        LeftMargin            MMMM
        RightMargin           MMMM
        ParIndent             MM
        ParSkip               .4
    TopSep                                .5
    BottomSep                     .5
        Align                 Block
        AlignPossible         Block, Left, Right, Center
  Font
    Family                              Typewriter
  EndFont
End

Style "Letter Opening"
    Category                      Letter
        Margin                Static
        LatexType             Environment
    LatexName             LetterOpening
        LeftMargin            MMMM
        RightMargin           MMMM
    TopSep                                1
        Align                 Block
        AlignPossible         Block, Left, Right, Center
  Font
    Family                              Typewriter
  EndFont
End

Style "Letter Closing"
    Category                      Letter
        Margin                Static
    LatexType             Environment
    LatexName             LetterClosing
        LeftMargin            MMMMMMMM
        RightMargin           MMMM
    BottomSep                     1
        Align                 Block
        AlignPossible         Block, Left, Right, Center
  Font
    Family                              Typewriter
  EndFont
End

#=============================================

Style "Start Two Columns"
  Category                              "Columns"
  Margin                Dynamic
  LatexType             command
  LatexName             begin{multicols}{2}
  TopSep                                6
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "-------------------- Start Two Columns 
--------------------"
  LabelFont 
    Family                              Sans
    Series              Bold
    Size                large
        Color                           Cyan
  EndFont
End

Style "End Two Columns"
  Category                              "Columns"
  Margin                Dynamic
  LatexType             command
  LatexName             end{multicols}
  BottomSep                             6
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "-------------------- End Two Columns 
--------------------"
  LabelFont 
    Family                              Sans
    Series              Bold
    Size                large
        Color                           Cyan
  EndFont
End

#=============================================

Style "Half-Title"
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             HalfTitle
    TopSep                                3
    BottomSep                     8
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Large
  EndFont
End

Style "Pre-Title"
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             PreTitle
    BottomSep                     1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
End

Style Title
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             BookTitle
    BottomSep                     1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Giant
  EndFont
End

Style Subtitle
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Subtitle
    BottomSep                     1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Large
  EndFont
End

Style Author
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Author
    TopSep                                4
    BottomSep                     4
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Largest
  EndFont
End

Style Editor
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Editor
    TopSep                                4
    BottomSep                     4
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Large
  EndFont
End

Style Publisher
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Publisher
    TopSep                                4
    BottomSep                     4
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Large
        Misc                            Noun
  EndFont
End

#=============================================

Style Copyright
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Copyright
        ParIndent             MM
        Align                 Left
        AlignPossible         Left
  Font
    Size                Small
  EndFont
End

#=============================================

Style "Contents"
  Category                          "FRONT MATTER"
  Margin                Dynamic
  LatexType             command
  LatexName             cleardoublepage\thispagestyle{empty}\tableofcontents
  TopSep                                4
  BottomSep                             2
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "Contents [Automatically Generated]"
  LabelFont 
    Size                Largest
    Color               Blue
  EndFont
End

#=============================================

Style Dedication
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Dedication
    TopSep                                2
    BottomSep                     2
        Align                 Center
        AlignPossible         Block, Left, Right, Center
End

#=============================================

Style Epigraph
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Epigraph
    TopSep                                2
        ParIndent             MMMM
        Align                 Block
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Small
  EndFont
End

Style "Epigraph Source"
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             EpigraphSource
    BottomSep                     2
        Align                 Right
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Small
  EndFont
End

#=============================================

Style Bibliography
    Category                      "BACK MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Bibliography
        ItemSep                           .75
        ParSkip               0.5
        LeftMargin            "MMM"
        ParIndent             "-MM"
        Align                 Block
        AlignPossible         Block, Left, Right, Center
End

#=============================================

Style "Endnotes"
  Category                        "BACK MATTER"
  Margin                Dynamic
  LatexType             command
  LatexName             cleardoublepage\theendnotes
  TopSep                                4
  BottomSep                             2
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "Endnotes [Automatically Generated]"
  ParSkip               0.5
  LabelFont 
    Size                Largest
    Color               Blue
  EndFont
End

#=============================================

#LyX styles for book divisions
#LatexParam

Style "Front Matter"
  Category                              "BOOK DIVISIONS"
  Margin                Dynamic
  LatexType             command
  LatexName             
par\frontmatter\pagestyle{FrontMatter}\thispagestyle{empty}
  TopSep                                4
  BottomSep                             2
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "==================== Front Matter ===================="
  LabelFont 
    Family                              Sans
    Series              Bold
    Size                large
  EndFont
End

Style "Main Matter"
  Category                              "BOOK DIVISIONS"
  Margin                Dynamic
  LatexType             command
  LatexName             mainmatter\pagestyle{MainMatter}
  TopSep                                6
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "==================== Main Matter ===================="
  LabelFont 
    Family                              Sans
    Series              Bold
    Size                large
  EndFont
End

Style "Back Matter"
  Category                              "BOOK DIVISIONS"
  Margin                Dynamic
  LatexType             command
  LatexName             backmatter\pagestyle{BackMatter}
  TopSep                                6
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "==================== Back Matter ===================="
  LabelFont 
    Family                              Sans
    Series              Bold
    Size                large
  EndFont
End


#------------------------------
# LaTeX commands
#------------------------------

Preamble

%% NOTE: Here you can make certain adjustments that are not available through 
the regular LyX interface.
%% To turn off a command, precede it with a percent sign.
%% To turn on a command, remove the percent sign.
%% Comments are preceded by two percent signs and should be left alone.

\makeatother
% NOTE: LyX *automatically* prefaces the layout preamble with \makeatletter and 
ends it with \makeatother,
% which means you have to add \makeatother here so routines in the preamble 
using \makeatletter will work correctly.

\newcommand\starbreak{\fancybreak{\decosix\quad\decosix\quad\decosix}}

%%============================
%% Specify paragraph and margin indents.
%%============================

\newcommand{\myindent}{1em}

%%============================
%% Specify the lowest level of heading that should be automatically numbered in 
LaTeX.
%% For example, if you don't want chapters to be numbered, use 
\maxsecnumdepth{part}
%% If you leave this undefined, LyX will NOT handle it based on Document > 
Settings > Numbering
%% because you're using LaTeX \mainmatter and \frontmatter, which turn 
numbering off and on, respectively.
%% To allow the user to control this, provide a module.
%%============================
%\maxsecnumdepth{part}
\maxsecnumdepth{chapter}
%\maxsecnumdepth{section}
%\maxsecnumdepth{subsection}
%\maxsecnumdepth{subsubsection}

%%============================
%% Specify the lowest level of heading that should be displayed in the table of 
contents.
%%============================
\maxtocdepth{chapter}

%%============================
%% Specify format of chapter heads.
%%============================

%%With rules
\newcommand{\myrule}{\hrule}

%%Without rules
%\newcommand{\myrule}{}

%============================
%Force TOC heading and headers to be formatted like those in chapter:
%============================
\makeatletter
\renewcommand\tableofcontents{%
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\chapter*{\contentsname
\@mkboth{\contentsname}{\contentsname}
}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
}
\makeatother

%%============================
%% Specify format of running heads.
%%============================
%% With rules
%\newcommand{\rulespace}{\vspace{1ex}\rule[1ex]{\textwidth}{1pt}\vspace{1ex}}
%\newcommand{\rulespace}{\vspace{1ex}\hrule}

%% Without rules
\newcommand{\rulespace}{}

%% With dingbats
%\newcommand\headdecostart{\ding{118}\quad}
%\newcommand\headdecoend{\quad\ding{118}}

%% Without dingbats
\newcommand\headdecostart{ }
\newcommand\headdecoend{ }

%% left header: part
%% right header: chapter
%\renewcommand\partmark[1]{\markboth{#1}{#1}}
%\renewcommand\chaptermark[1]{\markright{#1}}
%\renewcommand\sectionmark[1]{}

%% left header: chapter
%% right header: chapter
\renewcommand\chaptermark[1]{\markboth{#1}{#1}}
\renewcommand\sectionmark[1]{}

%% left header: chapter
%% right header: chapter or section
%\renewcommand\chaptermark[1]{\markboth{#1}{#1}}
%\renewcommand\sectionmark[1]{\markright{#1}}

%% Set up page styles (running heads, folios, etc.)
\makepagestyle{FrontMatter}
\makeevenhead{FrontMatter}{\itshape\thepage\rulespace}{}{\itshape\rightmark\headdecoend\rulespace}
 % VERSO
\makeoddhead{FrontMatter}{\headdecostart\itshape\rightmark\rulespace}{}{\itshape\thepage\rulespace}
 % RECTO
\makeevenfoot{FrontMatter}{}{}{}
\makeoddfoot{FrontMatter}{}{}{}

\makepagestyle{MainMatter}
\makeevenhead{MainMatter}{\itshape\thepage\rulespace}{}{\itshape\leftmark\headdecoend\rulespace}
 % VERSO
\makeoddhead{MainMatter}{\headdecostart\itshape\rightmark\rulespace}{}{\itshape\thepage\rulespace}
 % RECTO
\makeevenfoot{MainMatter}{}{}{}
\makeoddfoot{MainMatter}{}{}{}

\makepagestyle{BackMatter}
\makeevenhead{BackMatter}{\itshape\thepage\rulespace}{}{\itshape\rightmark\headdecoend\rulespace}
 % VERSO
\makeoddhead{BackMatter}{\headdecostart\itshape\rightmark\rulespace}{}{\itshape\thepage\rulespace}
 % RECTO
\makeevenfoot{BackMatter}{}{}{}
\makeoddfoot{BackMatter}{}{}{}

\makeevenfoot{plain}{}{\itshape{\thepage}}{}
\makeoddfoot{plain}{}{\itshape{\thepage}}{}

%============================
%============================
%Memoir has lots of stuff you can adjust. See memman.pdf.

%============================
% Enable multicolumns
%============================
\usepackage{multicol}

%============================
% Prevent double spaces between sentences
%============================
\frenchspacing

%============================
%Enable indentation of all paragraphs
%============================
%\usepackage{indentfirst}

%============================
%Turn off folio on part pages (Memoir)
%============================
\aliaspagestyle{part}{empty}

%===============================
%Make part numbers Arabic rather than Roman
%===============================
%\renewcommand{\thepart}{\arabic{part}} 

%============================
% Enable vertical justification or not (benefits from flexible leading in 
Standard environment)
%============================
% Vertical justification on:
\flushbottom
% Vertical justification off:
%\raggedbottom

%============================
% Keep vertical justification from putting extra spacing between paragraphs.
%============================
\setlength{\parskip}{0pt}

%============================
% Prevent vertical justification in text preceding a heading moved to top of 
next page (Memoir).
%============================
\raggedbottomsectiontrue

%============================
% Adjust word-spacing tolerance to prevent overfull boxes (lines extending 
outside margin)
%============================
\tolerance=5000
\setlength{\emergencystretch}{2em}

%============================
% Set hyphenation
%============================
%\usepackage{ushyphex}
\hyphenpenalty=100
\lefthyphenmin=2
\righthyphenmin=3

%============================
% Avoid widows, orphans, and cross-page word breaks
%============================
\widowpenalty=9999 % Widows (10000 is the max)
%\clubpenalty=100 % Orphans
\brokenpenalty=9999 % Avoid word breaks at page breaks

%============================
%Get rid of "Figure" label in captions
%============================
\makeatletter
\renewcommand{\fnum@figure}[1]{}
%\renewcommand{\fnum@table}[1]{Table~\thetable. } % for tables if req.
\makeatother

\captiontitlefont{\itshape} %Memoir, for main figures
% Fix bug with Memoir and LyX subfloats, and set subfloat caption label to 
nothing (yes, both options caption=false and labelformat=empty are needed; see 
subfig package docs for other options):
\RequirePackage[font=it,caption=false,labelformat=empty]{subfig}

%============================
% Set up regular footnote numbering style
%============================
\makeatletter
\renewcommand{\@makefntext}[1]{%
    \setlength{\parindent}{1em}%
    \makebox[1em][r]{\normalfont\@thefnmark.} #1} % Note the period after 
"@thefnmark" and the space before "#1"
\makeatother
\renewcommand{\thefootnote}{\arabic{footnote}}{\normalsize}

%============================
% Fix spacing above and below footnote rule
%============================
\addtolength{\skip\footins}{6pt}
%\footnotesep 10pt
\makeatletter
\renewcommand\footnoterule{%
  \kern-7\p@
  \hrule width .4\columnwidth% \hrule is by default .4pt high
  \kern 6.6\p@}
\makeatother

%===============================
%Set specs for TOC (Memoir)
%===============================
%----------------------------
% Parts
%----------------------------
\cftsetindents{part}{0em}{0em} %Memoir
\setlength\cftpartnumwidth{2.5em}
\renewcommand{\cftpartfont}{\bfseries\large}
\renewcommand{\cftpartpagefont}{\bfseries\large}
%\renewcommand{\thepart}{} 
%\renewcommand{\partnumberline}[1]{}
%----------------------------
% Chapters
%----------------------------
\cftsetindents{chapter}{0em}{2.5em} %Memoir
\renewcommand{\cftchapterfont}{\normalfont}
\renewcommand{\cftchapterpagefont}{\normalfont}
\setlength{\cftbeforechapterskip}{\baselineskip} %space before
\renewcommand{\cftparskip}{0pt} %leading
%----------------------------
% Sections
%----------------------------
\cftsetindents{section}{4em}{3em} %Memoir
\renewcommand{\cftsectionfont}{\itshape}
\setlength\cftbeforesectionskip{.5\baselineskip}

%===============================
% Make larger sizes a little smaller.
%===============================
%\renewcommand{\large}{\normalsize}
%\renewcommand{\Large}{\large}
%\renewcommand{\LARGE}{\Large}
%\renewcommand{\huge}{\LARGE}
%\renewcommand{\Huge}{\huge}

%===============================
% Specify point size of larger sizes.
%===============================
\renewcommand{\large}{\fontsize{12pt}{14pt}\selectfont}
\renewcommand{\Large}{\fontsize{13pt}{16pt}\selectfont}
\renewcommand{\LARGE}{\fontsize{14pt}{18pt}\selectfont}
\renewcommand{\huge}{\fontsize{18pt}{24pt}\selectfont}
\renewcommand{\Huge}{\fontsize{24pt}{30pt}\selectfont}

%===============================
% Set specs for part, chapter, and section HEADINGS (Memoir)
%===============================
%----------------------------
% Parts
%----------------------------
%\renewcommand{\partnumfont}{\openright\LARGE\itshape\centering}
%\renewcommand{\partnamefont}{\LARGE\itshape\centering}
%\renewcommand{\parttitlefont}{\Huge\bfseries\centering}
%----------------------------
% Chapters
%----------------------------
%% Uncomment these lines if you want to override most of the custom Memoir 
chapter styles above.
%\renewcommand{\chapnumfont}{\openany\large\itshape\centering}
%\renewcommand{\chapnamefont}{\large\itshape\centering}
%\renewcommand{\chaptitlefont}{\Large\scshape\centering}
%%\setlength\beforechapskip{2\baselineskip}
%%\setlength\afterchapskip{2\baselineskip}
%----------------------------
% Sections
%----------------------------
\setbeforesecskip{1.5\baselineskip}
\renewcommand{\secheadstyle}{\normalsize\bfseries}
\renewcommand{\subsecheadstyle}{\centering\itshape}
\renewcommand{\subsubsecheadstyle}{\itshape}
\renewcommand{\paraheadstyle}{\itshape}
\renewcommand{\subparaheadstyle}{\itshape}
%\setaftersecskip{2ex}

%===============================
% Set up for french (i guess)
%===============================

\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}


%===============================
% Set up paragraph styles (LaTeX environments)
%===============================

\newcommand{\baseleading}{1.3em plus.5pt minus.5pt} %Flexibility essential for 
vertical justification (\flushbottom}

\newenvironment{Standard}{%
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{\myindent}
\setlength\parfillskip{0pt plus .9\hsize}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\fontsize{1em}{\baseleading}\selectfont
\ignorespaces}
{\vspace{0in}\par}

\newenvironment{Standard2}{%
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{\myindent}
\setlength\parfillskip{0pt plus .9\hsize}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\sffamily\fontsize{1em}{\baseleading}\selectfont
\ignorespaces}
{\vspace{0in}\par}

\newenvironment{TextBreak}{%
{\vspace{\baselineskip}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\centering
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{ChapterSubtitle}{%
{\vspace{-\baselineskip}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\large\itshape\centering
\ignorespaces}
{\unskip\vspace{1.5\baselineskip}\par}

\newenvironment{ChapterAuthor}{%
{\unskip\vspace{-\baselineskip}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\scshape\centering
\ignorespaces}
{\unskip\vspace{1.5\baselineskip}\par}

\newenvironment{ChapterNote}{%
{\ignorespaces\vspace{0pt}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{\baselineskip}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\small
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

\newenvironment{ChapterQuote}{%
{\unskip\vspace{\baselineskip}\par}
\setlength\leftskip{\baselineskip}
\setlength\rightskip{\baselineskip}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\small\itshape
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

\newenvironment{ChapterQuoteSource}{%
\setlength\leftskip{0pt}
\setlength\rightskip{\myindent}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\small\raggedleft\itshape
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{BlockQuote}{%
\unskip\par\vspace{\baselineskip}
\setlength\parindent{\myindent}
\setlength\leftskip{\myindent}
\setlength\rightskip{\myindent}
\setlength\parfillskip{0pt plus .9\hsize}
\normalfont\fontsize{1em}{\baseleading}\selectfont
}
{\unskip\par\vspace{\baselineskip}}

\newenvironment{BlockQuoteHeading}{%
\renewcommand\baselinestretch{1}
\setlength\leftskip{0in plus 1fil}
\setlength\rightskip{0in}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\scshape\centering
\ignorespaces}
{\unskip\vspace{0in}\par}

\newenvironment{BlockQuoteSubheading}{%
\renewcommand\baselinestretch{1}
\setlength\leftskip{0in plus 1fil}
\setlength\rightskip{0in}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\itshape\centering
\ignorespaces}
{\unskip\vspace{0in}\par}

\newenvironment{BlockQuoteSource}{%
\setlength\leftskip{0pt}
\setlength\rightskip{\myindent}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\raggedleft\itshape
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{Poem}{%
\unskip\par\vspace{\baselineskip}
\setlength\leftskip{8em}
\setlength\rightskip{4em}
\setlength\parindent{-4em}% Must be specified if you don't want \noindent to 
work. Also, this produces a hanging indent that depends on the previous two 
lines.
\setlength\parfillskip{0pt plus .9\hsize}
\normalfont\itshape\fontsize{1em}{\baseleading}\selectfont
}
{\unskip\par\vspace{\baselineskip}}

\newenvironment{PoemHeading}{%
{\unskip\vspace{\baselineskip}\par}
\setlength\leftskip{0in}
\setlength\rightskip{0in plus 1fil}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\scshape\centering
\ignorespaces}
{\unskip\vspace{0in}\par}

\newenvironment{PoemSubheading}{%
\renewcommand\baselinestretch{1}
\setlength\leftskip{0in plus 1fil}
\setlength\rightskip{0in}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\centering
\ignorespaces}
{\unskip\vspace{0in}\par}

\newenvironment{PoemSource}{%
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\raggedleft\itshape
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{Sign}{%
\unskip\vspace{\baselineskip}\par
\setlength\leftskip{12pt}
\setlength\rightskip{24pt}
\setlength\parindent{24pt}
\setlength\parskip{0pt}
\setlength\parfillskip{0pt plus 1fil}
}
{\unskip\vspace{\baselineskip}\par}

\newenvironment{SignHeading}{%
\unskip\vspace{\baselineskip}\par
\setlength\leftskip{0in}
\setlength\rightskip{0in plus 1fil}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\scshape\centering
\ignorespaces}
{\unskip\vspace{0in}\par}

\newenvironment{SignSubheading}{%
\renewcommand\baselinestretch{1}
\setlength\leftskip{0in plus 1fil}
\setlength\rightskip{0in}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\itshape\centering
\ignorespaces}
{\unskip\vspace{0in}\par}

%===============================

\newenvironment{Letter}{%
{\unskip\vspace{\baselineskip}\par}
\setlength\leftskip{\myindent}
\setlength\rightskip{\myindent}
\setlength\parindent{\myindent}
\setlength\parfillskip{0pt plus .9\hsize}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\fontsize{1em}{\baseleading}\selectfont
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

\newenvironment{LetterOpening}{%
{\unskip\vspace{\baselineskip}\par}
\setlength\leftskip{\myindent}
\setlength\rightskip{\myindent}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus .9\hsize}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize
\ignorespaces}
{\unskip\vspace{-\baselineskip}\par}

\newenvironment{LetterClosing}{%
{\unskip\vspace{-\baselineskip}\par}
\setlength\leftskip{4em}
\setlength\rightskip{\myindent}
\setlength\parindent{\myindent}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================
% Formatting for front matter--title page, etc.
%===============================
\newenvironment{HalfTitle}{%
{\mbox{ }\vspace{1in}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\LARGE\center\bfseries
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{2\baselineskip}\cleardoublepage\thispagestyle{empty}\mbox{ 
}\vfill\par}

\newenvironment{PreTitle}{%
{\mbox{ }\vspace{\baselineskip}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\LARGE\itshape\flushleft\bfseries
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{0pt}\par}

\newenvironment{BookTitle}{%
%{\mbox{ }\vspace{1in}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{6pt}
\normalfont\HUGE\bfseries\flushleft
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{18pt}\par}

\newenvironment{Subtitle}{%
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{6pt}
\normalfont\itshape\Large\flushleft\bfseries
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{18pt}\par}

\newenvironment{Author}{%
{\vspace{1in}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{6pt}
\normalfont\itshape\LARGE\flushleft\bfseries
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{2\baselineskip}\par}

\newenvironment{Editor}{%
{\vspace{.25in}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{6pt}
\normalfont\itshape\center
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{2\baselineskip}\par}

\newenvironment{Publisher}{%
\vfill
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
%\setlength\parskip{2in}
\normalfont\scshape\normalsize\flushleft\bfseries
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{Copyright}{%
\clearpage\thispagestyle{empty}\mbox{ }\vfill
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0cm}
\normalfont\small
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{\baselineskip}\clearpage\thispagestyle{empty}\par}

%===============================

\newenvironment{Dedication}{%
\cleardoublepage\thispagestyle{empty}
{\mbox{ }\vspace{1in}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0in plus 1fil}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\itshape\center
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{Epigraph}{%
\cleardoublepage\thispagestyle{empty}
{\mbox{ }\vspace{1in}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0in plus 1fil}
\setlength\parindent{\myindent}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

\newenvironment{EpigraphSource}{%
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\raggedleft\itshape
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{Bibliography}{%
\setlength\rightskip{0pt}
\setlength\leftskip{2em}
\setlength\parindent{-2em}
\selectlanguage{french}\leavevmode
\normalfont\small\indent
\ignorespaces}
{\unskip\vspace{0cm}\par}

%===============================

\newenvironment{Plain Layout}{%
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\selectlanguage{french}\leavevmode
\normalfont\small
\ignorespaces}
{\unskip\vspace{0cm}\par}

\newenvironment{PictureCaption}{%
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\selectlanguage{french}\leavevmode
\normalfont\small
\ignorespaces}
{\unskip\vspace{0cm}\par}

\makeatletter
% NOTE: LyX *automatically* prefaces the layout preamble with \makeatletter and 
ends it with \makeatother,
% which means you have to add \makeatletter here so routines in the preamble 
using \makeatother will work correctly.

EndPreamble
#% Do not delete the line below; LyX configure depends on this
#  \DeclareLaTeXClass[memoir]{book (LyXBook--Archaic-french)}
# Book textclass definition file. Taken from initial LyX source code

# This LyX layout is designed specifically for typesetting books.
# It was created by Jack Lyon of the Editorium:
# http://www.editorium.com

# This layout is compatible with the Editorium's LyXConverter,
# a Microsoft Word add-in for converting Word documents
# into LyX documents for the purpose of typesetting books:
# http://www.editorium.com/lyxconverter.htm

# This layout is released under a Creative Commons license:
# Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)
# http://creativecommons.org/licenses/by-nc/3.0/
# Attribution must include the following three lines:
# LyXBook layouts, modules, and documentation copyright � 2013 by the 
Editorium. All rights reserved.


# LyXBook� is a trademark of the Editorium:
# http://www.editorium.com

# This file was created in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 

#------------------------------------
# LyX commands.
#------------------------------------

Format 35                  #This is specific to the LyX version.
Columns            1
Sides              2
PageStyle          Default
DefaultStyle       Standard
DefaultModule      Endnote

ClassOptions
        FontSize             9|10|11|12|14|17
End

# Import other layouts:
Input stdclass.inc #Includes Standard style and loads a bunch of other .inc 
files, including stdlayouts.inc, which includes Quotation, Quote, and Verse 
styles.
Input lyxmacros.inc
Input stdinsets.inc
Input stdlists.inc
Input stdcounters.inc
Input stdfloats.inc
Input stdsections.inc
Input stdstarsections.inc
Input numreport.inc
# Many .inc files load other .inc files, so it's difficult to tell what's 
really loaded and what's not.

# Eliminate unwanted LyX styles from loaded layouts.
# Or just don't load the layouts to begin with.
# But we want to keep LyX as functional as possible, so this is better:
 NoStyle Title
 NoStyle Author
# NoStyle Part
# NoStyle Part*
# NoStyle Chapter
# NoStyle Chapter*
# NoStyle Section
 NoStyle Section*
 NoStyle Subsection
 NoStyle Subsection*
 NoStyle Subsubsection
 NoStyle Subsubsection*
 NoStyle Paragraph
 NoStyle Paragraph*
 NoStyle Subparagraph
 NoStyle Subparagraph*
 NoStyle Quotation
 NoStyle Quote
 NoStyle Verse
 NoStyle LyX-Code
 NoStyle Description
 NoStyle List
 NoStyle --Separator--
 NoStyle Date
 NoStyle Abstract
 NoStyle Address
 NoStyle "Right Address"
 NoStyle Bibliography
 NoStyle Standard

#=============================================

# The following creates the environment (style) or command *in LyX.* It has 
nothing to do with LaTeX.
# See LyX > Help > Customization for the various parameters available.
# If one of the regular LyX styles is loaded above (e.g., Section) and not 
removed with NoStyle,
# setting up a custom style with the same name (as below) overrides the 
attributes of the original style
# *if the those attributes are set* in the custom style.
# If they are NOT set, LyX uses the attributes of the original style.
# For example, if a LyX style is set in the default color (black),
# a custom style can override that color to display the style in blue.
# Any attributes *not* specified simply use those in the original style.
# If NoStyle is used to nullify the original style, only the attributes of the 
custom style are used.
# Does LyX's Customization documentation mention this?
# Well, yes, but not in an obvious way:
# ----------------------------------------------
# Style
# This sequence defines a paragraph style.
# If the style does not yet exist, it is created;
# if it does exist, its parameters are modified.
# ----------------------------------------------
# That last line is really important!

#=============================================

Style Standard
        Category                          Standard
        Margin                Static
    LatexType             Environment
    LatexName             Standard
        ParIndent             MM
        Align                 Block
        AlignPossible         Block, Left, Right, Center
End

Style "Standard 2"
        Category                          Standard
        Margin                Static
    LatexType             Environment
    LatexName             Standard2
        ParIndent             MM
        Align                 Block
        AlignPossible         Block, Left, Right, Center
  Font
    Family                              Sans
        Color                           Magenta
  EndFont
End

Style "Text Break"
        Category                          Standard
        Margin                Static
    LatexType             Environment
    LatexName             TextBreak
        Align                 Center
        AlignPossible         Block, Left, Right, Center
        TopSep                            1
        BottomSep                         1
  Font
    Family                                Sans
        Color                             Cyan
  EndFont
End

#=============================================

Style Part
  Category                              Part
  OptionalArgs          2
  LatexType             command #Note this!
  LatexName             part
  LabelType                             No_Label
  TopSep                                3
  BottomSep                     1
  Align                 Center
  AlignPossible         Block, Left, Right, Center
  Font
    Size                Largest
        Color                           Red
  EndFont
End

Style Part*
  Category                              Part
  OptionalArgs          2
  LatexType             command #Note this!
  LatexName             part*
  LabelType                             No_Label
  TopSep                                3
  BottomSep                     1
  Align                 Center
  AlignPossible         Block, Left, Right, Center
  Font
    Size                Largest
        Color                           Red
  EndFont
End

#=============================================

Style Chapter
  Category                              Chapter
  OptionalArgs          2
  LatexType             command #Note this!
  LatexName             chapter
  LabelType                             No_Label
  TopSep                                3
  BottomSep                     1
  Align                 Center
  AlignPossible         Block, Left, Right, Center
  Font
    Size                Largest
        Color                           Blue
  EndFont
End

Style Chapter*
  Category                              Chapter
  OptionalArgs          2
  LatexType             command #Note this!
  LatexName             chapter*
  LabelType                             No_Label
  TopSep                                3
  BottomSep                     1
  Align                 Center
  AlignPossible         Block, Left, Right, Center
  Font
    Size                Largest
        Color                           Cyan
  EndFont
End

Style "Chapter Subtitle"
    Category                      Chapter
        Margin                Static
    LatexType             Environment
    LatexName             ChapterSubtitle
    TopSep                            1
    BottomSep                     2
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Larger
        Color                           Blue
  EndFont
End

Style "Chapter Author"
    Category                      Chapter
        Margin                Static
    LatexType             Environment
    LatexName             ChapterAuthor
    BottomSep                     2
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Blue
  EndFont
End

Style "Chapter Note"
    Category                      Chapter
        Margin                Static
    LatexType             Environment
    LatexName             ChapterNote
        LeftMargin            MM
        RightMargin           MM
        ParIndent             MM
    TopSep                            1
    BottomSep                     1
        Align                 Left
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Small
        Color                           Blue
  EndFont
End

Style "Chapter Quote"
    Category                      Chapter
        Margin                Static
    LatexType             Environment
    LatexName             ChapterQuote
        LeftMargin            MM
        RightMargin           MM
        ParIndent             MM
    TopSep                            1
    BottomSep                     1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Small
        Color                           Blue
  EndFont
End

Style "Chapter Quote Source"
    Category                      Chapter
        Margin                Static
    LatexType             Environment
    LatexName             ChapterQuoteSource
        LeftMargin            MM
        RightMargin           MM
        Align                 Right
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Small
        Color                           Blue
  EndFont
End

#=============================================

Style Section
  Category                  Section
  LatexType             command #Note this!
  LatexName             section
  LabelType                             No_Label
  TopSep                    2
  BottomSep                 1
  Align                 Left
  AlignPossible         Block, Left, Right, Center
  Category                              Section
  Font
    Family                              Sans
    Size                Large
        Color                           Green
  EndFont
End

Style Section*
  Category                  Section
  LatexType             command #Note this!
  LatexName             section*
  LabelType                             No_Label
  TopSep                    2
  BottomSep                 1
  Align                 Left
  AlignPossible         Block, Left, Right, Center
  Category                              Section
  Font
    Family                              Sans
    Size                Large
        Color                           Green
  EndFont
End

Style Subsection
  Category                  Section
  LatexType             command #Note this!
  LatexName             subsection
  LabelType                             No_Label
  TopSep                    2
  BottomSep                 1
  Align                 Center
  AlignPossible         Block, Left, Right, Center
  Category                              Section
  Font
    Family                              Sans
        Color                           Magenta
  EndFont
End

Style Subsubsection
  Category                  Section
  LatexType             command #Note this!
  LatexName             subsubsection
  LabelType                             No_Label
  Align                 Left
  AlignPossible         Block, Left, Right, Center
  Category                              Section
  Font
    Family                              Sans
        Color                           Cyan
  EndFont
End

#=============================================

Style "Block Quote"
    Category                      "Block Quote"
    LatexType             Environment
    LatexName             BlockQuote
        LeftMargin            MMMM
        RightMargin           MMMM
        ParIndent             MM
    TopSep                            1
    BottomSep                     1
  Font
        Color                           Blue
  EndFont
End

Style "Block Quote Heading"
    Category                      "Block Quote"
        Margin                Static
    LatexType             Environment
    LatexName             BlockQuoteHeading
        LeftMargin            MMMM
        RightMargin           MMMM
    TopSep                            1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Blue
  EndFont
End

Style "Block Quote Subheading"
    Category                      "Block Quote"
        Margin                Static
    LatexType             Environment
    LatexName             BlockQuoteSubheading
        LeftMargin            MMMM
        RightMargin           MMMM
    TopSep                            0.5
        Align                 Block
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Blue
  EndFont
End

Style "Block Quote Source"
    Category                      "Block Quote"
        Margin                Static
    LatexType             Environment
    LatexName             BlockQuoteSource
        RightMargin           MM
    TopSep                            1
    BottomSep                     1
        Align                 Right
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Blue
  EndFont
End

#=============================================

Style Poem
    Category                      Poem
        Margin                Static
#       Newline                           1 #Used with gmverse
    LatexType             Environment
    LatexName             Poem
        LeftMargin            "MMMMMMMMMMM"
        RightMargin           "MMMMMMMMMMM"
    TopSep                            1
    BottomSep                     1
        ParSkip               1
#       ParIndent             "MMMM" # Poetry should start at the poetry-text 
margin, without a first-line indent
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
  Font
        Color                           Green
  EndFont
End

Style "Poem Heading"
    Category                      Poem
        Margin                Static
    LatexType             Environment
    LatexName             PoemHeading
        LeftMargin            MMMMMMMM
    TopSep                            1
        Align                 Left
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
  Font
        Series                          Bold
    Size                Large
        Color                           Green
  EndFont
End

Style "Poem Subheading"
    Category                      Poem
        Margin                Static
    LatexType             Environment
    LatexName             PoemSubheading
        LeftMargin            MMMMMMMM
    TopSep                            .1
        Align                 Left
        AlignPossible         Block, Left, Right, Center
  Font
        Series                          Bold
        Color                           Green
  EndFont
End

Style "Poem Source"
    Category                      Poem
        Margin                Static
    LatexType             Environment
    LatexName             PoemSource
        RightMargin           MMMMMMMMMM
    TopSep                            1
    BottomSep                     1
        ParSkip               0.4
        Align                 Right
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
        NextNoIndent          0
  Font
        Color                           Green
  EndFont
End

#=============================================

Style Sign
    Category                      Sign
        Margin                Static
    LatexType             Environment
    LatexName             Sign
        LeftMargin            MMMM
        RightMargin           MMMM
    TopSep                            1
    BottomSep                     1
        Align                 Left
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Red
  EndFont
End

Style "Sign Heading"
    Category                      Sign
        Margin                Static
    LatexType             Environment
    LatexName             SignHeading
        LeftMargin            MMMM
        RightMargin           MMMM
    TopSep                            1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Red
  EndFont
End

Style "Sign Subheading"
    Category                      Sign
        Margin                Static
    LatexType             Environment
    LatexName             SignSubheading
        LeftMargin            MMMM
        RightMargin           MMMM
    BottomSep                     1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
        Color                           Red
  EndFont
End

#=============================================

Style Letter
    Category                      Letter
        Margin                Static
    LatexType             Environment
    LatexName             Letter
        LeftMargin            MMMM
        RightMargin           MMMM
        ParIndent             MM
        ParSkip               .4
    TopSep                                .5
    BottomSep                     .5
        Align                 Block
        AlignPossible         Block, Left, Right, Center
  Font
    Family                              Typewriter
  EndFont
End

Style "Letter Opening"
    Category                      Letter
        Margin                Static
        LatexType             Environment
    LatexName             LetterOpening
        LeftMargin            MMMM
        RightMargin           MMMM
    TopSep                                1
        Align                 Block
        AlignPossible         Block, Left, Right, Center
  Font
    Family                              Typewriter
  EndFont
End

Style "Letter Closing"
    Category                      Letter
        Margin                Static
    LatexType             Environment
    LatexName             LetterClosing
        LeftMargin            MMMMMMMM
        RightMargin           MMMM
    BottomSep                     1
        Align                 Block
        AlignPossible         Block, Left, Right, Center
  Font
    Family                              Typewriter
  EndFont
End

#=============================================

Style "Start Two Columns"
  Category                              "Columns"
  Margin                Dynamic
  LatexType             command
  LatexName             begin{multicols}{2}
  TopSep                                6
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "-------------------- Start Two Columns 
--------------------"
  LabelFont 
    Family                              Sans
    Series              Bold
    Size                large
        Color                           Cyan
  EndFont
End

Style "End Two Columns"
  Category                              "Columns"
  Margin                Dynamic
  LatexType             command
  LatexName             end{multicols}
  BottomSep                             6
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "-------------------- End Two Columns 
--------------------"
  LabelFont 
    Family                              Sans
    Series              Bold
    Size                large
        Color                           Cyan
  EndFont
End

#=============================================

Style "Half-Title"
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             HalfTitle
    TopSep                                3
    BottomSep                     8
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Large
  EndFont
End

Style "Pre-Title"
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             PreTitle
    BottomSep                     1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
End

Style Title
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             BookTitle
    BottomSep                     1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Giant
  EndFont
End

Style Subtitle
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Subtitle
    BottomSep                     1
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Large
  EndFont
End

Style Author
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Author
    TopSep                                4
    BottomSep                     4
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Largest
  EndFont
End

Style Editor
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Editor
    TopSep                                4
    BottomSep                     4
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Large
  EndFont
End

Style Publisher
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Publisher
    TopSep                                4
    BottomSep                     4
        Align                 Center
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Large
        Misc                            Noun
  EndFont
End

#=============================================

Style Copyright
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Copyright
        ParIndent             MM
        Align                 Left
        AlignPossible         Left
  Font
    Size                Small
  EndFont
End

#=============================================

Style "Contents"
  Category                          "FRONT MATTER"
  Margin                Dynamic
  LatexType             command
  LatexName             cleardoublepage\thispagestyle{empty}\tableofcontents
  TopSep                                4
  BottomSep                             2
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "Contents [Automatically Generated]"
  LabelFont 
    Size                Largest
    Color               Blue
  EndFont
End

#=============================================

Style Dedication
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Dedication
    TopSep                                2
    BottomSep                     2
        Align                 Center
        AlignPossible         Block, Left, Right, Center
End

#=============================================

Style Epigraph
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Epigraph
    TopSep                                2
        ParIndent             MMMM
        Align                 Block
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Small
  EndFont
End

Style "Epigraph Source"
    Category                      "FRONT MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             EpigraphSource
    BottomSep                     2
        Align                 Right
        AlignPossible         Block, Left, Right, Center
  Font
    Size                Small
  EndFont
End

#=============================================

Style Bibliography
    Category                      "BACK MATTER"
        Margin                Static
    LatexType             Environment
    LatexName             Bibliography
        ItemSep                           .75
        ParSkip               0.5
        LeftMargin            "MMM"
        ParIndent             "-MM"
        Align                 Block
        AlignPossible         Block, Left, Right, Center
End

#=============================================

Style "Endnotes"
  Category                        "BACK MATTER"
  Margin                Dynamic
  LatexType             command
  LatexName             cleardoublepage\theendnotes
  TopSep                                4
  BottomSep                             2
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "Endnotes [Automatically Generated]"
  ParSkip               0.5
  LabelFont 
    Size                Largest
    Color               Blue
  EndFont
End

#=============================================

#LyX styles for book divisions
#LatexParam

Style "Front Matter"
  Category                              "BOOK DIVISIONS"
  Margin                Dynamic
  LatexType             command
  LatexName             
par\frontmatter\pagestyle{FrontMatter}\thispagestyle{empty}
  TopSep                                4
  BottomSep                             2
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "==================== Front Matter ===================="
  LabelFont 
    Family                              Sans
    Series              Bold
    Size                large
  EndFont
End

Style "Main Matter"
  Category                              "BOOK DIVISIONS"
  Margin                Dynamic
  LatexType             command
  LatexName             mainmatter\pagestyle{MainMatter}
  TopSep                                6
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "==================== Main Matter ===================="
  LabelFont 
    Family                              Sans
    Series              Bold
    Size                large
  EndFont
End

Style "Back Matter"
  Category                              "BOOK DIVISIONS"
  Margin                Dynamic
  LatexType             command
  LatexName             backmatter\pagestyle{BackMatter}
  TopSep                                6
  KeepEmpty             1  
  Align                 Center
  LabelType             Static
  LabelString           "==================== Back Matter ===================="
  LabelFont 
    Family                              Sans
    Series              Bold
    Size                large
  EndFont
End


#------------------------------
# LaTeX commands
#------------------------------

Preamble

%% NOTE: Here you can make certain adjustments that are not available through 
the regular LyX interface.
%% To turn off a command, precede it with a percent sign.
%% To turn on a command, remove the percent sign.
%% Comments are preceded by two percent signs and should be left alone.

\makeatother
% NOTE: LyX *automatically* prefaces the layout preamble with \makeatletter and 
ends it with \makeatother,
% which means you have to add \makeatother here so routines in the preamble 
using \makeatletter will work correctly.

\newcommand\starbreak{\fancybreak{\decosix\quad\decosix\quad\decosix}}

%%============================
%% Specify paragraph and margin indents.
%%============================

\newcommand{\myindent}{1em}

%%============================
%% Specify the lowest level of heading that should be automatically numbered in 
LaTeX.
%% For example, if you don't want chapters to be numbered, use 
\maxsecnumdepth{part}
%% If you leave this undefined, LyX will NOT handle it based on Document > 
Settings > Numbering
%% because you're using LaTeX \mainmatter and \frontmatter, which turn 
numbering off and on, respectively.
%% To allow the user to control this, provide a module.
%%============================
%\maxsecnumdepth{part}
\maxsecnumdepth{chapter}
%\maxsecnumdepth{section}
%\maxsecnumdepth{subsection}
%\maxsecnumdepth{subsubsection}

%%============================
%% Specify the lowest level of heading that should be displayed in the table of 
contents.
%%============================
\maxtocdepth{chapter}

%%============================
%% Specify format of chapter heads.
%%============================

%%With rules
\newcommand{\myrule}{\hrule}

%%Without rules
%\newcommand{\myrule}{}

%============================
%Force TOC heading and headers to be formatted like those in chapter:
%============================
\makeatletter
\renewcommand\tableofcontents{%
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\chapter*{\contentsname
\@mkboth{\contentsname}{\contentsname}
}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
}
\makeatother

%%============================
%% Specify format of running heads.
%%============================

%% With rules
%\newcommand{\rulespace}{\vspace{1ex}\rule[1ex]{\textwidth}{1pt}\vspace{1ex}}
\newcommand{\rulespace}{\vspace{1ex}\hrule}

%% Without rules
%\newcommand{\rulespace}{}

%% With dingbats
\newcommand\headdecostart{\ding{118}\quad}
\newcommand\headdecoend{\quad\ding{118}}

%% Without dingbats
%\newcommand\headdecostart{ }
%\newcommand\headdecoend{ }

%% left header: part
%% right header: chapter
%\renewcommand\partmark[1]{\markboth{#1}{#1}}
%\renewcommand\chaptermark[1]{\markright{#1}}
%\renewcommand\sectionmark[1]{}

%% left header: chapter
%% right header: chapter
\renewcommand\chaptermark[1]{\markboth{#1}{#1}}
\renewcommand\sectionmark[1]{}

%% left header: chapter
%% right header: chapter or section
%\renewcommand\chaptermark[1]{\markboth{#1}{#1}}
%\renewcommand\sectionmark[1]{\markright{#1}}


%% Set up page styles (running heads, folios, etc.)
\makepagestyle{FrontMatter}
\makeevenhead{FrontMatter}{\itshape\thepage\rulespace}{}{\itshape\rightmark\headdecoend\rulespace}
 % VERSO
\makeoddhead{FrontMatter}{\headdecostart\itshape\rightmark\rulespace}{}{\itshape\thepage\rulespace}
 % RECTO
\makeevenfoot{FrontMatter}{}{}{}
\makeoddfoot{FrontMatter}{}{}{}

\makepagestyle{MainMatter}
\makeevenhead{MainMatter}{\itshape\thepage\rulespace}{}{\itshape\leftmark\headdecoend\rulespace}
 % VERSO
\makeoddhead{MainMatter}{\headdecostart\itshape\rightmark\rulespace}{}{\itshape\thepage\rulespace}
 % RECTO
\makeevenfoot{MainMatter}{}{}{}
\makeoddfoot{MainMatter}{}{}{}

\makepagestyle{BackMatter}
\makeevenhead{BackMatter}{\itshape\thepage\rulespace}{}{\itshape\rightmark\headdecoend\rulespace}
 % VERSO
\makeoddhead{BackMatter}{\headdecostart\itshape\rightmark\rulespace}{}{\itshape\thepage\rulespace}
 % RECTO
\makeevenfoot{BackMatter}{}{}{}
\makeoddfoot{BackMatter}{}{}{}

\makeevenfoot{plain}{}{\itshape{\thepage}}{}
\makeoddfoot{plain}{}{\itshape{\thepage}}{}

%%============================
%% Specify custom chapter style.
%%============================
% Adapted from \chapterstyle{VZ15b} by Vincent Zoonekynd and included by Lars 
Madsen in "Various chapter styles for the memoir class."
% http://zoonek.free.fr/LaTeX/LaTeX_samples_chapter/0.html
% ftp://ftp.dante.de/tex-archive/info/MemoirChapStyles/MemoirChapStyles.pdf
\usepackage{pifont,graphicx}
\newcommand{\wordthe}{the}
\newcommand\mylleaf{\ding{118}}
\newcommand\myrleaf{\reflectbox{\mylleaf}}
\newcommand\MyNumToName[1]{%
\ifcase#1\relax  %  case  0
\or First\or Second\or Third\or Fourth\or Fifth\or Sixth\or Seventh\or 
Eighth\or Ninth\or Tenth\or Eleventh\or Twelfth\or Thirteenth\or Fourteenth\or 
Fifteenth\or Sixteenth\or Seventeenth\or Eighteenth\or Ninetheenth\or 
Twentieth\or Twenty-First\or Twenty-Second\or Twenty-Third\or Twenty-Fourth\or 
Twenty-Fifth\or Twenty-Sixth\or Twenty-Seventh\or Twenty-Eighth\or 
Twenty-Ninth\or Thirtieth\or Thirty-First\or Thirty-Second\or Thirty-Third\or 
Thirty-Fourth\or Thirty-Fifth\or Thirty-Sixth\or Thirty-Seventh\or 
Thirty-Eighth\or Thirty-Ninth\or Fortieth\or Forty-First\or Forty-Second\or 
Forty-Third\or Forty-Fourth\or Forty-Fifth\or Forty-Sixth\or Forty-Seventh\or 
Forty-Eighth\or Forty-Ninth\or Fiftieth\or Fifty-First\or Fifty-Second\or 
Fifty-Third\or Fifty-Fourth\or Fifty-Fifth\or Fifty-Sixth\or Fifty-Seventh\or 
Fifty-Eighth\or Fifty-Ninth\or Sixtieth\or Sixty-First\or Sixty-Second\or 
Sixty-Third\or Sixty-Fourth\or Sixty-Fifth\or Sixty-Sixth\or Sixty-Seventh\or 
Sixty-Eighth\or Sixty-Ninth\or Seventieth\or Seventy-First\or Seventy-Second\or 
Seventy-Third\or Seventy-Fourth\or Seventy-Fifth\or Seventy-Sixth\or 
Seventy-Seventh\or Seventy-Eighth\or Seventy-Ninth\or Eightieth\or 
Eighty-First\or Eighty-Second\or Eighty-Third\or Eighty-Fourth\or 
Eighty-Fifth\or Eighty-Sixth\or Eighty-Seventh\or Eighty-Eighth\or 
Eighty-Ninth\or Ninetieth\or Ninety-First\or Ninety-Second\or Ninety-Third\or 
Ninety-Fourth\or Ninety-Fifth\or Ninety-Sixth\or Ninety-Seventh\or 
Ninety-Eighth\or Ninety-Ninth\or One-Hundreth\or One-Hundred-and-First\or 
One-Hundred-and-Second\or One-Hundred-and-Third\or One-Hundred-and-Fourth\or 
One-Hundred-and-Fifth\or One-Hundred-and-Sixth\or One-Hundred-and-Seventh\or 
One-Hundred-and-Eighth\or One-Hundred-and-Ninth\or One-Hundred-and-Tenth\or 
One-Hundred-and-Eleventh\or One-Hundred-and-Twelfth\or 
One-Hundred-and-Thirteenth\or One-Hundred-and-Fourteenth\or 
One-Hundred-and-Fifteenth\or One-Hundred-and-Sixteenth\or 
One-Hundred-and-Seventeenth\or One-Hundred-and-Eighteenth\or 
One-Hundred-and-Ninetheenth\or One-Hundred-and-Twentieth\or 
One-Hundred-and-Twenty-First\or One-Hundred-and-Twenty-Second\or 
One-Hundred-and-Twenty-Third\or One-Hundred-and-Twenty-Fourth\or 
One-Hundred-and-Twenty-Fifth\or One-Hundred-and-Twenty-Sixth\or 
One-Hundred-and-Twenty-Seventh\or One-Hundred-and-Twenty-Eighth\or 
One-Hundred-and-Twenty-Ninth\or One-Hundred-and-Thirtieth\or 
One-Hundred-and-Thirty-First\or One-Hundred-and-Thirty-Second\or 
One-Hundred-and-Thirty-Third\or One-Hundred-and-Thirty-Fourth\or 
One-Hundred-and-Thirty-Fifth\or One-Hundred-and-Thirty-Sixth\or 
One-Hundred-and-Thirty-Seventh\or One-Hundred-and-Thirty-Eighth\or 
One-Hundred-and-Thirty-Ninth\or One-Hundred-and-Fortieth\or 
One-Hundred-and-Forty-First\or One-Hundred-and-Forty-Second\or 
One-Hundred-and-Forty-Third\or One-Hundred-and-Forty-Fourth\or 
One-Hundred-and-Forty-Fifth\or One-Hundred-and-Forty-Sixth\or 
One-Hundred-and-Forty-Seventh\or One-Hundred-and-Forty-Eighth\or 
One-Hundred-and-Forty-Ninth\or One-Hundred-and-Fiftieth\or 
One-Hundred-and-Fifty-First\or One-Hundred-and-Fifty-Second\or 
One-Hundred-and-Fifty-Third\or One-Hundred-and-Fifty-Fourth\or 
One-Hundred-and-Fifty-Fifth\or One-Hundred-and-Fifty-Sixth\or 
One-Hundred-and-Fifty-Seventh\or One-Hundred-and-Fifty-Eighth\or 
One-Hundred-and-Fifty-Ninth\or One-Hundred-and-Sixtieth\or 
One-Hundred-and-Sixty-First\or One-Hundred-and-Sixty-Second\or 
One-Hundred-and-Sixty-Third\or One-Hundred-and-Sixty-Fourth\or 
One-Hundred-and-Sixty-Fifth\or One-Hundred-and-Sixty-Sixth\or 
One-Hundred-and-Sixty-Seventh\or One-Hundred-and-Sixty-Eighth\or 
One-Hundred-and-Sixty-Ninth\or One-Hundred-and-Seventieth\or 
One-Hundred-and-Seventy-First\or One-Hundred-and-Seventy-Second\or 
One-Hundred-and-Seventy-Third\or One-Hundred-and-Seventy-Fourth\or 
One-Hundred-and-Seventy-Fifth\or One-Hundred-and-Seventy-Sixth\or 
One-Hundred-and-Seventy-Seventh\or One-Hundred-and-Seventy-Eighth\or 
One-Hundred-and-Seventy-Ninth\or One-Hundred-and-Eightieth\or 
One-Hundred-and-Eighty-First\or One-Hundred-and-Eighty-Second\or 
One-Hundred-and-Eighty-Third\or One-Hundred-and-Eighty-Fourth\or 
One-Hundred-and-Eighty-Fifth\or One-Hundred-and-Eighty-Sixth\or 
One-Hundred-and-Eighty-Seventh\or One-Hundred-and-Eighty-Eighth\or 
One-Hundred-and-Eighty-Ninth\or One-Hundred-and-Ninetieth\or 
One-Hundred-and-Ninety-First\or One-Hundred-and-Ninety-Second\or 
One-Hundred-and-Ninety-Third\or One-Hundred-and-Ninety-Fourth\or 
One-Hundred-and-Ninety-Fifth\or One-Hundred-and-Ninety-Sixth\or 
One-Hundred-and-Ninety-Seventh\or One-Hundred-and-Ninety-Eighth\or 
One-Hundred-and-Ninety-Ninth\or Two-Hundredth%
\else  Next\fi}
\makeatletter
\setlength\midchapskip{10pt}
\makechapterstyle{Archaic}{
\renewcommand\chapternamenum{}
\renewcommand\printchaptername{}
\renewcommand\chapnamefont{\large\itshape}
\renewcommand\printchapternum{%
\chapnamefont\null\hfill\mylleaf\quad
\@chapapp\space\wordthe\space\MyNumToName{\thechapter}\quad\myrleaf\hfill\null}
\renewcommand\printchapternonum{%
\par\hrule\vskip\midchapskip}
\renewcommand\chaptitlefont{\LARGE\scshape\centering}
\renewcommand\afterchapternum{%
\par\nobreak\vskip\midchapskip\hrule\vskip\midchapskip}
\renewcommand\afterchaptertitle{%
\par\vskip\midchapskip\hrule\nobreak\vskip\afterchapskip}
}
\makeatother
\chapterstyle{Archaic}

%============================
%============================
%Memoir has lots of stuff you can adjust. See memman.pdf.

%============================
% Enable multicolumns
%============================
\usepackage{multicol}

%============================
% Prevent double spaces between sentences
%============================
\frenchspacing

%============================
%Enable indentation of all paragraphs
%============================
%\usepackage{indentfirst}

%============================
%Turn off folio on part pages (Memoir)
%============================
\aliaspagestyle{part}{empty}

%===============================
%Make part numbers Arabic rather than Roman
%===============================
%\renewcommand{\thepart}{\arabic{part}} 

%============================
% Enable vertical justification or not (benefits from flexible leading in 
Standard environment)
%============================
% Vertical justification on:
\flushbottom
% Vertical justification off:
%\raggedbottom

%============================
% Keep vertical justification from putting extra spacing between paragraphs.
%============================
%\setlength{\parskip}{0pt}

%============================
% Prevent vertical justification in text preceding a heading moved to top of 
next page (Memoir).
%============================
\raggedbottomsectiontrue

%============================
% Adjust word-spacing tolerance to prevent overfull boxes (lines extending 
outside margin)
%============================
\tolerance=5000
\setlength{\emergencystretch}{2em}

%============================
% Set hyphenation
%============================
%\usepackage{ushyphex}
\hyphenpenalty=100
\lefthyphenmin=2
\righthyphenmin=3

%============================
% Avoid widows, orphans, and cross-page word breaks
%============================
\widowpenalty=9999 % Widows (10000 is the max)
%\clubpenalty=100 % Orphans
\brokenpenalty=9999 % Avoid word breaks at page breaks

%============================
%Get rid of "Figure" label in captions
%============================
\makeatletter
\renewcommand{\fnum@figure}[1]{}
%\renewcommand{\fnum@table}[1]{Table~\thetable. } % for tables if req.
\makeatother

\captiontitlefont{\itshape} %Memoir, for main figures
%Fix bug with Memoir and LyX subfloats, and set subfloat caption label to 
nothing (yes, both options caption=false and labelformat=empty are needed; see 
subfig package docs for other options):
\RequirePackage[font=it,caption=false,labelformat=empty]{subfig}

%============================
% Set up regular footnote numbering style
%============================
\makeatletter
\renewcommand{\@makefntext}[1]{%
    \setlength{\parindent}{1em}%
    \makebox[1em][r]{\normalfont\@thefnmark.} #1} % Note the period after 
"@thefnmark" and the space before "#1"
\makeatother
\renewcommand{\thefootnote}{\arabic{footnote}}{\normalsize}

%============================
% Fix spacing above and below footnote rule
%============================
\addtolength{\skip\footins}{6pt}
%\footnotesep 10pt
\makeatletter
\renewcommand\footnoterule{%
  \kern-7\p@
  \hrule width .4\columnwidth% \hrule is by default .4pt high
  \kern 6.6\p@}
\makeatother

%===============================
%Set specs for TOC (Memoir)
%===============================
%----------------------------
% Parts
%----------------------------
\cftsetindents{part}{0em}{0em} %Memoir
\setlength\cftpartnumwidth{2.5em}
\renewcommand{\cftpartfont}{\bfseries\large}
\renewcommand{\cftpartpagefont}{\bfseries\large}
%\renewcommand{\thepart}{} 
%\renewcommand{\partnumberline}[1]{}
%----------------------------
% Chapters
%----------------------------
\cftsetindents{chapter}{0em}{2.5em} %Memoir
\renewcommand{\cftchapterfont}{\normalfont}
\renewcommand{\cftchapterpagefont}{\normalfont}
\setlength{\cftbeforechapterskip}{\baselineskip} %space before
\renewcommand{\cftparskip}{0pt} %leading
%----------------------------
% Sections
%----------------------------
\cftsetindents{section}{4em}{3em} %Memoir
\renewcommand{\cftsectionfont}{\itshape}
\setlength\cftbeforesectionskip{.5\baselineskip}

%===============================
% Make larger sizes a little smaller.
%===============================
%\renewcommand{\large}{\normalsize}
%\renewcommand{\Large}{\large}
%\renewcommand{\LARGE}{\Large}
%\renewcommand{\huge}{\LARGE}
%\renewcommand{\Huge}{\huge}

%===============================
% Specify point size of larger sizes.
%===============================
\renewcommand{\large}{\fontsize{12pt}{14pt}\selectfont}
\renewcommand{\Large}{\fontsize{13pt}{16pt}\selectfont}
\renewcommand{\LARGE}{\fontsize{14pt}{18pt}\selectfont}
\renewcommand{\huge}{\fontsize{18pt}{24pt}\selectfont}
\renewcommand{\Huge}{\fontsize{24pt}{30pt}\selectfont}

%===============================
% Set specs for part, chapter, and section HEADINGS (Memoir)
%===============================
%----------------------------
% Parts
%----------------------------
\renewcommand{\partnumfont}{\openright\LARGE\itshape\centering}
\renewcommand{\partnamefont}{\LARGE\itshape\centering}
\renewcommand{\parttitlefont}{\Huge\scshape\centering}
%----------------------------
% Chapters
%----------------------------
%% Uncomment these lines if you want to override most of the custom Memoir 
chapter styles above.
%\renewcommand{\chapnumfont}{\openany\large\itshape\centering}
%\renewcommand{\chapnamefont}{\large\itshape\centering}
%\renewcommand{\chaptitlefont}{\Large\scshape\centering}
%%\setlength\beforechapskip{2\baselineskip}
%%\setlength\afterchapskip{2\baselineskip}
%----------------------------
% Sections
%----------------------------
\setbeforesecskip{1.5\baselineskip}
\renewcommand{\secheadstyle}{\normalsize\bfseries}
\renewcommand{\subsecheadstyle}{\centering\itshape}
\renewcommand{\subsubsecheadstyle}{\itshape}
\renewcommand{\paraheadstyle}{\itshape}
\renewcommand{\subparaheadstyle}{\itshape}
%\setaftersecskip{2ex}

%===============================
% Set up for french (i guess)
%===============================

\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}


%===============================
% Set up paragraph styles (LaTeX environments)
%===============================

\newcommand{\baseleading}{1.3em plus.5pt minus.5pt} %Flexibility essential for 
vertical justification (\flushbottom}

\newenvironment{Standard}{%
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{\myindent}
\setlength\parfillskip{0pt plus .9\hsize}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\fontsize{1em}{\baseleading}\selectfont
\ignorespaces}
{\vspace{0in}\par}

\newenvironment{Standard2}{%
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{\myindent}
\setlength\parfillskip{0pt plus .9\hsize}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\sffamily\fontsize{1em}{\baseleading}\selectfont
\ignorespaces}
{\vspace{0in}\par}

\newenvironment{TextBreak}{%
{\vspace{\baselineskip}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\centering
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{ChapterSubtitle}{%
{\vspace{-\baselineskip}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\large\itshape\centering
\ignorespaces}
{\unskip\vspace{1.5\baselineskip}\par}

\newenvironment{ChapterAuthor}{%
{\unskip\vspace{-\baselineskip}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\scshape\centering
\ignorespaces}
{\unskip\vspace{1.5\baselineskip}\par}

\newenvironment{ChapterNote}{%
{\ignorespaces\vspace{0pt}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{\baselineskip}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\small
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

\newenvironment{ChapterQuote}{%
{\unskip\vspace{\baselineskip}\par}
\setlength\leftskip{\baselineskip}
\setlength\rightskip{\baselineskip}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\small\itshape
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

\newenvironment{ChapterQuoteSource}{%
\setlength\leftskip{0pt}
\setlength\rightskip{\myindent}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\small\raggedleft\itshape
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{BlockQuote}{%
\unskip\par\vspace{\baselineskip}
\setlength\parindent{\myindent}
\setlength\leftskip{\myindent}
\setlength\rightskip{\myindent}
\setlength\parfillskip{0pt plus .9\hsize}
\normalfont\fontsize{1em}{\baseleading}\selectfont
}
{\unskip\par\vspace{\baselineskip}}

\newenvironment{BlockQuoteHeading}{%
\renewcommand\baselinestretch{1}
\setlength\leftskip{0in plus 1fil}
\setlength\rightskip{0in}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\scshape\centering
\ignorespaces}
{\unskip\vspace{0in}\par}

\newenvironment{BlockQuoteSubheading}{%
\renewcommand\baselinestretch{1}
\setlength\leftskip{0in plus 1fil}
\setlength\rightskip{0in}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\itshape\centering
\ignorespaces}
{\unskip\vspace{0in}\par}

\newenvironment{BlockQuoteSource}{%
\setlength\leftskip{0pt}
\setlength\rightskip{\myindent}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\raggedleft\itshape
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{Poem}{%
\unskip\par\vspace{\baselineskip}
\setlength\leftskip{8em}
\setlength\rightskip{4em}
\setlength\parindent{-4em}% Must be specified if you don't want \noindent to 
work. Also, this produces a hanging indent that depends on the previous two 
lines.
\setlength\parfillskip{0pt plus .9\hsize}
\normalfont\itshape\fontsize{1em}{\baseleading}\selectfont
}
{\unskip\par\vspace{\baselineskip}}

\newenvironment{PoemHeading}{%
{\unskip\vspace{\baselineskip}\par}
\setlength\leftskip{0in}
\setlength\rightskip{0in plus 1fil}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\scshape\centering
\ignorespaces}
{\unskip\vspace{0in}\par}

\newenvironment{PoemSubheading}{%
\renewcommand\baselinestretch{1}
\setlength\leftskip{0in plus 1fil}
\setlength\rightskip{0in}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\centering
\ignorespaces}
{\unskip\vspace{0in}\par}

\newenvironment{PoemSource}{%
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\raggedleft\itshape
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{Sign}{%
\unskip\vspace{\baselineskip}\par
\setlength\leftskip{12pt}
\setlength\rightskip{24pt}
\setlength\parindent{24pt}
\setlength\parskip{0pt}
\setlength\parfillskip{0pt plus 1fil}
}
{\unskip\vspace{\baselineskip}\par}

\newenvironment{SignHeading}{%
\unskip\vspace{\baselineskip}\par
\setlength\leftskip{0in}
\setlength\rightskip{0in plus 1fil}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\scshape\centering
\ignorespaces}
{\unskip\vspace{0in}\par}

\newenvironment{SignSubheading}{%
\renewcommand\baselinestretch{1}
\setlength\leftskip{0in plus 1fil}
\setlength\rightskip{0in}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\itshape\centering
\ignorespaces}
{\unskip\vspace{0in}\par}

%===============================

\newenvironment{Letter}{%
{\unskip\vspace{\baselineskip}\par}
\setlength\leftskip{\myindent}
\setlength\rightskip{\myindent}
\setlength\parindent{\myindent}
\setlength\parfillskip{0pt plus .9\hsize}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\fontsize{1em}{\baseleading}\selectfont
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

\newenvironment{LetterOpening}{%
{\unskip\vspace{\baselineskip}\par}
\setlength\leftskip{\myindent}
\setlength\rightskip{\myindent}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus .9\hsize}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize
\ignorespaces}
{\unskip\vspace{-\baselineskip}\par}

\newenvironment{LetterClosing}{%
{\unskip\vspace{-\baselineskip}\par}
\setlength\leftskip{4em}
\setlength\rightskip{\myindent}
\setlength\parindent{\myindent}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================
% Formatting for front matter--title page, etc.
%===============================
\newenvironment{HalfTitle}{%
{\mbox{ }\vspace{1in}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\LARGE\center\scshape
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{2\baselineskip}\cleardoublepage\thispagestyle{empty}\mbox{ 
}\vfill\par}

\newenvironment{PreTitle}{%
{\mbox{ }\vspace{\baselineskip}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{\baselineskip}
\LARGE\center\itshape
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{0pt}\par\bigskip}

\newenvironment{BookTitle}{%
{\hrule}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{6pt}
\normalfont\Huge\scshape\center
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{18pt}\par\hrule}

\newenvironment{Subtitle}{%
{\vspace{\baselineskip}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{6pt}
\normalfont\itshape\Large\center
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{18pt}\par}

\newenvironment{Author}{%
{\vspace{1in}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{6pt}
\normalfont\itshape\center\huge\headdecostart
\selectlanguage{french}\leavevmode
\ignorespaces}
{\headdecoend\unskip\vspace{2\baselineskip}\par}
{\unskip\vspace{2\baselineskip}\par}

\newenvironment{Editor}{%
{\vspace{.25in}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{6pt}
\normalfont\itshape\center
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{2\baselineskip}\par}

\newenvironment{Publisher}{%
\vfill
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
%\setlength\parskip{2in}
\normalfont\scshape\normalsize\center
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{Copyright}{%
\clearpage\thispagestyle{empty}\mbox{ }\vfill
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0cm}
\normalfont\small
\selectlanguage{french}\leavevmode
\ignorespaces}
{\unskip\vspace{\baselineskip}\clearpage\thispagestyle{empty}\par}

%===============================

\newenvironment{Dedication}{%
\cleardoublepage\thispagestyle{empty}
{\mbox{ }\vspace{1in}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0in plus 1fil}
\setlength\parindent{0in}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\itshape\center
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{Epigraph}{%
\cleardoublepage\thispagestyle{empty}
{\mbox{ }\vspace{1in}\par}
\setlength\leftskip{0pt}
\setlength\rightskip{0in plus 1fil}
\setlength\parindent{\myindent}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

\newenvironment{EpigraphSource}{%
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\setlength\parfillskip{0pt plus 1fil}
\setlength\parskip{0pt}
\selectlanguage{french}\leavevmode
\normalfont\normalsize\raggedleft\itshape
\ignorespaces}
{\unskip\vspace{\baselineskip}\par}

%===============================

\newenvironment{Bibliography}{%
\setlength\rightskip{0pt}
\setlength\leftskip{2em}
\setlength\parindent{-2em}
\selectlanguage{french}\leavevmode
\normalfont\small\indent
\ignorespaces}
{\unskip\vspace{0cm}\par}

%===============================

\newenvironment{Plain Layout}{%
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\selectlanguage{french}\leavevmode
\normalfont\small
\ignorespaces}
{\unskip\vspace{0cm}\par}

\newenvironment{PictureCaption}{%
\setlength\leftskip{0pt}
\setlength\rightskip{0pt}
\setlength\parindent{0pt}
\selectlanguage{french}\leavevmode
\normalfont\small
\ignorespaces}
{\unskip\vspace{0cm}\par}

\makeatletter
% NOTE: LyX *automatically* prefaces the layout preamble with \makeatletter and 
ends it with \makeatother,
% which means you have to add \makeatletter here so routines in the preamble 
using \makeatother will work correctly.

EndPreamble

Répondre à