2016-06-20 15:06:31 +00:00
|
|
|
#\DeclareLyXModule{Title and Preamble Hacks}
|
2019-04-07 09:21:21 +00:00
|
|
|
#\DeclareCategory{Fixes & Hacks}
|
2016-06-20 15:06:31 +00:00
|
|
|
#DescriptionBegin
|
|
|
|
#Provides two new styles:
|
2016-07-14 21:46:12 +00:00
|
|
|
#1. An 'In Preamble' style that puts whatever is entered into it into the preamble.
|
2016-06-20 15:06:31 +00:00
|
|
|
# This can be used, if one wishes, to include preamble code in the body of the
|
|
|
|
# LyX document.
|
2016-07-14 21:46:12 +00:00
|
|
|
#2. An 'In Title' style that will put its contents into the body of the LaTeX
|
2016-06-20 15:06:31 +00:00
|
|
|
# document, but before \maketitle is issued. This is useful for making branches
|
|
|
|
# and notes in title-related material. (If you put these in a Standard layout,
|
|
|
|
# this signals to LyX to output \maketitle, which may then come too early.)
|
|
|
|
#DescriptionEnd
|
2020-12-05 22:09:17 +00:00
|
|
|
#Author: Richard Kimberly Heck <rikiheck@lyx.org>
|
2016-06-20 15:06:31 +00:00
|
|
|
|
2021-10-25 16:28:06 +00:00
|
|
|
Format 95
|
2016-06-20 15:06:31 +00:00
|
|
|
|
|
|
|
Style "In Preamble"
|
|
|
|
CopyStyle Standard
|
|
|
|
Category FrontMatter
|
|
|
|
InPreamble 1
|
|
|
|
ForceLocal -1
|
|
|
|
End
|
|
|
|
|
|
|
|
Style "In Title"
|
|
|
|
CopyStyle Standard
|
|
|
|
Category FrontMatter
|
|
|
|
InTitle 1
|
|
|
|
ForceLocal -1
|
|
|
|
End
|