This file is indexed.

/usr/share/lyx/layouts/lyxmacros.inc is in lyx-common 2.2.2-1.

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
# Standard textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modifed and enhanced by several developers.

# This file contains some special LyX environments that are used by
# all environment classes. Some of these are a bit peculiar and might
# be removed later.


Format 60
Style LyX-Code
	Category              MainText
	Margin                Static
	LatexType             Environment
	LatexName             lyxcode
	NextNoIndent          1
	LeftMargin            MMM
	RightMargin           MMM
	TopSep                0.5
	BottomSep             0.5
	Align                 Left
	AlignPossible         Block, Left, Right, Center
	LabelType             No_Label
	FreeSpacing           1
	Preamble
		\newenvironment{lyxcode}
			{\par\begin{list}{}{
				\setlength{\rightmargin}{\leftmargin}
				\setlength{\listparindent}{0pt}% needed for AMS classes
				\raggedright
				\setlength{\itemsep}{0pt}
				\setlength{\parsep}{0pt}
				\normalfont\ttfamily}%
			 \item[]}
			{\end{list}}
	EndPreamble
	Font
	  Family              Typewriter
	EndFont
End


Style Address
	Category	      FrontMatter
	Margin                Static
	LatexType             Command
	LatexName             lyxaddress
	ParSkip               0.4
	BottomSep             1.5
	ParSep                1.5
	Align                 Left
	AlignPossible         Block, Left, Right, Center
	LabelType             No_Label
	Preamble
		\newcommand{\lyxaddress}[1]{
			\par {\raggedright #1
			\vspace{1.4em}
			\noindent\par}
		}
	EndPreamble
End


Style Right_Address
	Category	      FrontMatter
	Margin                Right_Address_Box
	LatexType             Command
	LatexName             lyxrightaddress
	ParSkip               0.4
	BottomSep             1.5
	ParSep                1.5
	Align                 Left
	Preamble
		\newcommand{\lyxrightaddress}[1]{
			\par {\raggedleft \begin{tabular}{l}\ignorespaces
			#1
			\end{tabular}
			\vspace{1.4em}
			\par}
		}
	EndPreamble
End