]> git.lyx.org Git - lyx.git/blob - lib/examples/Minipage.lyx
currency patch from Adrien; better search for perl
[lyx.git] / lib / examples / Minipage.lyx
1 #LyX 1.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 220
3 \textclass article
4 \language english
5 \inputencoding latin1
6 \fontscheme default
7 \graphics default
8 \paperfontsize default
9 \spacing single 
10 \papersize Default
11 \paperpackage a4
12 \use_geometry 0
13 \use_amsmath 0
14 \use_natbib 0
15 \use_numerical_citations 0
16 \paperorientation portrait
17 \secnumdepth 3
18 \tocdepth 3
19 \paragraph_separation skip
20 \defskip medskip
21 \quotes_language danish
22 \quotes_times 2
23 \papercolumns 1
24 \papersides 1
25 \paperpagestyle default
26
27 \layout Standard
28 \align center 
29
30 \series bold 
31 \size largest 
32 Some examples of how to use minipages
33 \layout Standard
34 \align center 
35
36 \series bold 
37 \size largest 
38 in LyX 
39 \layout Standard
40 \added_space_bottom bigskip \align center 
41
42 \series bold 
43 \size largest 
44 by Jürgen Vigna (jug@sad.it)
45 \layout Standard
46
47
48 \begin_inset Minipage
49 position 0
50 inner_position 0
51 height "0pt"
52 width "45p%"
53 collapsed false
54
55 \layout Standard
56 \added_space_top 0.3cm \added_space_bottom 0.3cm \align center 
57
58 \begin_inset  Tabular
59 <lyxtabular version="3" rows="5" columns="5">
60 <features>
61 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
62 <column alignment="center" valignment="top" leftline="true" width="0pt">
63 <column alignment="center" valignment="top" leftline="true" width="0pt">
64 <column alignment="center" valignment="top" leftline="true" width="0pt">
65 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
66 <row topline="true" bottomline="true">
67 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
68 \begin_inset Text
69
70 \layout Standard
71
72 1
73 \end_inset 
74 </cell>
75 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
76 \begin_inset Text
77
78 \layout Standard
79
80 2
81 \end_inset 
82 </cell>
83 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
84 \begin_inset Text
85
86 \layout Standard
87
88 3
89 \end_inset 
90 </cell>
91 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
92 \begin_inset Text
93
94 \layout Standard
95
96 4
97 \end_inset 
98 </cell>
99 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
100 \begin_inset Text
101
102 \layout Standard
103
104 5
105 \end_inset 
106 </cell>
107 </row>
108 <row topline="true">
109 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
110 \begin_inset Text
111
112 \layout Standard
113
114 2
115 \end_inset 
116 </cell>
117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
118 \begin_inset Text
119
120 \layout Standard
121
122 a
123 \end_inset 
124 </cell>
125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
126 \begin_inset Text
127
128 \layout Standard
129
130 b
131 \end_inset 
132 </cell>
133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
134 \begin_inset Text
135
136 \layout Standard
137
138 c
139 \end_inset 
140 </cell>
141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
142 \begin_inset Text
143
144 \layout Standard
145
146 d
147 \end_inset 
148 </cell>
149 </row>
150 <row topline="true">
151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
152 \begin_inset Text
153
154 \layout Standard
155
156 3
157 \end_inset 
158 </cell>
159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
160 \begin_inset Text
161
162 \layout Standard
163
164 e
165 \end_inset 
166 </cell>
167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
168 \begin_inset Text
169
170 \layout Standard
171
172 f
173 \end_inset 
174 </cell>
175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
176 \begin_inset Text
177
178 \layout Standard
179
180 g
181 \end_inset 
182 </cell>
183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
184 \begin_inset Text
185
186 \layout Standard
187
188 h
189 \end_inset 
190 </cell>
191 </row>
192 <row topline="true">
193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
194 \begin_inset Text
195
196 \layout Standard
197
198 4
199 \end_inset 
200 </cell>
201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
202 \begin_inset Text
203
204 \layout Standard
205
206 i
207 \end_inset 
208 </cell>
209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
210 \begin_inset Text
211
212 \layout Standard
213
214 j
215 \end_inset 
216 </cell>
217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
218 \begin_inset Text
219
220 \layout Standard
221
222 k
223 \end_inset 
224 </cell>
225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
226 \begin_inset Text
227
228 \layout Standard
229
230 l
231 \end_inset 
232 </cell>
233 </row>
234 <row topline="true" bottomline="true">
235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
236 \begin_inset Text
237
238 \layout Standard
239
240 5
241 \end_inset 
242 </cell>
243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
244 \begin_inset Text
245
246 \layout Standard
247
248 m
249 \end_inset 
250 </cell>
251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
252 \begin_inset Text
253
254 \layout Standard
255
256 n
257 \end_inset 
258 </cell>
259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
260 \begin_inset Text
261
262 \layout Standard
263
264 o
265 \end_inset 
266 </cell>
267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
268 \begin_inset Text
269
270 \layout Standard
271
272 p
273 \end_inset 
274 </cell>
275 </row>
276 </lyxtabular>
277
278 \end_inset 
279
280
281 \end_inset 
282
283
284 \hfill 
285
286 \begin_inset Minipage
287 position 0
288 inner_position 0
289 height "0pt"
290 width "45p%"
291 collapsed false
292
293 \layout Standard
294 \added_space_top 0.3cm \added_space_bottom 0.3cm \align center 
295
296 \begin_inset  Tabular
297 <lyxtabular version="3" rows="5" columns="5">
298 <features>
299 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
300 <column alignment="center" valignment="top" leftline="true" width="0pt">
301 <column alignment="center" valignment="top" leftline="true" width="0pt">
302 <column alignment="center" valignment="top" leftline="true" width="0pt">
303 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
304 <row topline="true" bottomline="true">
305 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
306 \begin_inset Text
307
308 \layout Standard
309
310 1
311 \end_inset 
312 </cell>
313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
314 \begin_inset Text
315
316 \layout Standard
317
318 2
319 \end_inset 
320 </cell>
321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
322 \begin_inset Text
323
324 \layout Standard
325
326 3
327 \end_inset 
328 </cell>
329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
330 \begin_inset Text
331
332 \layout Standard
333
334 4
335 \end_inset 
336 </cell>
337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
338 \begin_inset Text
339
340 \layout Standard
341
342 5
343 \end_inset 
344 </cell>
345 </row>
346 <row topline="true">
347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
348 \begin_inset Text
349
350 \layout Standard
351
352 2
353 \end_inset 
354 </cell>
355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
356 \begin_inset Text
357
358 \layout Standard
359
360 a
361 \end_inset 
362 </cell>
363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
364 \begin_inset Text
365
366 \layout Standard
367
368 b
369 \end_inset 
370 </cell>
371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
372 \begin_inset Text
373
374 \layout Standard
375
376 c
377 \end_inset 
378 </cell>
379 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
380 \begin_inset Text
381
382 \layout Standard
383
384 d
385 \end_inset 
386 </cell>
387 </row>
388 <row topline="true">
389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
390 \begin_inset Text
391
392 \layout Standard
393
394 3
395 \end_inset 
396 </cell>
397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
398 \begin_inset Text
399
400 \layout Standard
401
402 e
403 \end_inset 
404 </cell>
405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
406 \begin_inset Text
407
408 \layout Standard
409
410 f
411 \end_inset 
412 </cell>
413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
414 \begin_inset Text
415
416 \layout Standard
417
418 g
419 \end_inset 
420 </cell>
421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
422 \begin_inset Text
423
424 \layout Standard
425
426 h
427 \end_inset 
428 </cell>
429 </row>
430 <row topline="true">
431 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
432 \begin_inset Text
433
434 \layout Standard
435
436 4
437 \end_inset 
438 </cell>
439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
440 \begin_inset Text
441
442 \layout Standard
443
444 i
445 \end_inset 
446 </cell>
447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
448 \begin_inset Text
449
450 \layout Standard
451
452 j
453 \end_inset 
454 </cell>
455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
456 \begin_inset Text
457
458 \layout Standard
459
460 k
461 \end_inset 
462 </cell>
463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
464 \begin_inset Text
465
466 \layout Standard
467
468 l
469 \end_inset 
470 </cell>
471 </row>
472 <row topline="true" bottomline="true">
473 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
474 \begin_inset Text
475
476 \layout Standard
477
478 5
479 \end_inset 
480 </cell>
481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
482 \begin_inset Text
483
484 \layout Standard
485
486 m
487 \end_inset 
488 </cell>
489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
490 \begin_inset Text
491
492 \layout Standard
493
494 n
495 \end_inset 
496 </cell>
497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
498 \begin_inset Text
499
500 \layout Standard
501
502 o
503 \end_inset 
504 </cell>
505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
506 \begin_inset Text
507
508 \layout Standard
509
510 p
511 \end_inset 
512 </cell>
513 </row>
514 </lyxtabular>
515
516 \end_inset 
517
518
519 \end_inset 
520
521
522 \layout Standard
523
524
525 \begin_inset Minipage
526 position 0
527 inner_position 0
528 height "0pt"
529 width "45p%"
530 collapsed false
531
532 \layout Standard
533 \align center 
534 This is Table 1
535 \end_inset 
536
537
538 \hfill 
539
540 \begin_inset Minipage
541 position 0
542 inner_position 0
543 height "0pt"
544 width "45p%"
545 collapsed false
546
547 \layout Standard
548 \align center 
549 This is Table 2
550 \end_inset 
551
552
553 \layout Subsection*
554
555 I use the following when I have to write bilingual text (I live in a region
556  in Italy where about 60% of the people speak german and so you have to
557  write letters in german and italian in two columns as the following text
558  shows):
559 \layout Standard
560
561
562 \hfill 
563
564 \begin_inset Minipage
565 position 0
566 inner_position 0
567 height "0pt"
568 width "45p%"
569 collapsed false
570
571 \layout Standard
572
573
574 \lang german
575 Dies ist ein deutscher Text.
576  Dies ist ein deutscher Text.
577  Dies ist ein deutscher Text.
578  Dies ist ein deutscher Text.
579  Dies ist ein deutscher Text.
580  Dies ist ein deutscher Text.
581  Dies ist ein deutscher Text.
582  Dies ist ein deutscher Text.
583  Dies ist ein deutscher Text.
584  Dies ist ein deutscher Text.
585  Dies ist ein deutscher Text.
586  Dies ist ein deutscher Text.
587  Dies ist ein deutscher Text
588 \begin_inset Foot
589 collapsed true
590
591 \layout Standard
592
593
594 \lang german
595 Dies ist eine Fußnote
596 \end_inset 
597
598 .
599  Dies ist ein deutscher Text.
600  Dies ist ein deutscher Text.
601 \end_inset 
602
603
604 \hfill 
605
606 \begin_inset Minipage
607 position 0
608 inner_position 0
609 height "0pt"
610 width "45p%"
611 collapsed false
612
613 \layout Standard
614
615 This is an english Text.
616  This is an english Text.
617  This is an english Text.
618  This is an english Text.
619  This is an english Text.
620  This is an english Text.
621  This is an english Text.
622  This is an english Text.
623  This is an english Text.
624  This is an english Text.
625  This is an english Text.
626  This is an english Text.
627  This is an english Text.
628  This is an english Text.
629  This is an english Text.
630  This is an english Text.
631 \begin_inset Foot
632 collapsed true
633
634 \layout Standard
635
636 This is a footnote
637 \end_inset 
638
639  This is an english Text.
640  
641 \end_inset 
642
643
644 \layout Standard
645
646 I hope this helps understand for what f.ex.
647  you can use minipages!
648 \layout Subsection*
649
650 Greets Jürgen
651 \the_end