Upgraded colors and boxes
This commit is contained in:
		@@ -326,6 +326,7 @@
 | 
				
			|||||||
\RequirePackage{tcolorbox} % For solution boxes
 | 
					\RequirePackage{tcolorbox} % For solution boxes
 | 
				
			||||||
\RequirePackage{hyperref}  % For custom references & clickable links
 | 
					\RequirePackage{hyperref}  % For custom references & clickable links
 | 
				
			||||||
\tcbuselibrary{breakable}  % Allows tcolorboxes to break across pages
 | 
					\tcbuselibrary{breakable}  % Allows tcolorboxes to break across pages
 | 
				
			||||||
 | 
					\tcbuselibrary{skins}      % Allows additional tcolorbox customization
 | 
				
			||||||
\usetikzlibrary{calc}
 | 
					\usetikzlibrary{calc}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\RequirePackage[ % Provides \say{} for quoted text.
 | 
					\RequirePackage[ % Provides \say{} for quoted text.
 | 
				
			||||||
@@ -353,6 +354,18 @@
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					\definecolor{ored}{HTML}{D62121}
 | 
				
			||||||
 | 
					\definecolor{ogrape}{HTML}{9C36B5}
 | 
				
			||||||
 | 
					\definecolor{ocyan}{HTML}{2288BF}
 | 
				
			||||||
 | 
					\definecolor{oteal}{HTML}{12B886}
 | 
				
			||||||
 | 
					\definecolor{ogreen}{HTML}{37B26D}
 | 
				
			||||||
 | 
					\definecolor{oblue}{HTML}{1C7ED6}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					\colorlet{red}{ored}
 | 
				
			||||||
 | 
					\colorlet{green}{ogreen}
 | 
				
			||||||
 | 
					\colorlet{blue}{oblue}
 | 
				
			||||||
 | 
					\colorlet{teal}{oteal}
 | 
				
			||||||
 | 
					\colorlet{cyan}{ocyan}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\if@unfinished
 | 
					\if@unfinished
 | 
				
			||||||
@@ -364,11 +377,11 @@
 | 
				
			|||||||
					anchor=center,
 | 
										anchor=center,
 | 
				
			||||||
					draw,
 | 
										draw,
 | 
				
			||||||
					below,
 | 
										below,
 | 
				
			||||||
					text=red,
 | 
										text=ored,
 | 
				
			||||||
					draw=red,
 | 
										draw=ored,
 | 
				
			||||||
					fill=white,
 | 
										fill=white,
 | 
				
			||||||
					inner sep = 2mm,
 | 
										inner sep = 2mm,
 | 
				
			||||||
					line width = 0.3mm,
 | 
										line width = 0.6mm,
 | 
				
			||||||
				] {
 | 
									] {
 | 
				
			||||||
					\textbf{Incomplete Handout:}
 | 
										\textbf{Incomplete Handout:}
 | 
				
			||||||
					this handout is not done, it may need edits!
 | 
										this handout is not done, it may need edits!
 | 
				
			||||||
@@ -431,15 +444,35 @@
 | 
				
			|||||||
\newcommand{\uptitler}[1]{\gdef\@uptitler{#1}}
 | 
					\newcommand{\uptitler}[1]{\gdef\@uptitler{#1}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\newcommand{\@shortwarning}{
 | 
					\newcommand{\@shortwarning}{
 | 
				
			||||||
	\begin{tcolorbox}[colback=white, colframe=red]
 | 
						\begin{tcolorbox}[
 | 
				
			||||||
		\large\centering\color{red}
 | 
							enhanced,
 | 
				
			||||||
 | 
							breakable,
 | 
				
			||||||
 | 
							colback=white,
 | 
				
			||||||
 | 
							colframe=ored,
 | 
				
			||||||
 | 
							boxrule=0.6mm,
 | 
				
			||||||
 | 
							arc=0mm,
 | 
				
			||||||
 | 
							outer arc=0mm,
 | 
				
			||||||
 | 
						]
 | 
				
			||||||
 | 
							\large\centering\color{ored}
 | 
				
			||||||
		\textbf{Instructor's Handout} \par
 | 
							\textbf{Instructor's Handout} \par
 | 
				
			||||||
	\end{tcolorbox}
 | 
						\end{tcolorbox}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					% digital boxes may look better with:
 | 
				
			||||||
 | 
					%	drop shadow=gray,
 | 
				
			||||||
 | 
					%	smart shadow arc=false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\newcommand{\@longwarning}{
 | 
					\newcommand{\@longwarning}{
 | 
				
			||||||
	\begin{tcolorbox}[colback=white, colframe=red]
 | 
						\begin{tcolorbox}[
 | 
				
			||||||
		\color{red}
 | 
							enhanced,
 | 
				
			||||||
 | 
							breakable,
 | 
				
			||||||
 | 
							colback=white,
 | 
				
			||||||
 | 
							colframe=ored,
 | 
				
			||||||
 | 
							boxrule=0.6mm,
 | 
				
			||||||
 | 
							arc=0mm,
 | 
				
			||||||
 | 
							outer arc=0mm,
 | 
				
			||||||
 | 
						]
 | 
				
			||||||
 | 
							\color{ored}
 | 
				
			||||||
		\begingroup
 | 
							\begingroup
 | 
				
			||||||
			\large\centering
 | 
								\large\centering
 | 
				
			||||||
			\textbf{Instructor's Handout} \par
 | 
								\textbf{Instructor's Handout} \par
 | 
				
			||||||
@@ -636,17 +669,17 @@
 | 
				
			|||||||
		\def\ORMCbgcolor{#3}
 | 
							\def\ORMCbgcolor{#3}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		\begin{tcolorbox}[
 | 
							\begin{tcolorbox}[
 | 
				
			||||||
 | 
								enhanced,
 | 
				
			||||||
			breakable,
 | 
								breakable,
 | 
				
			||||||
			colback=#3,
 | 
								colback=#3,
 | 
				
			||||||
			colframe=#4,
 | 
								colframe=#4,
 | 
				
			||||||
 | 
								colbacktitle=#4,
 | 
				
			||||||
 | 
								titlerule=0.6mm,
 | 
				
			||||||
			title={\textbf{#2}},
 | 
								title={\textbf{#2}},
 | 
				
			||||||
			%toprule = 0.6mm,
 | 
								frame style={draw=none,fill=none},
 | 
				
			||||||
			%bottomrule = 0.6mm,
 | 
								boxrule=0mm, % We need this even with hidden borders for correct spacing
 | 
				
			||||||
			%leftrule = 0.6mm,
 | 
								arc=0mm,
 | 
				
			||||||
			%rightrule = 0.6mm,
 | 
								outer arc=0mm
 | 
				
			||||||
			%titlerule = 0.6mm,
 | 
					 | 
				
			||||||
			arc=1mm,
 | 
					 | 
				
			||||||
			outer arc = 1mm
 | 
					 | 
				
			||||||
		]
 | 
							]
 | 
				
			||||||
		\raggedright
 | 
							\raggedright
 | 
				
			||||||
	} {
 | 
						} {
 | 
				
			||||||
@@ -654,11 +687,11 @@
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\@makeORMCbox{examplesolution}{Example Solution}{white}{gray!75!black}
 | 
					\@makeORMCbox{examplesolution}{Example Solution}{black!10!white}{black!65!white}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\if@solutions
 | 
					\if@solutions
 | 
				
			||||||
	\@makeORMCbox{solution}{Solution}{red!5!white}{red!75!black}
 | 
						\@makeORMCbox{solution}{Solution}{ored!10!white}{ored}
 | 
				
			||||||
	\@makeORMCbox{instructornote}{Note for Instructors}{cyan!5!white}{cyan!75!black}
 | 
						\@makeORMCbox{instructornote}{Note for Instructors}{ocyan!10!white}{ocyan}
 | 
				
			||||||
\else
 | 
					\else
 | 
				
			||||||
	\excludecomment{solution}
 | 
						\excludecomment{solution}
 | 
				
			||||||
	\excludecomment{instructornote}
 | 
						\excludecomment{instructornote}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user