On Thu, 08 Apr 1999, Hezi Gildor wrote:
> thanks.
>
> the text i want to put in frame is few lines long. using \fbox
> make a one long line cover by frame, which extend beyond the page limit.
>
> any way so specify it ?
>
Have a look in the attached newfile.lyx
> > See "The Latex Companion" by Goossens, Mittelbach, and Samarin.
> > page 452 and following.
> >
> > If you are going to get at all serious with LyX and LaTeX then this book
> > is the minimum.
Do try to get hold of this book, I'm sure your Institute will have a copy
in the Library. If they don't they should!
--
Sincerely etc.,
Christopher Sawtell - Support Engineer - iOpen Technologies Ltd.
email - chris @ iopen . co . nz ( anti spam - join it up to use ).
The Notes for C Programmers
- The most widely distributed C tutorial in the world -
are available from:-
ftp://ftp.funet.fi/pub/languages/C/tutorials/sawtell_C.tar.gz
#This file was created by <chris> Fri Apr 9 14:13:57 1999
#LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass article
\begin_preamble
\usepackage{boxedminipage}
\end_preamble
\language default
\inputencoding default
\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 Title
Title of paper.
\layout Standard
\latex latex
\backslash
begin{center}
\layout Standard
\latex latex
\backslash
begin{boxedminipage}[t]{7cm}
\layout Standard
This is the text you are going to put in the box,
\latex latex
\backslash
footnote{
\latex default
btw, it's called a minipage
\latex latex
}
\latex default
which, in this case, is 7 centimetres wide.
The text can go on and on and you can alter the width of the box to whatever
you want by changing the number,
\latex latex
\backslash
footnote{
\latex default
currently set at 7cm
\latex latex
}
\latex default
in the second
\latex latex
\backslash
TeX
\latex default
( red ) line.
In order to center the
\latex latex
\backslash
begin{tt}
\latex default
boxedminipage
\latex latex
\backslash
end{tt}
\latex default
it seems that you have to set up a centered environment in raw
\latex latex
\backslash
LaTeX
\latex default
, using the `center' button in the Layout->Paragraph menu mouse click sequence
doesn't seem to work properly.
\layout Standard
\latex latex
\backslash
end{boxedminipage}
\layout Standard
\latex latex
\backslash
end{center}
\layout Standard
\latex latex
%
\the_end