| 1 |
% This file is embedded in flowfram-manual.pdf |
| 2 |
% Example 3 Contination Text in Static Frames |
| 3 |
% Label: "ex:staticcont" |
| 4 |
% arara: pdflatex |
| 5 |
% arara: pdfcrop |
| 6 |
\documentclass[12pt]{article} |
| 7 |
\pagestyle{empty} |
| 8 |
\usepackage[T1]{fontenc} |
| 9 |
\usepackage{flowfram} |
| 10 |
\usepackage{lipsum} |
| 11 |
|
| 12 |
\onecolumnStopinarea{1in}{0.5\typeblockwidth-10pt}{\typeblockheight}{0pt}{0pt} |
| 13 |
\setstaticframe{\value{maxstatic}}{label=upper,border=plain} |
| 14 |
|
| 15 |
\onecolumnSbottominarea{1in}{0.5\typeblockwidth-10pt}{\typeblockheight}{0.5\typeblockwidth+10pt}{0pt} |
| 16 |
\setstaticframe{\value{maxstatic}}{label=lower,border=plain,parindent=1em} |
| 17 |
|
| 18 |
|
| 19 |
\renewcommand{\ffdefaultstaticcontinuetext}[2]{% |
| 20 |
Continued \relativeframelocation{static}{#2}{static}{#1}% |
| 21 |
} |
| 22 |
\renewcommand{\ffstaticpostcontinued}[2]{% |
| 23 |
\ffcontinuedtextlayout{% |
| 24 |
Continued from \relativeframelocation{static}{#1}{static}{#2}% |
| 25 |
}% |
| 26 |
\ffdefaultpostcontinued |
| 27 |
} |
| 28 |
\begin{document} |
| 29 |
\begin{staticcontents*}{upper} |
| 30 |
Some text in a static frame for |
| 31 |
illustrative purposes that needs to |
| 32 |
break off and continue later on and |
| 33 |
\continueonframe{lower} |
| 34 |
resuming where we left off |
| 35 |
this is text in another static frame |
| 36 |
elsewhere on the page. |
| 37 |
|
| 38 |
Next paragraph. |
| 39 |
\end{staticcontents*} |
| 40 |
|
| 41 |
\lipsum[1-3] |
| 42 |
\end{document} |