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