%%
%% Copyright (c) 2022-2023 by Friedemann Bartels
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3c of this license or (at your option) any later
%% version.  The latest version of this license is in:
%%
%%    http://www.latex-project.org/lppl.txt
%%
%% and version 1.3c or later is part of all distributions of
%% LaTeX version 2008/05/04 or later.
%%

\documentclass{pagelayout}
\usepackage{lipsum}

\pagewidth=15cm
\pageheight=15cm
\gutter=10mm

\setgrid{
  {{1}{1}}
}

\begin{document}

  \page{
    \text[breakable, name=lorem]{
      \lipsum[2-3]
      \par
      \lipsum[4]
    }
    \usetext[lorem]
  }

  \page{
    \usetext[lorem]
    \tcbset{
      boxrule=1mm,
      boxsep=1mm,left=2mm,right=2mm,top=2mm,bottom=2mm,
      colback=yellow,
      colframe=red!75!black,
      opacityframe=1,
      opacityback=1,
      arc=1mm
    }
    \text{
      Text boxes use the package tcolorbox, so you can style these with the tcolorbox macro \texttt{tcbset}
    }
  }

\end{document}
