]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/test/tabular-x-test.lyx.lyx
Update tex2lyx tests
[lyx.git] / src / tex2lyx / test / tabular-x-test.lyx.lyx
1 #LyX file created by tex2lyx 2.4
2 \lyxformat 612
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 \docbook_mathml_prefix 1
95 \end_header
96
97 \begin_body
98
99 \begin_layout Standard
100 The first table is configured as longtable first, the selected variable length in second column and set the table width 14cm.
101 \end_layout
102
103 \begin_layout Standard
104
105 \begin_inset Tabular 
106 <lyxtabular version="3" rows="7" columns="4">
107 <features islongtable="true" longtabularalignment="center" tabularwidth="14cm">
108 <column alignment="center" valignment="top">
109 <column alignment="center" valignment="top" varwidth="true">
110 <column alignment="center" valignment="top">
111 <column alignment="center" valignment="top" varwidth="true">
112 <row endhead="true">
113 <cell multicolumn="1" alignment="none" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none" special="c">
114 \begin_inset Text
115
116 \begin_layout Standard
117 xltabular
118 \end_layout
119
120 \end_inset
121 </cell>
122 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
123 \begin_inset Text
124
125 \end_inset
126 </cell>
127 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
128 \begin_inset Text
129
130 \end_inset
131 </cell>
132 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
133 \begin_inset Text
134
135 \end_inset
136 </cell>
137 </row>
138 <row>
139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
140 \begin_inset Text
141
142 \end_inset
143 </cell>
144 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
145 \begin_inset Text
146
147 \begin_layout Standard
148 stretching this column. expecting a line break 
149 \end_layout
150
151 \end_inset
152 </cell>
153 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
154 \begin_inset Text
155
156 \end_inset
157 </cell>
158 <cell alignment="none" valignment="top" topline="true" rightline="true" usebox="none">
159 \begin_inset Text
160
161 \end_inset
162 </cell>
163 </row>
164 <row>
165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
166 \begin_inset Text
167
168 \begin_layout Standard
169 Left 
170 \end_layout
171
172 \end_inset
173 </cell>
174 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
175 \begin_inset Text
176
177 \end_inset
178 </cell>
179 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
180 \begin_inset Text
181
182 \begin_layout Standard
183 Right1 
184 \end_layout
185
186 \end_inset
187 </cell>
188 <cell alignment="none" valignment="top" topline="true" rightline="true" usebox="none">
189 \begin_inset Text
190
191 \end_inset
192 </cell>
193 </row>
194 <row>
195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
196 \begin_inset Text
197
198 \end_inset
199 </cell>
200 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
201 \begin_inset Text
202
203 \end_inset
204 </cell>
205 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
206 \begin_inset Text
207
208 \end_inset
209 </cell>
210 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
211 \begin_inset Text
212
213 \begin_layout Standard
214 and this
215 \end_layout
216
217 \end_inset
218 </cell>
219 </row>
220 <row>
221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
222 \begin_inset Text
223
224 \end_inset
225 </cell>
226 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
227 \begin_inset Text
228
229 \end_inset
230 </cell>
231 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
232 \begin_inset Text
233
234 \end_inset
235 </cell>
236 <cell alignment="none" valignment="top" topline="true" rightline="true" usebox="none">
237 \begin_inset Text
238
239 \end_inset
240 </cell>
241 </row>
242 <row>
243 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
244 \begin_inset Text
245
246 \end_inset
247 </cell>
248 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
249 \begin_inset Text
250
251 \end_inset
252 </cell>
253 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
254 \begin_inset Text
255
256 \end_inset
257 </cell>
258 <cell alignment="none" valignment="top" topline="true" rightline="true" usebox="none">
259 \begin_inset Text
260
261 \end_inset
262 </cell>
263 </row>
264 <row>
265 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
266 \begin_inset Text
267
268 \end_inset
269 </cell>
270 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
271 \begin_inset Text
272
273 \end_inset
274 </cell>
275 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
276 \begin_inset Text
277
278 \end_inset
279 </cell>
280 <cell alignment="none" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
281 \begin_inset Text
282
283 \end_inset
284 </cell>
285 </row>
286 </lyxtabular>
287
288 \end_inset
289
290
291 \end_layout
292
293 \begin_layout Standard
294 The next table is a normal table, variable length of forth column and width 14cm table with, enclosing paragraph is not indented.
295 \end_layout
296
297 \begin_layout Standard
298 \noindent
299
300 \begin_inset Tabular 
301 <lyxtabular version="3" rows="4" columns="5">
302 <features tabularvalignment="middle" tabularwidth="14cm">
303 <column alignment="center" valignment="top">
304 <column alignment="center" valignment="top">
305 <column alignment="center" valignment="top">
306 <column alignment="left" valignment="top" varwidth="true">
307 <column alignment="center" valignment="top">
308 <row>
309 <cell multicolumn="1" alignment="none" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none" special="c">
310 \begin_inset Text
311
312 \begin_layout Standard
313 tabularx
314 \end_layout
315
316 \end_inset
317 </cell>
318 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
319 \begin_inset Text
320
321 \end_inset
322 </cell>
323 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
324 \begin_inset Text
325
326 \end_inset
327 </cell>
328 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
329 \begin_inset Text
330
331 \end_inset
332 </cell>
333 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
334 \begin_inset Text
335
336 \end_inset
337 </cell>
338 </row>
339 <row>
340 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
341 \begin_inset Text
342
343 \end_inset
344 </cell>
345 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
346 \begin_inset Text
347
348 \end_inset
349 </cell>
350 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
351 \begin_inset Text
352
353 \end_inset
354 </cell>
355 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
356 \begin_inset Text
357
358 \begin_layout Standard
359 stretching this column only, expecting a line break, which comes later. The table width seems to be wrong 
360 \end_layout
361
362 \end_inset
363 </cell>
364 <cell alignment="none" valignment="top" topline="true" rightline="true" usebox="none">
365 \begin_inset Text
366
367 \end_inset
368 </cell>
369 </row>
370 <row>
371 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
372 \begin_inset Text
373
374 \begin_layout Standard
375 Left1 
376 \end_layout
377
378 \end_inset
379 </cell>
380 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
381 \begin_inset Text
382
383 \begin_layout Standard
384 Left2 
385 \end_layout
386
387 \end_inset
388 </cell>
389 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
390 \begin_inset Text
391
392 \end_inset
393 </cell>
394 <cell alignment="left" valignment="top" topline="true" rightline="true" usebox="none">
395 \begin_inset Text
396
397 \end_inset
398 </cell>
399 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
400 \begin_inset Text
401
402 \begin_layout Standard
403 Right1
404 \end_layout
405
406 \end_inset
407 </cell>
408 </row>
409 <row>
410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
411 \begin_inset Text
412
413 \end_inset
414 </cell>
415 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
416 \begin_inset Text
417
418 \end_inset
419 </cell>
420 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
421 \begin_inset Text
422
423 \begin_layout Standard
424 Left3long 
425 \end_layout
426
427 \end_inset
428 </cell>
429 <cell alignment="left" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
430 \begin_inset Text
431
432 \end_inset
433 </cell>
434 <cell alignment="none" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
435 \begin_inset Text
436
437 \end_inset
438 </cell>
439 </row>
440 </lyxtabular>
441
442 \end_inset
443
444
445 \begin_inset Note Note
446 status open
447 \begin_layout Plain Layout
448
449 \begin_inset CommandInset bibtex
450 LatexCommand bibtex
451
452 \end_inset
453
454 \end_layout
455
456 \end_inset
457
458
459 \end_layout
460
461 \end_body
462 \end_document