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