X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexamples%2FMinipage.lyx;h=a5db1cb19ee64519c413ecd9aaa048d193e6c8f0;hb=fc7171926a961e7461d40168cc96ef73f1978905;hp=7c87e6f282e3bc28391866054e3ad762f18662d9;hpb=a172822b28d588376d546fa701cb703e1ff948b3;p=lyx.git diff --git a/lib/examples/Minipage.lyx b/lib/examples/Minipage.lyx index 7c87e6f282..a5db1cb19e 100644 --- a/lib/examples/Minipage.lyx +++ b/lib/examples/Minipage.lyx @@ -1,241 +1,774 @@ -#LyX 1.1 created this file. For more info see http://www.lyx.org/ -\lyxformat 2.16 +#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/ +\lyxformat 245 +\begin_document +\begin_header \textclass article -\language default +\language english \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default -\spacing single -\papersize Default -\paperpackage a4 -\use_geometry 0 +\spacing single +\papersize default +\use_geometry false \use_amsmath 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 -\added_space_top 0.3cm \added_space_bottom 0.3cm \align center \pextra_type 2 \pextra_alignment 0 \pextra_widthp 45 -\LyXTable -multicol5 -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 "" "" +\end_layout + +\begin_layout Standard + + +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + + +\begin_layout Standard + + +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "45text%" +special "none" +height "1pt" +height_special "totalheight" +status open + + +\begin_layout Standard + + +\begin_inset VSpace 0.3cm +\end_inset + + +\end_layout + +\begin_layout Standard +\align center + +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard 1 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + 2 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + 3 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + 4 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + 5 -\newline +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + 2 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + a -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + b -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + c -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + d -\newline +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + 3 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + e -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + f -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + g -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + h -\newline +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + 4 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + i -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + j -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + k -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + l -\newline +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + 5 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + m -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + n -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + o -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + 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 -multicol5 -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 "" "" +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard + + +\begin_inset VSpace 0.3cm +\end_inset + + +\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%" +special "none" +height "1pt" +height_special "totalheight" +status open + + +\begin_layout Standard + + +\begin_inset VSpace 0.3cm +\end_inset + + +\end_layout + +\begin_layout Standard +\align center + +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard 1 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + 2 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + 3 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + 4 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + 5 -\newline +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + 2 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + a -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + b -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + c -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + d -\newline +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + 3 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + e -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + f -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + g -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + h -\newline +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + 4 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + i -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + j -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + k -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + l -\newline +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + 5 -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + m -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + n -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + o -\newline +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + p -\layout Standard -\align center \pextra_type 2 \pextra_alignment 0 \pextra_start_minipage 1 \pextra_widthp 45 +\end_layout + +\end_inset + + + + +\end_inset + +\end_layout + +\begin_layout Standard + + +\begin_inset VSpace 0.3cm +\end_inset + + +\end_layout + + +\end_inset + + +\end_layout + +\begin_layout Standard + + +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "45text%" +special "none" +height "1pt" +height_special "totalheight" +status open + +\begin_layout Standard +\align center This is Table 1 -\layout Standard -\align center \pextra_type 2 \pextra_alignment 0 \pextra_hfill 1 \pextra_start_minipage 1 \pextra_widthp 45 +\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%" +special "none" +height "1pt" +height_special "totalheight" +status open + +\begin_layout Standard +\align center This is Table 2 -\layout Subsection* +\end_layout + +\end_inset + + +\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 -\pextra_type 2 \pextra_alignment 0 \pextra_hfill 1 \pextra_start_minipage 1 \pextra_widthp 45 +\end_layout + +\begin_layout Standard + + +\hfill + +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "45text%" +special "none" +height "1pt" +height_special "totalheight" +status open + +\begin_layout Standard \lang german @@ -252,20 +785,41 @@ Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text -\begin_float footnote -\layout Standard +\begin_inset Foot +status collapsed + +\begin_layout Standard \lang german Dies ist eine Fußnote -\end_float +\end_layout + +\end_inset -\lang german . 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 +\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%" +special "none" +height "1pt" +height_special "totalheight" +status open + +\begin_layout Standard This is an english Text. This is an english Text. @@ -283,18 +837,35 @@ 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 +\begin_inset Foot +status collapsed + +\begin_layout Standard This is a footnote -\end_float +\end_layout + +\end_inset + This is an english Text. -\layout Standard +\end_layout + +\end_inset + + +\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