我需要在以下模板中写入:
你能告诉我如何在乳胶中生成吗?
答案1
解决方案如下tcolorbox
:
\documentclass[a4paper]{article}
\usepackage[margin=2cm]{geometry}
\usepackage{lipsum}
\usepackage{ulem}
\usepackage[shortlabels]{enumitem}
\usepackage{tcolorbox}
\tcbuselibrary{breakable}
\tcbset{breakable}
\begin{document}
\sffamily
\begin{tcolorbox}[colback=gray!40!,boxsep=1mm,arc=0mm,boxrule=1pt]
\bfseries SECTION B: Written report\par\medskip
I hate \MakeUppercase{CAPITALIZE} or \uline{underline}, but the worse ishave \underline{\MakeUppercase{both}} together. But this is only for demostration purposes. Bla bla bla \ldots
\end{tcolorbox}
\vspace{-8pt}
\begin{tcolorbox}[,colback=gray!20!, boxsep=1mm,arc=0mm,boxrule=1pt]
\uline{\textbf{Guidelines for Report Writting}}\par
\begin{enumerate}[(a)]
\item \lipsum[2] % bla bla bla
\end{enumerate}
\end{tcolorbox}\vspace{-8pt}
\begin{tcolorbox}[colback=white,boxsep=1em,arc=0mm,boxrule=1pt]
\section{Introduction} \rmfamily
\lipsum[3-8] % long bla bla bla
\end{tcolorbox}
\end{document}