\newcommand{\Out}[1]
{\vspace{0.2cm}\noindent\tt\footnotesize\fbox{\begin{minipage}{1.0\columnwidth}
#1%
\end{minipage}\normalsize\rm\vspace{0.2cm}}}
for a framed text. this works fine, but when this minipage
is longer than the rest of the page, latex inserts a newpage.
is it possible that latex puts the text as much as possible
on the first page with a frame and the rest on the next page?
+----------+
| text |
| |
pagebreak here
| |
| the rest|
+----------+
thanks
Herbert
Hi,
this is discussed in the actual thread "breaking minipages across pages" in
this group.
Peter writes:
> LaTeX does not break boxes (e.g., parbox, minipage) across pages.
>peter.r...@boeing.com
--
Have a nice doc
Andreas zum Winkel
I suspect that pstricks might help you; you might also try searching CTAN for
"frame".
I should be interested to hear of other solutions; mine are (of course!) in plain
TeX and involve home-grown PostScript \special's.
Fred
Herbert Voss wrote:
> i have
>
> \newcommand{\Out}[1]
> {\vspace{0.2cm}\noindent\tt\footnotesize\fbox{\begin{minipage}{1.0\columnwidth}
> #1%
> \end{minipage}\normalsize\rm\vspace{0.2cm}}}
>
> for a framed text. this works fine, but when this minipage
> is longer than the rest of the page, latex inserts a newpage.
> is it possible that latex puts the text as much as possible
> on the first page with a frame and the rest on the next page?
>
<SNIP>
>I should be interested to hear of other solutions; mine are (of course!) in plain
>TeX and involve home-grown PostScript \special's.
>
>Fred
>
>
>Herbert Voss wrote:
<SNIP>
>> +----------+
>> | text |
>> | |
>> pagebreak here
>> | |
>> | the rest|
>> +----------+
>>
>> thanks
>> Herbert
Could:
\begin{longtable}{ | p{ --somewidth--} | }
be used as a bit of a cheat?
Mike
Two posibilities:
Hacking changebar. This probably ought to be done
anyway, the changebar internals could be used for all sorts of `break
the rule over a page' problems.
Omega has a device to put a character at the start of each line (to
allow a style of quoting with guillmets at the start of each line of the
quote) This could be hijacked for making vertical rules that break over
pages.
James
i tried listings-package with extendedchars=true and language={}
and it works