mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
9ca91b2566
There is nothing in the diff besides the format number changing from 93 to 95. From what I understand, this is as expected since 93 -> 94 and 94 -> 95 just add new layout tags. Updating the layouts makes it easier to test master. Otherwise, in some use cases layout2layout can be run hundreds of times which can make some things slow (e.g., opening documents or even opening the advanced find pane).
30 lines
888 B
Plaintext
30 lines
888 B
Plaintext
#\DeclareLyXModule{Title and Preamble Hacks}
|
|
#\DeclareCategory{Fixes & Hacks}
|
|
#DescriptionBegin
|
|
#Provides two new styles:
|
|
#1. An 'In Preamble' style that puts whatever is entered into it into the preamble.
|
|
# This can be used, if one wishes, to include preamble code in the body of the
|
|
# LyX document.
|
|
#2. An 'In Title' style that will put its contents into the body of the LaTeX
|
|
# 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
|
|
#Author: Richard Kimberly Heck <rikiheck@lyx.org>
|
|
|
|
Format 95
|
|
|
|
Style "In Preamble"
|
|
CopyStyle Standard
|
|
Category FrontMatter
|
|
InPreamble 1
|
|
ForceLocal -1
|
|
End
|
|
|
|
Style "In Title"
|
|
CopyStyle Standard
|
|
Category FrontMatter
|
|
InTitle 1
|
|
ForceLocal -1
|
|
End
|