File: Minipage.lyx

package info (click to toggle)
lyx 0.12.0.final-0.1
  • links: PTS
  • area: contrib
  • in suites: hamm, slink
  • size: 9,136 kB
  • ctags: 7,588
  • sloc: cpp: 59,182; ansic: 3,977; perl: 2,994; makefile: 1,155; sh: 996; yacc: 755; tcl: 163; sed: 93
file content (298 lines) | stat: -rw-r--r-- 4,598 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
#This file was created by <jug> Mon Jan 12 12:28:05 1998
#LyX 0.12 (C) 1995-1997 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language danish
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard
\align center 

\series bold 
\size largest 
Some examples of how to use minipages
\layout Standard
\align center 

\series bold 
\size largest 
in LyX 
\layout Standard
\added_space_bottom bigskip \align center 

\series bold 
\size largest 
by Jrgen Vigna (jug@sad.it)
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center \pextra_type 2 \pextra_alignment 0 \pextra_widthp 45
\LyXTable
multicol4
5 5 0 0 -1 -1 -1 -1
1 1 0 0
1 0 0 0
1 0 0 0
1 0 0 0
1 1 0 0
8 1 1 
8 1 0 
8 1 0 
8 1 0 
8 1 1 
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0

1
\newline 
2
\newline 
3
\newline 
4
\newline 
5
\newline 
2
\newline 
a
\newline 
b
\newline 
c
\newline 
d
\newline 
3
\newline 
e
\newline 
f
\newline 
g
\newline 
h
\newline 
4
\newline 
i
\newline 
j
\newline 
k
\newline 
l
\newline 
5
\newline 
m
\newline 
n
\newline 
o
\newline 
p
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center \pextra_type 2 \pextra_alignment 0 \pextra_hfill 1 \pextra_start_minipage 1 \pextra_widthp 45
\LyXTable
multicol4
5 5 0 0 -1 -1 -1 -1
1 1 0 0
1 0 0 0
1 0 0 0
1 0 0 0
1 1 0 0
8 1 1 
8 1 0 
8 1 0 
8 1 0 
8 1 1 
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0
0 8 1 0 0 0 0

1
\newline 
2
\newline 
3
\newline 
4
\newline 
5
\newline 
2
\newline 
a
\newline 
b
\newline 
c
\newline 
d
\newline 
3
\newline 
e
\newline 
f
\newline 
g
\newline 
h
\newline 
4
\newline 
i
\newline 
j
\newline 
k
\newline 
l
\newline 
5
\newline 
m
\newline 
n
\newline 
o
\newline 
p
\layout Standard
\align center \pextra_type 2 \pextra_alignment 0 \pextra_start_minipage 1 \pextra_widthp 45

This is Table 1
\layout Standard
\align center \pextra_type 2 \pextra_alignment 0 \pextra_hfill 1 \pextra_start_minipage 1 \pextra_widthp 45

This is Table 2
\layout Subsection*

I use the following when I have to write bilingual text (I live in a region
 in Italy where about 60% of the people speak german and so you have to
 write letters in german and italian in two columns as the following text
 shows):
\layout Standard
\pextra_type 2 \pextra_alignment 0 \pextra_hfill 1 \pextra_start_minipage 1 \pextra_widthp 45

Dies ist ein deutscher Text.
 Dies ist ein deutscher Text.
 Dies ist ein deutscher Text.
 Dies ist ein deutscher Text.
 Dies ist ein deutscher Text.
 Dies ist ein deut\SpecialChar \-
scher Text.
 Dies ist ein deut\SpecialChar \-
scher Text.
 Dies ist ein deutscher Text.
 Dies ist ein deutscher Text.
 Dies ist ein deutscher Text.
 Dies ist ein deutscher Text.
 Dies ist ein deutscher Text.
 Dies ist ein deut\SpecialChar \-
scher Text
\begin_float footnote 
\layout Standard

Dies ist eine Funote
\end_float 
.
 Dies ist ein deutscher Text.
 Dies ist ein deutscher Text.
\layout Standard
\pextra_type 2 \pextra_alignment 0 \pextra_hfill 1 \pextra_start_minipage 1 \pextra_widthp 45

This is an english Text.
 This is an english Text.
 This is an english Text.
 This is an english Text.
 This is an english Text.
 This is an english Text.
 This is an english Text.
 This is an english Text.
 This is an english Text.
 This is an english Text.
 This is an english Text.
 This is an english Text.
 This is an english Text.
 This is an english Text.
 This is an english Text.
 This is an english Text.
\begin_float footnote 
\layout Standard

This is a footnote
\end_float 
 This is an english Text.
 
\layout Standard

I hope this helps understand for what f.ex.
 you can use minipages!
\layout Subsection*

Greets Jrgen
\the_end