This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
\usepackage{parskip}
|
||||
\usepackage{titlesec}
|
||||
\usepackage{centernot}
|
||||
\usepackage{todonotes}
|
||||
|
||||
\newcounter{descriptorShadeStrength}
|
||||
\newcounter{shadeStrength}
|
||||
@@ -690,6 +691,17 @@
|
||||
{\normalfont\small\bfseries}}
|
||||
\makeatother
|
||||
|
||||
% Small color boxes
|
||||
\newcommand\coloredbox[3]{%
|
||||
\par\smallskip\noindent
|
||||
\colorbox{#1!20}{%
|
||||
\begin{minipage}{\dimexpr\linewidth-3\fboxsep-1pt\relax}%
|
||||
\textbf{#2}\par\smallskip #3%
|
||||
\end{minipage}
|
||||
}%
|
||||
\par\smallskip
|
||||
}
|
||||
|
||||
|
||||
% ┌ ┐
|
||||
% │ Setup │
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
\RequirePackage{parskip}
|
||||
\RequirePackage{titlesec}
|
||||
\RequirePackage{centernot}
|
||||
\RequirePackage{todonotes}
|
||||
|
||||
\newcounter{descriptorShadeStrength}
|
||||
\newcounter{shadeStrength}
|
||||
|
||||
@@ -96,3 +96,14 @@
|
||||
{.5\baselineskip}%
|
||||
{\normalfont\small\bfseries}}
|
||||
\makeatother
|
||||
|
||||
% Small color boxes
|
||||
\newcommand\coloredbox[3]{%
|
||||
\par\smallskip\noindent
|
||||
\colorbox{#1!20}{%
|
||||
\begin{minipage}{\dimexpr\linewidth-3\fboxsep-1pt\relax}%
|
||||
\textbf{#2}\par\smallskip #3%
|
||||
\end{minipage}
|
||||
}%
|
||||
\par\smallskip
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user