File: soul.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 (93 lines) | stat: -rw-r--r-- 1,705 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#\DeclareLyXModule[soul.sty]{Hyphenatable Text Markup (Soul)}
#\DeclareCategory{Text Markup}
#DescriptionBegin
#Defines text styles to highlight, space-out, strike-through,
#underline and capitalize/small-cap text by means of the soul package.
#As opposed to the markup provided by the Text Properties
#dialog, words marked-up with soul are hyphenated.
#DescriptionEnd
#Requires	
#Excludes

#Author: Stephen [original implementation],
#        Juergen Spitzmueller <spitz@lyx.org> [fixes]

Format 111

InsetLayout Flex:Spaceletters
	LyxType	charstyle
	LabelString	spaced
	Decoration	conglomerate
	LatexType	command
	LatexName	so
	LabelFont
	    Size	Small
	EndFont
	NeedMBoxProtect	true
	MultiPar	true
	ForcePlain	true
	Requires	soul
	InToc		1
End

InsetLayout Flex:Strikethrough
	CopyStyle	Flex:Spaceletters
	LabelString	strike
	LatexName	st
	Font
	    Misc        strikeout
	EndFont
End

InsetLayout Flex:Underline
	CopyStyle	Flex:Spaceletters
	LabelString	ul
	LatexName	ul
	Font
	    Misc       underbar
	EndFont
End

InsetLayout Flex:Highlight
	CopyStyle	Flex:Spaceletters
	LabelString	hl
	LatexName	hl
	BgColor		notebg
	Requires	soul,color
End

InsetLayout Flex:Capitalize
	CopyStyle	Flex:Spaceletters
	LabelString	caps
	LatexName	caps
	Font
	    Shape	smallcaps
	EndFont
End


# Obsolete older forms used on wiki.lyx.org

InsetLayout Flex:spaceletters
	ObsoletedBy	Flex:Spaceletters
End

InsetLayout Flex:strikethrough
	ObsoletedBy	Flex:Strikethrough
End

InsetLayout Flex:underline
	ObsoletedBy	Flex:Underline
End

InsetLayout Flex:highlight
	ObsoletedBy	Flex:Highlight
End

InsetLayout Flex:capitalise
	ObsoletedBy	Flex:Capitalize
End

InsetLayout Flex:Capitalise
	ObsoletedBy	Flex:Capitalize
End