在这里我面临的挑战是修复阴影大小。默认情况下,阴影较小。但我想要更大的阴影厚度。请提供更好的解决方案来解决这个问题。
梅威瑟:
\documentclass{book}
\usepackage{lipsum}
\usepackage[skins]{tcolorbox}
\tcbuselibrary{breakable}
\tcbuselibrary{hooks}%YOU MUST USE THIS FOR <extras last pre> KEY
\begin{document}
\newenvironment{shadowbox}{\par
\begin{tcolorbox}[drop shadow southeast,
enhanced,colback=red!5!white,colframe=red!75!black]
}{\end{tcolorbox}}
\begin{shadowbox}
Economic feasibility cost is oftentimes the determining factor if the organization will move forward with the proposed solution. Differentiating the cost-effectiveness of the proposed solution as it relates with short- and long-term business goals can best facilitate the negotiation. Can the solution be implemented in phases allowing the organization to allocate funding incrementally?
\end{shadowbox}
\end{document}
答案1
阴影可通过阴影选项配置(参见 4.15 版手册第 188 页).举例来说:
shadow={4mm}{-3mm}{0mm}{black!50!white}
代码:
\documentclass{book}
\usepackage{lipsum}
\usepackage[skins]{tcolorbox}
\tcbuselibrary{breakable}
\tcbuselibrary{hooks}%YOU MUST USE THIS FOR <extras last pre> KEY
\begin{document}
\newenvironment{shadowbox}{\par
\begin{tcolorbox}[shadow={4mm}{-3mm}{0mm}{black!50!white},
enhanced,colback=red!5!white,colframe=red!75!black]
}{\end{tcolorbox}}
\begin{shadowbox}
Economic feasibility cost is oftentimes the determining factor if the organization will move forward with the proposed solution. Differentiating the cost-effectiveness of the proposed solution as it relates with short- and long-term business goals can best facilitate the negotiation. Can the solution be implemented in phases allowing the organization to allocate funding incrementally?
\end{shadowbox}
\end{document}