答案1
感谢@muzimuzhiZ,我帮助我tcolorbox
完成了排版。
\newcommand\boxmargin{5pt}
\newcommand\boxrule{1pt}
\newtcolorbox{mybox}{
standard jigsaw,
sharp corners=all,
colframe=red,
breakable,
height fixed for=all,
height fill=maximum,
opacityback=0,
boxsep=0pt,
boxrule=\boxrule,
top=\boxmargin,
bottom=\boxmargin,
left=\boxmargin,
right=\boxmargin,
space to upper,
lower separated=false,
halign lower=flush right,
before upper={\parindent 2em \linespread{1}\fontsize{12}{20}\selectfont},
}
以上就是我的盒子的配置,希望能够帮助有类似需求的人。