On Fri, 18 Jan 2002, Herbert Voss wrote:

> here comes a demo file for 1.1.6

Thanks Herbert for taking over.  I got started on a demo file
(included full instructions on how to do everything but got
distracted).  So even though it doesn't answer the final question for
Vince I've attached it as other users might want a bit more of a guide
on creating and using minipages in 1.1.6 and earlier.

Hopefully the rewrite of minipage support in 1.2.0cvs will make
minipages as easy as falling off a log :-)

Allan. (ARRae)


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language english
\inputencoding auto
\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 indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard
\pextra_type 2 \pextra_alignment 0 \pextra_widthp 45

The first minipage.
 For 1.1.6 and earlier you have adjacent minipages begin in separate paragraphs.
 Just type in what you want to see in each minipage and then select 
\family sans 
Layout\SpecialChar \menuseparator
Paragraph\SpecialChar \menuseparator
Extra
\family default 
 and set the checkbox for 
\family sans 
Minipage
\family default 
.
 You also need to set the 
\family sans 
width
\family default 
 -- say something like 
\family typewriter 
45%
\family default 
.
\layout Standard
\pextra_type 2 \pextra_alignment 0 \pextra_widthp 45

To extend an existing minipage just start typing after the last paragraph
 of the existing minipage.
 Once you've added what you want then select the new paragraphs you want
 to appear in the minipage and set the 
\family sans 
Minipage
\family default 
 checkbox in the 
\family sans 
Layout\SpecialChar \menuseparator
Paragraph\SpecialChar \menuseparator
Extra
\family default 
 settings.
 The interface is a little awkward at this point because you must also set
 a width even though these new paragraphs will become a part of an existing
 minipage.
\layout Standard
\pextra_type 2 \pextra_alignment 0 \pextra_widthp 45

In 1.2.0 this is all very different as the minipages are insets (like footnotes
 and floats are in earlier versions of LyX) and as a result the interface
 is considerably easier to work with.
 
\layout Standard
\pextra_type 2 \pextra_alignment 0 \pextra_hfill 1 \pextra_start_minipage 1 
\pextra_widthp 45


\begin_inset Info
Just marking where I started the second minipage
\end_inset 

The second minipage.
 In 1.1.6 you have to start a new minipage by entering a new paragraph and
 filling in whatever else you want there.
 A small user interface problem with 1.1.6 and earlier versions of LyX is
 that you can't see where one minipage ends and another starts if you have
 consecutive minipages.
\layout Standard
\pextra_type 2 \pextra_alignment 0 \pextra_hfill 1 \pextra_widthp 45

What I recommend is that you 
\family sans 
Insert\SpecialChar \menuseparator
Note
\family default 
 at the start of your second minipage so you can see within LyX where you
 set, or at least want, one minipage to end and another begin.
 To create the second minipage follow the same procedure as was used to
 create the first.
 You may also wish to select the 
\family sans 
HFill between Minipage paragraphs
\family default 
 option which will fill the horizontal space between the two minipages on
 the printed output pushing the outer edges of the minipages to the margins.
 For the first paragraph of the second minipage you must also select the
 
\family sans 
Start new minipage
\family default 
 checkbox.
\the_end

Reply via email to