This file is indexed.

/usr/share/lyx/layouts/linguistics.module is in lyx-common 2.0.6-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
#\DeclareLyXModule[covington.sty]{Linguistics}
#DescriptionBegin
#Defines some special environments useful for linguistics (numbered examples,
#glosses, semantic markup, tableau floats).
#See linguistics.lyx file in examples.
#DescriptionEnd

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

Format 35

# single numbered example with covington.sty
Style Numbered_Example_(multiline)
	LatexType             Environment
	LatexName             example
	NextNoIndent          1
	Margin                Dynamic
	LabelSep              xx
	ParSkip               0.0
	ItemSep               0.2
	TopSep                0.7
	BottomSep             0.7
	ParSep                0.3
	Align                 Block
	AlignPossible         Block, Left
	LabelType             Static
	LabelString           "Example:"
	LabelFont
		Shape         Italic
		Color         Blue
	EndFont
	Requires              covington
	Category              Linguistics
End


# multiple numbered examples with covington.sty
Style Numbered_Examples_(consecutive)
	CopyStyle	      Numbered_Example_(multiline)
	LatexType             Item_Environment
	LatexName             examples
	LabelString           "Examples:"
End


# multiple numbered example with covington.sty
Style Subexample
	CopyStyle	      Numbered_Example_(multiline)
	LatexType             Item_Environment
	LatexName             subexample
	LabelString           "Subexample:"
	Requires	      covington,enumitem
	Preamble
		\newenvironment{subexample}{%
			\begin{example}\begin{enumerate}[leftmargin=1.7em]
			\renewcommand\theenumi{\alph{enumi}}
			\renewcommand\labelenumi{(\theenumi)}
			\renewcommand\p@enumi{\theequation\,}}%
			{\end{enumerate}\end{example}}
	EndPreamble
End


# glosse (2 lines) with covington.sty
# mandatory translation must be entered verbatim!
InsetLayout Flex:Glosse
	LyXType               custom
	LabelString           Glosse
	LatexType             environment
	LatexName             linggloss
	Decoration            minimalistic
	LabelFont
	  Size                Small
	EndFont
	MultiPar              true
	CustomPars            false
	ForcePlain            true
	PassThru              true
	ParbreakIsNewline     true
	FreeSpacing           true
	ForceLTR              true
	Requires	      covington
	Preamble
		\@ifundefined{linggloss}{%
		\newenvironment{linggloss}[1]{%
			\gll #1}
		{\glend}}{}
	EndPreamble
	InToc                 true
End


# glosse (3 lines) with covington.sty
# mandatory translation must be entered verbatim!
InsetLayout Flex:Tri-Glosse
	LyXType               custom
	LabelString           Tri-Glosse
	LatexType             environment
	LatexName             lingglosss
	Decoration            minimalistic
	LabelFont
	  Size                Small
	EndFont
	MultiPar              true
	CustomPars            false
	ForcePlain            true
	PassThru              true
	ParbreakIsNewline     true
	FreeSpacing           true
	ForceLTR              true
	InToc                 true
	Requires	      covington
	Preamble
		\@ifundefined{lingglosss}{%
		\newenvironment{lingglosss}[1]{%
			\glll #1}
		{\glend}}{}
	EndPreamble
End


# Some semantik markup for Semantics
InsetLayout Flex:Expression
	LyxType               charstyle
	LabelString           expr.
	LatexType             command
	LatexName             lingexpr
	Font
	  Shape               Italic
	EndFont
	Preamble
		\newcommand{\lingexpr}[1]{\emph{#1}}
	EndPreamble
	InToc                 true
End


InsetLayout Flex:Concepts
	LyxType               charstyle
	LabelString           concept
	LatexType             command
	LatexName             lingconcept
	Font
	  Shape               Smallcaps
	EndFont
	Preamble
		\newcommand{\lingconcept}[1]{\textsc{#1}}
	EndPreamble
	InToc                 true
End


InsetLayout Flex:Meaning
	LyxType               charstyle
	LabelString           meaning
	LatexType             command
	LatexName             lingmeaning
	Requires              csquotes
	Preamble
		\newcommand{\lingmeaning}[1]{\enquote*{#1}}
	EndPreamble
	InToc                 true
End


# Tableaux for Optimality Theory
Float
	Type                  tableau
	GuiName               Tableau
	Placement             tbp
	Extension             otl
	NumberWithin          none
	Style                 plain
	ListName              "List of Tableaux"
	IsPredefined          false
	UsesFloatPkg          true
End