my code save groups inside environment topr and topl to two sbox , the command \border draw a frame devided into two parts and put in them the two sbox , here is my MWE
\documentclass{article}
\usepackage{lipsum}
\usepackage{tikz}
\usetikzlibrary{calc}
\pagestyle{empty}
\newsavebox{\textone}
\newsavebox{\texttwo}
\newenvironment{topr}{%
\begin{lrbox}{\textone}%
\begin{minipage}{11cm}%
\raggedleft
}{%
\end{minipage}%
\end{lrbox}%
% export box register setting outside the scope of the environment
\global\setbox\textone=\copy\textone
}
\newenvironment{topl}{%
\begin{lrbox}{\texttwo}%
\begin{minipage}{5cm}%
\raggedleft
}{%
\end{minipage}%
\end{lrbox}%
% export box register setting outside the scope of the environment
\global\setbox\texttwo=\copy\texttwo
}
\newcommand{\border}{%
\begin{tikzpicture}[remember picture, overlay]
% Coordinates of the external frame
\coordinate (top) at ($(current page.north)+(0,-1.5)$);
\coordinate (bottom) at ($(current page.south)+(0,1.5)$);
\coordinate (left) at ($(current page.west)+(1.5,0)$);
\coordinate (right) at ($(current page.east)+(-1.5,0)$);
% Coordinates of the horizontal parts
\coordinate (left part) at ($(left)!.33!(right)$);
% Frame around
\draw[red] (bottom-|left) rectangle (top-|right);
% Vertical lines
\draw[red] (top-|left part) -- (bottom-|left part);
\node at ($(top-|right)+(-0.3,-0.3)$)[anchor=north east]{\usebox{\textone}};
\node at ($(top-|left part)+(-0.3,-0.3)$)[anchor=north east]{\usebox{\texttwo}};
\end{tikzpicture}}
\begin{document}
\begin{topr}
\lipsum[1]
\end{topr}
\begin{topl}
\lipsum[2]
\end{topl}
\border
\newpage
\border
\end{document}
We get

I would like to ameliorate this macro So that can be implemented to every page of my document , and without saying \border for every page , Wipe text in the sbox At each transition from one page to another .

atbegshipackage. – Jul 19 '14 at 08:27scrlayerwhich lets you have multiple columns of text. And alsoscrlayer-notecolumnmight be what you want. – Manuel Jul 19 '14 at 11:57