X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexamples%2FMinipage.lyx;h=a5db1cb19ee64519c413ecd9aaa048d193e6c8f0;hb=fc7171926a961e7461d40168cc96ef73f1978905;hp=b32e94d62ae44e187cb35c3a1638bafcdbaf26da;hpb=8ce47d882cb53b6adc8177e34f622330df73b3b1;p=lyx.git
diff --git a/lib/examples/Minipage.lyx b/lib/examples/Minipage.lyx
index b32e94d62a..a5db1cb19e 100644
--- a/lib/examples/Minipage.lyx
+++ b/lib/examples/Minipage.lyx
@@ -1,5 +1,7 @@
-#LyX 1.3 created this file. For more info see http://www.lyx.org/
-\lyxformat 221
+#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
+\lyxformat 245
+\begin_document
+\begin_header
\textclass article
\language english
\inputencoding latin1
@@ -7,53 +9,87 @@
\graphics default
\paperfontsize default
\spacing single
-\papersize Default
-\paperpackage a4
-\use_geometry 0
+\papersize default
+\use_geometry false
\use_amsmath 0
-\use_natbib 0
-\use_numerical_citations 0
+\cite_engine basic
+\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language danish
-\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
+\tracking_changes false
+\output_changes true
+\end_header
-\layout Standard
-\align center
+\begin_body
-\series bold
-\size largest
+\begin_layout Standard
+\align center
+
+\series bold
+\size largest
Some examples of how to use minipages
-\layout Standard
-\align center
+\end_layout
+
+\begin_layout Standard
+\align center
-\series bold
-\size largest
+\series bold
+\size largest
in LyX
-\layout Standard
-\added_space_bottom bigskip \align center
+\end_layout
-\series bold
-\size largest
+\begin_layout Standard
+\align center
+
+\series bold
+\size largest
by Jürgen Vigna (jug@sad.it)
-\layout Standard
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset VSpace bigskip
+\end_inset
+
+\end_layout
-\begin_inset Minipage
-position 0
-inner_position 0
-height "0pt"
+
+\begin_layout Standard
+
+
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
width "45text%"
-collapsed false
+special "none"
+height "1pt"
+height_special "totalheight"
+status open
+
+
+\begin_layout Standard
+
-\layout Standard
-\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
+\begin_inset VSpace 0.3cm
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\align center
\begin_inset Tabular
@@ -67,231 +103,308 @@ collapsed false
\begin_inset Text
-\layout Standard
+\begin_layout Standard
1
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
2
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
3
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
4
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
5
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
2
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
a
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
b
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
c
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
d
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
3
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
e
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
f
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
g
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
h
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
4
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
i
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
j
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
k
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
l
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
5
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
m
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
n
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
o
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
p
-\end_inset
+\end_layout
+
+\end_inset
|
-\end_inset
+\end_inset
+
+
+\end_layout
+\begin_layout Standard
-\end_inset
+\begin_inset VSpace 0.3cm
+\end_inset
-\hfill
-\begin_inset Minipage
-position 0
-inner_position 0
-height "0pt"
+\end_layout
+
+
+\end_inset
+
+
+\hfill
+
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
width "45text%"
-collapsed false
+special "none"
+height "1pt"
+height_special "totalheight"
+status open
+
-\layout Standard
-\added_space_top 0.3cm \added_space_bottom 0.3cm \align center
+\begin_layout Standard
+
+
+\begin_inset VSpace 0.3cm
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\align center
\begin_inset Tabular
@@ -305,270 +418,357 @@ collapsed false
\begin_inset Text
-\layout Standard
+\begin_layout Standard
1
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
2
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
3
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
4
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
5
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
2
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
a
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
b
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
c
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
d
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
3
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
e
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
f
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
g
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
h
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
4
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
i
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
j
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
k
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
l
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
5
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
m
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
n
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
o
-\end_inset
+\end_layout
+
+\end_inset
|
\begin_inset Text
-\layout Standard
+\begin_layout Standard
p
-\end_inset
+\end_layout
+
+\end_inset
|
-\end_inset
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+
+\begin_inset VSpace 0.3cm
+\end_inset
+
+
+\end_layout
-\end_inset
+\end_inset
-\layout Standard
+\end_layout
+\begin_layout Standard
-\begin_inset Minipage
-position 0
-inner_position 0
-height "0pt"
+
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
width "45text%"
-collapsed false
+special "none"
+height "1pt"
+height_special "totalheight"
+status open
-\layout Standard
-\align center
+\begin_layout Standard
+\align center
This is Table 1
-\end_inset
+\end_layout
+
+\end_inset
-\hfill
+\hfill
-\begin_inset Minipage
-position 0
-inner_position 0
-height "0pt"
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
width "45text%"
-collapsed false
+special "none"
+height "1pt"
+height_special "totalheight"
+status open
-\layout Standard
-\align center
+\begin_layout Standard
+\align center
This is Table 2
-\end_inset
+\end_layout
+
+\end_inset
-\layout Subsection*
+\end_layout
+
+\begin_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
+\end_layout
+
+\begin_layout Standard
-\hfill
+\hfill
-\begin_inset Minipage
-position 0
-inner_position 0
-height "0pt"
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
width "45text%"
-collapsed false
+special "none"
+height "1pt"
+height_special "totalheight"
+status open
-\layout Standard
+\begin_layout Standard
\lang german
@@ -586,31 +786,40 @@ Dies ist ein deutscher Text.
Dies ist ein deutscher Text.
Dies ist ein deutscher Text
\begin_inset Foot
-collapsed true
+status collapsed
-\layout Standard
+\begin_layout Standard
\lang german
Dies ist eine Fußnote
-\end_inset
+\end_layout
+
+\end_inset
.
Dies ist ein deutscher Text.
Dies ist ein deutscher Text.
-\end_inset
+\end_layout
+\end_inset
-\hfill
-\begin_inset Minipage
-position 0
-inner_position 0
-height "0pt"
+\hfill
+
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
width "45text%"
-collapsed false
+special "none"
+height "1pt"
+height_special "totalheight"
+status open
-\layout Standard
+\begin_layout Standard
This is an english Text.
This is an english Text.
@@ -629,23 +838,34 @@ This is an english Text.
This is an english Text.
This is an english Text.
\begin_inset Foot
-collapsed true
+status collapsed
-\layout Standard
+\begin_layout Standard
This is a footnote
-\end_inset
+\end_layout
+
+\end_inset
This is an english Text.
-\end_inset
+\end_layout
+
+\end_inset
-\layout Standard
+\end_layout
+
+\begin_layout Standard
I hope this helps understand for what f.ex.
you can use minipages!
-\layout Subsection*
+\end_layout
+
+\begin_layout Subsection*
Greets Jürgen
-\the_end
+\end_layout
+
+\end_body
+\end_document