]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/tabular-x-test.lyx.lyx
Update tex2lyx tests after the format change
[lyx.git] / src / tex2lyx / test / tabular-x-test.lyx.lyx
1 #LyX file created by tex2lyx 2.4
2 \lyxformat 599
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin roundtrip
7 \textclass article
8 \begin_preamble
9
10
11
12
13
14
15
16 \usepackage[english]{babel}
17
18 \end_preamble
19 \use_default_options false
20 \maintain_unincluded_children no
21 \language english
22 \language_package default
23 \inputencoding iso8859-15
24 \fontencoding T1
25 \font_roman "default" "default"
26 \font_sans "default" "default"
27 \font_typewriter "default" "default"
28 \font_math "auto" "auto"
29 \font_default_family default
30 \use_non_tex_fonts false
31 \font_sc false
32 \font_roman_osf false
33 \font_sans_osf false
34 \font_typewriter_osf false
35 \font_sf_scale 100 100
36 \font_tt_scale 100 100
37 \use_microtype false
38 \use_dash_ligatures true
39 \graphics default
40 \default_output_format default
41 \output_sync 0
42 \bibtex_command default
43 \index_command default
44 \paperfontsize default
45 \spacing single
46 \use_hyperref false
47 \papersize default
48 \use_geometry false
49 \use_package amsmath 1
50 \use_package amssymb 0
51 \use_package cancel 0
52 \use_package esint 1
53 \use_package mathdots 0
54 \use_package mathtools 0
55 \use_package mhchem 0
56 \use_package stackrel 0
57 \use_package stmaryrd 0
58 \use_package undertilde 0
59 \cite_engine biblatex-natbib
60 \cite_engine_type authoryear
61 \biblio_style plainnat
62 \use_bibtopic false
63 \biblatex_bibstyle authoryear
64 \biblatex_citestyle authoryear
65 \use_indices false
66 \paperorientation portrait
67 \suppress_date false
68 \justification true
69 \use_refstyle 0
70 \use_minted 0
71 \use_lineno false
72 \index Index
73 \shortcut idx
74 \color #008000
75 \end_index
76 \secnumdepth 3
77 \tocdepth 3
78 \paragraph_separation indent
79 \paragraph_indentation default
80 \is_math_indent 0
81 \math_numbering_side default
82 \quotes_style english
83 \dynamic_quotes 0
84 \papercolumns 1
85 \papersides 1
86 \paperpagestyle default
87 \tracking_changes false
88 \output_changes false
89 \change_bars false
90 \html_math_output 0
91 \html_css_as_file 0
92 \html_be_strict false
93 \docbook_table_output 0
94 \end_header
95
96 \begin_body
97
98 \begin_layout Standard
99 The first table is configured as longtable first, the selected variable length in second column and set the table width 14cm.
100 \end_layout
101
102 \begin_layout Standard
103
104 \begin_inset Tabular 
105 <lyxtabular version="3" rows="7" columns="4">
106 <features islongtable="true" longtabularalignment="center" tabularwidth="14cm">
107 <column alignment="center" valignment="top">
108 <column alignment="center" valignment="top" varwidth="true">
109 <column alignment="center" valignment="top">
110 <column alignment="center" valignment="top" varwidth="true">
111 <row endhead="true">
112 <cell multicolumn="1" alignment="none" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none" special="c">
113 \begin_inset Text
114
115 \begin_layout Standard
116 xltabular
117 \end_layout
118
119 \end_inset
120 </cell>
121 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
122 \begin_inset Text
123
124 \end_inset
125 </cell>
126 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
127 \begin_inset Text
128
129 \end_inset
130 </cell>
131 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
132 \begin_inset Text
133
134 \end_inset
135 </cell>
136 </row>
137 <row>
138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
139 \begin_inset Text
140
141 \end_inset
142 </cell>
143 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
144 \begin_inset Text
145
146 \begin_layout Standard
147 stretching this column. expecting a line break 
148 \end_layout
149
150 \end_inset
151 </cell>
152 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
153 \begin_inset Text
154
155 \end_inset
156 </cell>
157 <cell alignment="none" valignment="top" topline="true" rightline="true" usebox="none">
158 \begin_inset Text
159
160 \end_inset
161 </cell>
162 </row>
163 <row>
164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
165 \begin_inset Text
166
167 \begin_layout Standard
168 Left 
169 \end_layout
170
171 \end_inset
172 </cell>
173 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
174 \begin_inset Text
175
176 \end_inset
177 </cell>
178 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
179 \begin_inset Text
180
181 \begin_layout Standard
182 Right1 
183 \end_layout
184
185 \end_inset
186 </cell>
187 <cell alignment="none" valignment="top" topline="true" rightline="true" usebox="none">
188 \begin_inset Text
189
190 \end_inset
191 </cell>
192 </row>
193 <row>
194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
195 \begin_inset Text
196
197 \end_inset
198 </cell>
199 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
200 \begin_inset Text
201
202 \end_inset
203 </cell>
204 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
205 \begin_inset Text
206
207 \end_inset
208 </cell>
209 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
210 \begin_inset Text
211
212 \begin_layout Standard
213 and this
214 \end_layout
215
216 \end_inset
217 </cell>
218 </row>
219 <row>
220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
221 \begin_inset Text
222
223 \end_inset
224 </cell>
225 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
226 \begin_inset Text
227
228 \end_inset
229 </cell>
230 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
231 \begin_inset Text
232
233 \end_inset
234 </cell>
235 <cell alignment="none" valignment="top" topline="true" rightline="true" usebox="none">
236 \begin_inset Text
237
238 \end_inset
239 </cell>
240 </row>
241 <row>
242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
243 \begin_inset Text
244
245 \end_inset
246 </cell>
247 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
248 \begin_inset Text
249
250 \end_inset
251 </cell>
252 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
253 \begin_inset Text
254
255 \end_inset
256 </cell>
257 <cell alignment="none" valignment="top" topline="true" rightline="true" usebox="none">
258 \begin_inset Text
259
260 \end_inset
261 </cell>
262 </row>
263 <row>
264 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
265 \begin_inset Text
266
267 \end_inset
268 </cell>
269 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
270 \begin_inset Text
271
272 \end_inset
273 </cell>
274 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
275 \begin_inset Text
276
277 \end_inset
278 </cell>
279 <cell alignment="none" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
280 \begin_inset Text
281
282 \end_inset
283 </cell>
284 </row>
285 </lyxtabular>
286
287 \end_inset
288
289
290 \end_layout
291
292 \begin_layout Standard
293 The next table is a normal table, variable length of forth column and width 14cm table with, enclosing paragraph is not indented.
294 \end_layout
295
296 \begin_layout Standard
297 \noindent
298
299 \begin_inset Tabular 
300 <lyxtabular version="3" rows="4" columns="5">
301 <features tabularvalignment="middle" tabularwidth="14cm">
302 <column alignment="center" valignment="top">
303 <column alignment="center" valignment="top">
304 <column alignment="center" valignment="top">
305 <column alignment="left" valignment="top" varwidth="true">
306 <column alignment="center" valignment="top">
307 <row>
308 <cell multicolumn="1" alignment="none" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none" special="c">
309 \begin_inset Text
310
311 \begin_layout Standard
312 tabularx
313 \end_layout
314
315 \end_inset
316 </cell>
317 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
318 \begin_inset Text
319
320 \end_inset
321 </cell>
322 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
323 \begin_inset Text
324
325 \end_inset
326 </cell>
327 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
328 \begin_inset Text
329
330 \end_inset
331 </cell>
332 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
333 \begin_inset Text
334
335 \end_inset
336 </cell>
337 </row>
338 <row>
339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
340 \begin_inset Text
341
342 \end_inset
343 </cell>
344 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
345 \begin_inset Text
346
347 \end_inset
348 </cell>
349 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
350 \begin_inset Text
351
352 \end_inset
353 </cell>
354 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
355 \begin_inset Text
356
357 \begin_layout Standard
358 stretching this column only, expecting a line break, which comes later. The table width seems to be wrong 
359 \end_layout
360
361 \end_inset
362 </cell>
363 <cell alignment="none" valignment="top" topline="true" rightline="true" usebox="none">
364 \begin_inset Text
365
366 \end_inset
367 </cell>
368 </row>
369 <row>
370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
371 \begin_inset Text
372
373 \begin_layout Standard
374 Left1 
375 \end_layout
376
377 \end_inset
378 </cell>
379 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
380 \begin_inset Text
381
382 \begin_layout Standard
383 Left2 
384 \end_layout
385
386 \end_inset
387 </cell>
388 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
389 \begin_inset Text
390
391 \end_inset
392 </cell>
393 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
394 \begin_inset Text
395
396 \end_inset
397 </cell>
398 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
399 \begin_inset Text
400
401 \begin_layout Standard
402 Right1
403 \end_layout
404
405 \end_inset
406 </cell>
407 </row>
408 <row>
409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
410 \begin_inset Text
411
412 \end_inset
413 </cell>
414 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
415 \begin_inset Text
416
417 \end_inset
418 </cell>
419 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
420 \begin_inset Text
421
422 \begin_layout Standard
423 Left3long 
424 \end_layout
425
426 \end_inset
427 </cell>
428 <cell alignment="left" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
429 \begin_inset Text
430
431 \end_inset
432 </cell>
433 <cell alignment="none" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
434 \begin_inset Text
435
436 \end_inset
437 </cell>
438 </row>
439 </lyxtabular>
440
441 \end_inset
442
443
444 \begin_inset Note Note
445 status open
446 \begin_layout Plain Layout
447
448 \begin_inset CommandInset bibtex
449 LatexCommand bibtex
450
451 \end_inset
452
453 \end_layout
454
455 \end_inset
456
457
458 \end_layout
459
460 \end_body
461 \end_document