blob: 82376d1abc6c4e678dfba1e46cdd3f4e85d2ad41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
%%
%% 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}
|