]> git.lyx.org Git - lyx.git/blob - lib/examples/Minipage.lyx
- Spanish documentation updates by Ignacio
[lyx.git] / lib / examples / Minipage.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 276
3 \begin_document
4 \begin_header
5 \textclass article
6 \language english
7 \inputencoding latin1
8 \font_roman default
9 \font_sans default
10 \font_typewriter default
11 \font_default_family default
12 \font_sc false
13 \font_osf false
14 \font_sf_scale 100
15 \font_tt_scale 100
16 \graphics default
17 \paperfontsize default
18 \spacing single
19 \papersize default
20 \use_geometry false
21 \use_amsmath 0
22 \use_esint 0
23 \cite_engine basic
24 \use_bibtopic false
25 \paperorientation portrait
26 \secnumdepth 3
27 \tocdepth 3
28 \paragraph_separation skip
29 \defskip medskip
30 \quotes_language danish
31 \papercolumns 1
32 \papersides 1
33 \paperpagestyle default
34 \tracking_changes false
35 \output_changes false
36 \end_header
37
38 \begin_body
39
40 \begin_layout Standard
41 \align center
42
43 \series bold
44 \size largest
45 Some examples of how to use minipages
46 \end_layout
47
48 \begin_layout Standard
49 \align center
50
51 \series bold
52 \size largest
53 in LyX 
54 \end_layout
55
56 \begin_layout Standard
57 \align center
58
59 \series bold
60 \size largest
61 by Jürgen Vigna (jug@sad.it)
62 \end_layout
63
64 \begin_layout Standard
65
66
67 \begin_inset VSpace bigskip
68 \end_inset
69
70
71 \end_layout
72
73
74 \begin_layout Standard
75
76
77 \begin_inset Box Frameless
78 position "t"
79 hor_pos "c"
80 has_inner_box 1
81 inner_pos "c"
82 use_parbox 0
83 width "45text%"
84 special "none"
85 height "1pt"
86 height_special "totalheight"
87 status open
88
89
90 \begin_layout Standard
91
92
93 \begin_inset VSpace 0.3cm
94 \end_inset
95
96
97 \end_layout
98
99 \begin_layout Standard
100 \align center
101
102 \begin_inset  Tabular
103 <lyxtabular version="3" rows="5" columns="5">
104 <features>
105 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
106 <column alignment="center" valignment="top" leftline="true" width="0pt">
107 <column alignment="center" valignment="top" leftline="true" width="0pt">
108 <column alignment="center" valignment="top" leftline="true" width="0pt">
109 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
110 <row topline="true" bottomline="true">
111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
112 \begin_inset Text
113
114 \begin_layout Standard
115
116 1
117 \end_layout
118
119 \end_inset
120 </cell>
121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
122 \begin_inset Text
123
124 \begin_layout Standard
125
126 2
127 \end_layout
128
129 \end_inset
130 </cell>
131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
132 \begin_inset Text
133
134 \begin_layout Standard
135
136 3
137 \end_layout
138
139 \end_inset
140 </cell>
141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
142 \begin_inset Text
143
144 \begin_layout Standard
145
146 4
147 \end_layout
148
149 \end_inset
150 </cell>
151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
152 \begin_inset Text
153
154 \begin_layout Standard
155
156 5
157 \end_layout
158
159 \end_inset
160 </cell>
161 </row>
162 <row topline="true">
163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
164 \begin_inset Text
165
166 \begin_layout Standard
167
168 2
169 \end_layout
170
171 \end_inset
172 </cell>
173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
174 \begin_inset Text
175
176 \begin_layout Standard
177
178 a
179 \end_layout
180
181 \end_inset
182 </cell>
183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
184 \begin_inset Text
185
186 \begin_layout Standard
187
188 b
189 \end_layout
190
191 \end_inset
192 </cell>
193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
194 \begin_inset Text
195
196 \begin_layout Standard
197
198 c
199 \end_layout
200
201 \end_inset
202 </cell>
203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
204 \begin_inset Text
205
206 \begin_layout Standard
207
208 d
209 \end_layout
210
211 \end_inset
212 </cell>
213 </row>
214 <row topline="true">
215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
216 \begin_inset Text
217
218 \begin_layout Standard
219
220 3
221 \end_layout
222
223 \end_inset
224 </cell>
225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
226 \begin_inset Text
227
228 \begin_layout Standard
229
230 e
231 \end_layout
232
233 \end_inset
234 </cell>
235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
236 \begin_inset Text
237
238 \begin_layout Standard
239
240 f
241 \end_layout
242
243 \end_inset
244 </cell>
245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
246 \begin_inset Text
247
248 \begin_layout Standard
249
250 g
251 \end_layout
252
253 \end_inset
254 </cell>
255 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
256 \begin_inset Text
257
258 \begin_layout Standard
259
260 h
261 \end_layout
262
263 \end_inset
264 </cell>
265 </row>
266 <row topline="true">
267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
268 \begin_inset Text
269
270 \begin_layout Standard
271
272 4
273 \end_layout
274
275 \end_inset
276 </cell>
277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
278 \begin_inset Text
279
280 \begin_layout Standard
281
282 i
283 \end_layout
284
285 \end_inset
286 </cell>
287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
288 \begin_inset Text
289
290 \begin_layout Standard
291
292 j
293 \end_layout
294
295 \end_inset
296 </cell>
297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
298 \begin_inset Text
299
300 \begin_layout Standard
301
302 k
303 \end_layout
304
305 \end_inset
306 </cell>
307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
308 \begin_inset Text
309
310 \begin_layout Standard
311
312 l
313 \end_layout
314
315 \end_inset
316 </cell>
317 </row>
318 <row topline="true" bottomline="true">
319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
320 \begin_inset Text
321
322 \begin_layout Standard
323
324 5
325 \end_layout
326
327 \end_inset
328 </cell>
329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
330 \begin_inset Text
331
332 \begin_layout Standard
333
334 m
335 \end_layout
336
337 \end_inset
338 </cell>
339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
340 \begin_inset Text
341
342 \begin_layout Standard
343
344 n
345 \end_layout
346
347 \end_inset
348 </cell>
349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
350 \begin_inset Text
351
352 \begin_layout Standard
353
354 o
355 \end_layout
356
357 \end_inset
358 </cell>
359 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
360 \begin_inset Text
361
362 \begin_layout Standard
363
364 p
365 \end_layout
366
367 \end_inset
368 </cell>
369 </row>
370 </lyxtabular>
371
372 \end_inset
373
374
375 \end_layout
376
377 \begin_layout Standard
378
379
380 \begin_inset VSpace 0.3cm
381 \end_inset
382
383
384 \end_layout
385
386
387 \end_inset
388
389
390 \hfill
391
392 \begin_inset Box Frameless
393 position "t"
394 hor_pos "c"
395 has_inner_box 1
396 inner_pos "c"
397 use_parbox 0
398 width "45text%"
399 special "none"
400 height "1pt"
401 height_special "totalheight"
402 status open
403
404
405 \begin_layout Standard
406
407
408 \begin_inset VSpace 0.3cm
409 \end_inset
410
411
412 \end_layout
413
414 \begin_layout Standard
415 \align center
416
417 \begin_inset  Tabular
418 <lyxtabular version="3" rows="5" columns="5">
419 <features>
420 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
421 <column alignment="center" valignment="top" leftline="true" width="0pt">
422 <column alignment="center" valignment="top" leftline="true" width="0pt">
423 <column alignment="center" valignment="top" leftline="true" width="0pt">
424 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
425 <row topline="true" bottomline="true">
426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
427 \begin_inset Text
428
429 \begin_layout Standard
430
431 1
432 \end_layout
433
434 \end_inset
435 </cell>
436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
437 \begin_inset Text
438
439 \begin_layout Standard
440
441 2
442 \end_layout
443
444 \end_inset
445 </cell>
446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
447 \begin_inset Text
448
449 \begin_layout Standard
450
451 3
452 \end_layout
453
454 \end_inset
455 </cell>
456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
457 \begin_inset Text
458
459 \begin_layout Standard
460
461 4
462 \end_layout
463
464 \end_inset
465 </cell>
466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
467 \begin_inset Text
468
469 \begin_layout Standard
470
471 5
472 \end_layout
473
474 \end_inset
475 </cell>
476 </row>
477 <row topline="true">
478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
479 \begin_inset Text
480
481 \begin_layout Standard
482
483 2
484 \end_layout
485
486 \end_inset
487 </cell>
488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
489 \begin_inset Text
490
491 \begin_layout Standard
492
493 a
494 \end_layout
495
496 \end_inset
497 </cell>
498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
499 \begin_inset Text
500
501 \begin_layout Standard
502
503 b
504 \end_layout
505
506 \end_inset
507 </cell>
508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
509 \begin_inset Text
510
511 \begin_layout Standard
512
513 c
514 \end_layout
515
516 \end_inset
517 </cell>
518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
519 \begin_inset Text
520
521 \begin_layout Standard
522
523 d
524 \end_layout
525
526 \end_inset
527 </cell>
528 </row>
529 <row topline="true">
530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
531 \begin_inset Text
532
533 \begin_layout Standard
534
535 3
536 \end_layout
537
538 \end_inset
539 </cell>
540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
541 \begin_inset Text
542
543 \begin_layout Standard
544
545 e
546 \end_layout
547
548 \end_inset
549 </cell>
550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
551 \begin_inset Text
552
553 \begin_layout Standard
554
555 f
556 \end_layout
557
558 \end_inset
559 </cell>
560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
561 \begin_inset Text
562
563 \begin_layout Standard
564
565 g
566 \end_layout
567
568 \end_inset
569 </cell>
570 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
571 \begin_inset Text
572
573 \begin_layout Standard
574
575 h
576 \end_layout
577
578 \end_inset
579 </cell>
580 </row>
581 <row topline="true">
582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
583 \begin_inset Text
584
585 \begin_layout Standard
586
587 4
588 \end_layout
589
590 \end_inset
591 </cell>
592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
593 \begin_inset Text
594
595 \begin_layout Standard
596
597 i
598 \end_layout
599
600 \end_inset
601 </cell>
602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
603 \begin_inset Text
604
605 \begin_layout Standard
606
607 j
608 \end_layout
609
610 \end_inset
611 </cell>
612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
613 \begin_inset Text
614
615 \begin_layout Standard
616
617 k
618 \end_layout
619
620 \end_inset
621 </cell>
622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
623 \begin_inset Text
624
625 \begin_layout Standard
626
627 l
628 \end_layout
629
630 \end_inset
631 </cell>
632 </row>
633 <row topline="true" bottomline="true">
634 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
635 \begin_inset Text
636
637 \begin_layout Standard
638
639 5
640 \end_layout
641
642 \end_inset
643 </cell>
644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
645 \begin_inset Text
646
647 \begin_layout Standard
648
649 m
650 \end_layout
651
652 \end_inset
653 </cell>
654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
655 \begin_inset Text
656
657 \begin_layout Standard
658
659 n
660 \end_layout
661
662 \end_inset
663 </cell>
664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
665 \begin_inset Text
666
667 \begin_layout Standard
668
669 o
670 \end_layout
671
672 \end_inset
673 </cell>
674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
675 \begin_inset Text
676
677 \begin_layout Standard
678
679 p
680 \end_layout
681
682 \end_inset
683 </cell>
684 </row>
685 </lyxtabular>
686
687 \end_inset
688
689
690 \end_layout
691
692 \begin_layout Standard
693
694
695 \begin_inset VSpace 0.3cm
696 \end_inset
697
698
699 \end_layout
700
701
702 \end_inset
703
704
705 \end_layout
706
707 \begin_layout Standard
708
709
710 \begin_inset Box Frameless
711 position "t"
712 hor_pos "c"
713 has_inner_box 1
714 inner_pos "c"
715 use_parbox 0
716 width "45text%"
717 special "none"
718 height "1pt"
719 height_special "totalheight"
720 status open
721
722 \begin_layout Standard
723 \align center
724 This is Table 1
725 \end_layout
726
727 \end_inset
728
729
730 \hfill
731
732 \begin_inset Box Frameless
733 position "t"
734 hor_pos "c"
735 has_inner_box 1
736 inner_pos "c"
737 use_parbox 0
738 width "45text%"
739 special "none"
740 height "1pt"
741 height_special "totalheight"
742 status open
743
744 \begin_layout Standard
745 \align center
746 This is Table 2
747 \end_layout
748
749 \end_inset
750
751
752 \end_layout
753
754 \begin_layout Subsection*
755
756 I use the following when I have to write bilingual text (I live in a region
757  in Italy where about 60% of the people speak german and so you have to
758  write letters in german and italian in two columns as the following text
759  shows):
760 \end_layout
761
762 \begin_layout Standard
763
764
765 \hfill
766
767 \begin_inset Box Frameless
768 position "t"
769 hor_pos "c"
770 has_inner_box 1
771 inner_pos "c"
772 use_parbox 0
773 width "45text%"
774 special "none"
775 height "1pt"
776 height_special "totalheight"
777 status open
778
779 \begin_layout Standard
780
781
782 \lang german
783 Dies ist ein deutscher Text.
784  Dies ist ein deutscher Text.
785  Dies ist ein deutscher Text.
786  Dies ist ein deutscher Text.
787  Dies ist ein deutscher Text.
788  Dies ist ein deutscher Text.
789  Dies ist ein deutscher Text.
790  Dies ist ein deutscher Text.
791  Dies ist ein deutscher Text.
792  Dies ist ein deutscher Text.
793  Dies ist ein deutscher Text.
794  Dies ist ein deutscher Text.
795  Dies ist ein deutscher Text
796 \begin_inset Foot
797 status collapsed
798
799 \begin_layout Standard
800
801
802 \lang german
803 Dies ist eine Fußnote
804 \end_layout
805
806 \end_inset
807
808 .
809  Dies ist ein deutscher Text.
810  Dies ist ein deutscher Text.
811 \end_layout
812
813 \end_inset
814
815
816 \hfill
817
818 \begin_inset Box Frameless
819 position "t"
820 hor_pos "c"
821 has_inner_box 1
822 inner_pos "c"
823 use_parbox 0
824 width "45text%"
825 special "none"
826 height "1pt"
827 height_special "totalheight"
828 status open
829
830 \begin_layout Standard
831
832 This is an english Text.
833  This is an english Text.
834  This is an english Text.
835  This is an english Text.
836  This is an english Text.
837  This is an english Text.
838  This is an english Text.
839  This is an english Text.
840  This is an english Text.
841  This is an english Text.
842  This is an english Text.
843  This is an english Text.
844  This is an english Text.
845  This is an english Text.
846  This is an english Text.
847  This is an english Text.
848 \begin_inset Foot
849 status collapsed
850
851 \begin_layout Standard
852
853 This is a footnote
854 \end_layout
855
856 \end_inset
857
858  This is an english Text.
859  
860 \end_layout
861
862 \end_inset
863
864
865 \end_layout
866
867 \begin_layout Standard
868
869 I hope this helps understand for what f.ex.
870  you can use minipages!
871 \end_layout
872
873 \begin_layout Subsection*
874
875 Greets Jürgen
876 \end_layout
877
878 \end_body
879 \end_document