File: sectionbox.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 (58 lines) | stat: -rw-r--r-- 1,403 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#\DeclareLyXModule[sectionbox.sty]{Section Boxes}
#\DeclareCategory{Boxes}
#DescriptionBegin
#Defines Boxes with section header. Mainly intended for
#the SciPoster class.
#DescriptionEnd

# Author: Jürgen Spitzmüller <spitz@lyx.org>

Format 111

InsetLayout Flex:SectionBox
	LyXType            custom
	LabelString        "Section Box"
	LatexType          environment
	LatexName          sectionbox
	Decoration         classic
	MultiPar           true
	CustomPars         true
	Requires	       sectionbox
	Argument 1
		LabelString    "Width"
		MenuString     "Section Box Width|S"
		Tooltip        "Width of the section Box"
		DocBookTag     IGNORE
	EndArgument
	Argument 2
		LabelString    "Heading"
		MenuString     "Section Box Heading"
		Mandatory      1
		Decoration     conglomerate
		AutoInsert     1
		Tooltip        "Insert the section box header here"
		Font
		    Size       Large
		    Series     Bold
		EndFont
		DocBookTag     title
		DocBookTagType paragraph
		DocBookArgumentBeforeMainTag  true
	EndArgument
	ResetsFont         true
	DocBookTag         section
	DocBookItemTag     para
End

InsetLayout Flex:SubsectionBox
	CopyStyle          Flex:SectionBox
	LabelString        "Subsection Box"
	LatexName          subsectionbox
End

InsetLayout Flex:SubsubsectionBox
	CopyStyle          Flex:SectionBox
	LabelString        "Subsubsection Box"
	LatexName          subsubsectionbox
End