2003-09-22 08:47:10 +00:00
|
|
|
#% Do not delete the line below; configure depends on this
|
2012-10-09 05:24:32 +00:00
|
|
|
# \DeclareLaTeXClass[memoir]{Memoir}
|
|
|
|
# \DeclareCategory{Books}
|
2003-09-27 12:18:11 +00:00
|
|
|
# Memoir textclass definition file
|
2012-11-24 09:46:55 +00:00
|
|
|
# Author: Jürgen Spitzmüller <spitz@lyx.org>
|
2003-09-27 12:18:11 +00:00
|
|
|
# Improvements by: Bennett Helm <bennett.helm@fandm.edu>
|
2003-09-22 08:47:10 +00:00
|
|
|
# feel free to contribute missing features!
|
|
|
|
|
|
|
|
|
2023-07-28 01:22:17 +00:00
|
|
|
Format 103
|
2003-09-27 12:18:11 +00:00
|
|
|
Columns 1
|
2004-11-19 17:09:28 +00:00
|
|
|
Sides 2
|
2010-02-12 23:19:04 +00:00
|
|
|
SecNumDepth 1
|
|
|
|
TocDepth 1
|
2003-09-27 12:18:11 +00:00
|
|
|
DefaultStyle Standard
|
2004-11-19 17:09:28 +00:00
|
|
|
PageStyle Headings
|
2019-08-07 14:44:11 +00:00
|
|
|
PageSize letter
|
2007-12-04 10:27:27 +00:00
|
|
|
Provides makeidx 1
|
|
|
|
Provides framed 1
|
2010-11-21 17:00:12 +00:00
|
|
|
Provides subscript 1
|
2019-08-05 17:01:48 +00:00
|
|
|
# Geometry is supported, but the package options and paper sizes
|
|
|
|
# are ignored
|
|
|
|
Provides geometry-light 1
|
2008-01-14 14:53:29 +00:00
|
|
|
# Memoir has support for line spacing, but uses different names from
|
|
|
|
# what setspace.sty does.
|
|
|
|
Provides SetSpace 1
|
2003-09-22 08:47:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
ClassOptions
|
|
|
|
FontSize 9|10|11|12|14|17
|
2019-08-07 14:44:11 +00:00
|
|
|
PageSize a3|a4|a5|a6|b3|b4|b5|b6|executive|legal|letter
|
2003-09-22 08:47:10 +00:00
|
|
|
PageStyle empty|plain|headings|myheadings|ruled|Ruled|companion
|
|
|
|
Other oldfontcommands
|
|
|
|
End
|
|
|
|
|
|
|
|
|
2003-09-27 12:18:11 +00:00
|
|
|
Style Standard
|
Added categories for style Standard, Title, Abstract, ShortTitle,
Author, FourAuthors, Affiliation, FourAffiliations, Acknowledgements,
Itemize, Enumerate, Seriate
to layouts, where they were missing. More to follow
2012-12-30 18:33:20 +00:00
|
|
|
Category MainText
|
2003-09-27 12:18:11 +00:00
|
|
|
Margin Static
|
|
|
|
LatexType Paragraph
|
|
|
|
LatexName dummy
|
|
|
|
ParIndent MM
|
|
|
|
ParSkip 0.4
|
|
|
|
Align Block
|
|
|
|
AlignPossible Block, Left, Right, Center
|
|
|
|
LabelType No_Label
|
2017-10-17 00:57:04 +00:00
|
|
|
HTMLStyle
|
|
|
|
div.standard {
|
|
|
|
margin-bottom: 2ex;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2020-11-27 03:29:40 +00:00
|
|
|
DocBookTag para
|
2003-09-22 08:47:10 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2007-08-28 14:32:06 +00:00
|
|
|
Input stdinsets.inc
|
2003-09-27 12:18:11 +00:00
|
|
|
Input stdlists.inc
|
|
|
|
Input stdcounters.inc
|
|
|
|
Input stdfloats.inc
|
|
|
|
Input stdsections.inc
|
|
|
|
Input stdstarsections.inc
|
2005-08-10 12:24:36 +00:00
|
|
|
Input numreport.inc
|
2003-09-27 12:18:11 +00:00
|
|
|
|
|
|
|
|
2010-08-10 22:34:08 +00:00
|
|
|
Style Part
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2012-11-23 17:26:02 +00:00
|
|
|
LabelString "Short Title|S"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The part as it appears in the table of contents/running headers"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2010-08-10 22:34:08 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2004-11-19 17:09:28 +00:00
|
|
|
Style Chapter
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2012-11-23 17:26:02 +00:00
|
|
|
LabelString "Short Title (TOC)|S"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The chapter as it appears in the table of contents"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
|
|
|
Argument 2
|
|
|
|
LabelString "Short Title (Header)"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The chapter as it appears in the running headers"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-23 13:43:29 +00:00
|
|
|
Requires 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2022-12-23 01:26:52 +00:00
|
|
|
TocLevel 0
|
2004-11-19 17:09:28 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2009-05-02 07:56:13 +00:00
|
|
|
Style Chapter*
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2012-11-23 17:26:02 +00:00
|
|
|
LabelString "Short Title (TOC)|S"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The chapter as it appears in the table of contents"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2009-05-02 07:56:13 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2004-11-19 17:09:28 +00:00
|
|
|
Style Section
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2012-11-23 17:26:02 +00:00
|
|
|
LabelString "Short Title (TOC)|S"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The section as it appears in the table of contents"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
|
|
|
Argument 2
|
|
|
|
LabelString "Short Title (Header)"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The section as it appears in the running headers"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-23 13:43:29 +00:00
|
|
|
Requires 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2022-12-23 01:26:52 +00:00
|
|
|
TocLevel 1
|
2004-11-19 17:09:28 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Subsection
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2012-11-23 17:26:02 +00:00
|
|
|
LabelString "Short Title (TOC)|S"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The subsection as it appears in the table of contents"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
|
|
|
Argument 2
|
|
|
|
LabelString "Short Title (Header)"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The subsection as it appears in the running headers"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-23 13:43:29 +00:00
|
|
|
Requires 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2022-12-23 01:26:52 +00:00
|
|
|
TocLevel 2
|
2004-11-19 17:09:28 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Subsubsection
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2012-11-23 17:26:02 +00:00
|
|
|
LabelString "Short Title (TOC)|S"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The subsubsection as it appears in the table of contents"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
|
|
|
Argument 2
|
|
|
|
LabelString "Short Title (Header)"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The subsubsection as it appears in the running headers"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-23 13:43:29 +00:00
|
|
|
Requires 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2022-12-23 01:26:52 +00:00
|
|
|
TocLevel 3
|
2004-11-19 17:09:28 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Paragraph
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2012-11-23 17:26:02 +00:00
|
|
|
LabelString "Short Title (TOC)|S"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The paragraph as it appears in the table of contents"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
|
|
|
Argument 2
|
|
|
|
LabelString "Short Title (Header)"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The paragraph as it appears in the running headers"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-23 13:43:29 +00:00
|
|
|
Requires 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2022-12-23 01:26:52 +00:00
|
|
|
TocLevel 4
|
2004-11-19 17:09:28 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Subparagraph
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2012-11-23 17:26:02 +00:00
|
|
|
LabelString "Short Title (TOC)|S"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The subparagraph as it appears in the table of contents"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
|
|
|
Argument 2
|
|
|
|
LabelString "Short Title (Header)"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The subparagraph as it appears in the running headers"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-23 13:43:29 +00:00
|
|
|
Requires 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2022-12-23 01:26:52 +00:00
|
|
|
TocLevel 5
|
2004-11-19 17:09:28 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2003-09-22 08:47:10 +00:00
|
|
|
Style Chapterprecis
|
|
|
|
Margin Static
|
|
|
|
LatexType Command
|
|
|
|
LatexName chapterprecis
|
|
|
|
NeedProtect 1
|
|
|
|
NextNoIndent 1
|
|
|
|
LeftMargin MM
|
|
|
|
LabelSep xxx
|
|
|
|
ParSkip 0.4
|
|
|
|
TopSep 0.4
|
|
|
|
BottomSep 0
|
|
|
|
ParSep 0.4
|
|
|
|
Align Block
|
|
|
|
Font
|
|
|
|
Shape Italic
|
|
|
|
Size Normal
|
|
|
|
EndFont
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Epigraph
|
2013-01-30 11:36:49 +00:00
|
|
|
Category MainText
|
2003-09-22 08:47:10 +00:00
|
|
|
Margin Right_Address_Box
|
|
|
|
LatexType Command
|
|
|
|
LatexName epigraph
|
|
|
|
ParSkip 0.4
|
|
|
|
BottomSep 1.5
|
|
|
|
ParSep 1.5
|
|
|
|
Align Left
|
2012-12-28 11:32:59 +00:00
|
|
|
Argument post:1
|
|
|
|
MenuString "Epigraph Source|S"
|
|
|
|
LabelString "Source"
|
2012-12-28 11:35:18 +00:00
|
|
|
Tooltip "The source/author of this epigraph"
|
2012-12-28 11:32:59 +00:00
|
|
|
Mandatory 1
|
|
|
|
EndArgument
|
2013-03-27 18:01:01 +00:00
|
|
|
HTMLStyle
|
|
|
|
div.epigraph {
|
|
|
|
float: right;
|
|
|
|
width: 33%;
|
|
|
|
font-size: small;
|
|
|
|
margin: 0.5em 0em 0.5em 1em;
|
|
|
|
}
|
|
|
|
EndHTMLStyle
|
2003-09-22 08:47:10 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
Style Poemtitle
|
2012-12-28 09:52:58 +00:00
|
|
|
Category Sectioning
|
2003-09-22 08:47:10 +00:00
|
|
|
LatexType Command
|
2012-11-19 13:21:02 +00:00
|
|
|
LatexName PoemTitle
|
2003-09-22 08:47:10 +00:00
|
|
|
NeedProtect 1
|
|
|
|
NextNoIndent 1
|
|
|
|
LabelSep xxx
|
|
|
|
ParSkip 0.4
|
|
|
|
TopSep 0.4
|
|
|
|
ParSep 0.4
|
|
|
|
Align center
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2012-11-23 17:26:02 +00:00
|
|
|
LabelString "Short Title (TOC)|S"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The poem title as it appears in the table of contents"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
|
|
|
Argument 2
|
|
|
|
LabelString "Short Title (Header)"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The poem title as it appears in the running headers"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-23 13:43:29 +00:00
|
|
|
Requires 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2003-09-22 08:47:10 +00:00
|
|
|
Font
|
|
|
|
Series Bold
|
|
|
|
EndFont
|
2023-01-07 02:59:22 +00:00
|
|
|
HTMLTag h2
|
2003-09-22 08:47:10 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Poemtitle*
|
|
|
|
CopyStyle Poemtitle
|
2010-08-10 22:34:08 +00:00
|
|
|
Category Unnumbered
|
2012-11-19 13:21:02 +00:00
|
|
|
LatexName PoemTitle*
|
|
|
|
Argument 1
|
2012-11-23 17:26:02 +00:00
|
|
|
LabelString "Short Title (TOC)|S"
|
2012-11-20 13:10:19 +00:00
|
|
|
Tooltip "The poem title as it appears in the table of contents"
|
2015-05-21 07:12:45 +00:00
|
|
|
InsertCotext 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2003-09-22 08:47:10 +00:00
|
|
|
End
|
2003-09-27 12:18:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
Input stdtitle.inc
|
2017-12-23 12:26:35 +00:00
|
|
|
|
|
|
|
Style Title
|
|
|
|
NeedProtect true
|
|
|
|
End
|
|
|
|
|
|
|
|
Style Author
|
|
|
|
NeedProtect true
|
|
|
|
End
|
|
|
|
|
2003-09-27 12:18:11 +00:00
|
|
|
Input stdstruct.inc
|
|
|
|
|
|
|
|
|
|
|
|
Style Bibliography
|
|
|
|
TopSep 4
|
2005-06-13 09:36:58 +00:00
|
|
|
LabelString "Bibliography"
|
2003-09-27 12:18:11 +00:00
|
|
|
LabelFont
|
|
|
|
Series Bold
|
|
|
|
Size Huge
|
|
|
|
EndFont
|
2018-01-29 08:09:51 +00:00
|
|
|
TocLevel 0
|
2003-09-27 12:18:11 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Input lyxmacros.inc
|
|
|
|
Input stdlayouts.inc
|
|
|
|
|
|
|
|
Style Legend
|
2013-01-30 11:36:49 +00:00
|
|
|
Category MainText
|
2003-09-27 12:18:11 +00:00
|
|
|
LatexType Command
|
|
|
|
LatexName legend
|
|
|
|
NeedProtect 1
|
|
|
|
NextNoIndent 1
|
2009-05-02 07:56:13 +00:00
|
|
|
ParSkip 0.4
|
|
|
|
Align Center
|
2003-09-27 12:18:11 +00:00
|
|
|
End
|
2019-08-13 08:38:26 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Endnotes (called "pagenotes" in memoir)
|
|
|
|
#
|
|
|
|
|
|
|
|
Counter endnotes
|
2020-05-03 02:37:18 +00:00
|
|
|
GuiName Endnotes
|
2019-08-13 08:38:26 +00:00
|
|
|
PrettyFormat "Endnote ##"
|
|
|
|
End
|
|
|
|
|
|
|
|
InsetLayout Flex:Endnote
|
|
|
|
LyXType custom
|
|
|
|
LatexName pagenote
|
|
|
|
LatexType command
|
|
|
|
Counter endnotes
|
|
|
|
Decoration classic
|
|
|
|
Font
|
|
|
|
Size Small
|
|
|
|
EndFont
|
|
|
|
MultiPar true
|
|
|
|
LabelString endnote
|
|
|
|
Preamble
|
|
|
|
\makepagenote
|
|
|
|
EndPreamble
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\notesname}{_(Notes[[Endnotes]])}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\notesname}{_(Notes[[Endnotes]])}}
|
|
|
|
EndBabelPreamble
|
|
|
|
End
|
|
|
|
|
|
|
|
# We are only interested in the list
|
|
|
|
Float
|
|
|
|
Type pagenote
|
|
|
|
ListName "Endnotes (all)"
|
|
|
|
IsPredefined true
|
|
|
|
UsesFloatPkg false
|
|
|
|
ListCommand printpagenotes
|
|
|
|
End
|
|
|
|
|
|
|
|
Float
|
|
|
|
Type pagenote*
|
|
|
|
ListName "Endnotes (sectioned)"
|
|
|
|
IsPredefined true
|
|
|
|
UsesFloatPkg false
|
|
|
|
ListCommand printpagenotes*
|
|
|
|
End
|