]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/test-modules.lyx.lyx
Update tex2lyx tests.
[lyx.git] / src / tex2lyx / test / test-modules.lyx.lyx
1 #LyX file created by tex2lyx 2.3
2 \lyxformat 525
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin roundtrip
7 \textclass amsart
8 \begin_preamble
9 \usepackage{babel}
10
11 \end_preamble
12 \use_default_options false
13 \begin_modules
14 theorems-ams
15 \end_modules
16 \maintain_unincluded_children false
17 \language english
18 \language_package default
19 \inputencoding iso8859-15
20 \fontencoding T1
21 \font_roman "default" "default"
22 \font_sans "default" "default"
23 \font_typewriter "default" "default"
24 \font_math "auto" "auto"
25 \font_default_family default
26 \use_non_tex_fonts false
27 \font_sc false
28 \font_osf false
29 \font_sf_scale 100 100
30 \font_tt_scale 100 100
31 \use_microtype 0
32 \graphics default
33 \default_output_format default
34 \output_sync 0
35 \bibtex_command default
36 \index_command default
37 \paperfontsize default
38 \spacing single
39 \use_hyperref false
40 \papersize default
41 \use_geometry false
42 \use_package amsmath 1
43 \use_package amssymb 0
44 \use_package cancel 0
45 \use_package esint 1
46 \use_package mathdots 0
47 \use_package mathtools 0
48 \use_package mhchem 0
49 \use_package stackrel 0
50 \use_package stmaryrd 0
51 \use_package undertilde 0
52 \cite_engine basic
53 \cite_engine_type default
54 \biblio_style plain
55 \use_bibtopic false
56 \use_indices false
57 \paperorientation portrait
58 \suppress_date false
59 \justification true
60 \use_refstyle 0
61 \index Index
62 \shortcut idx
63 \color #008000
64 \end_index
65 \secnumdepth 3
66 \tocdepth 3
67 \paragraph_separation indent
68 \paragraph_indentation default
69 \quotes_style english
70 \papercolumns 1
71 \papersides 1
72 \paperpagestyle default
73 \tracking_changes false
74 \output_changes false
75 \html_math_output 0
76 \html_css_as_file 0
77 \html_be_strict false
78 \end_header
79
80 \begin_body
81
82 \begin_layout Standard
83 This is a dummy file
84 \end_layout
85
86 \begin_layout Standard
87 It has a theorem, a lemma and a proof.
88 \end_layout
89
90 \begin_layout Standard
91 The theorem is recognized is a style provided by the module theorems-ams, since the preamble code matches.
92 \end_layout
93
94 \begin_layout Standard
95 The lemma is not recognized as a command provided by a module, since the preamble code is from an older version of LyX, and modules are only loaded if the preamble code matches (otherwise you could easily get completely different output for some often used names like 
96 \backslash
97 theorem.
98 \end_layout
99
100 \begin_layout Standard
101 The proof is recognized as a builtin style provided by the text class.
102 \end_layout
103
104 \begin_layout Standard
105
106 \begin_inset ERT
107 status collapsed
108
109 \begin_layout Plain Layout
110
111 \backslash
112 begin{lem}
113 \end_layout
114
115 \end_inset
116
117  this is a lemma
118 \begin_inset ERT
119 status collapsed
120
121 \begin_layout Plain Layout
122
123 \backslash
124 end{lem}
125 \end_layout
126
127 \end_inset
128
129  
130 \end_layout
131
132 \begin_layout Theorem
133 this is the theorem
134 \end_layout
135
136 \begin_layout Proof
137 this is the proof 
138 \end_layout
139
140 \end_body
141 \end_document