Made solutions breakable
This commit is contained in:
parent
b0c9969072
commit
dd84baee0a
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
\ProvidesClass{ormc_handout}[2022/05/07 1.1.0 ORMC Handout]
|
\ProvidesClass{ormc_handout}[2023/05/13 1.2.0 ORMC Handout]
|
||||||
|
|
||||||
|
|
||||||
% Boolean that determines solution behavior.
|
% Boolean that determines solution behavior.
|
||||||
@ -101,6 +101,8 @@
|
|||||||
\RequirePackage{fancyhdr} % Header/Footer customization
|
\RequirePackage{fancyhdr} % Header/Footer customization
|
||||||
\RequirePackage{adjustbox} % Used for title
|
\RequirePackage{adjustbox} % Used for title
|
||||||
|
|
||||||
|
\tcbuselibrary{breakable}
|
||||||
|
|
||||||
\RequirePackage[
|
\RequirePackage[
|
||||||
left = ``,
|
left = ``,
|
||||||
right = '',
|
right = '',
|
||||||
@ -386,6 +388,7 @@
|
|||||||
\newenvironment{@shown_solution} {
|
\newenvironment{@shown_solution} {
|
||||||
\def\ORMCbgcolor{red!5!white}
|
\def\ORMCbgcolor{red!5!white}
|
||||||
\begin{tcolorbox}[
|
\begin{tcolorbox}[
|
||||||
|
breakable,
|
||||||
colback=red!5!white,
|
colback=red!5!white,
|
||||||
colframe=red!75!black,
|
colframe=red!75!black,
|
||||||
title={\textbf{Solution}}
|
title={\textbf{Solution}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user