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