File: InStar.module

package info (click to toggle)
lyx 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,444 kB
  • sloc: cpp: 244,268; ansic: 106,398; xml: 72,791; python: 39,384; sh: 7,666; makefile: 6,584; pascal: 2,143; perl: 2,101; objc: 1,084; tcl: 163; sed: 16
file content (29 lines) | stat: -rw-r--r-- 889 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#\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 111

Style "In Preamble"
	CopyStyle Standard
	Category FrontMatter
	InPreamble 1
	ForceLocal -1
End

Style "In Title"
	CopyStyle Standard
	Category FrontMatter
	InTitle 1
	ForceLocal -1
End