mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-03-12 02:06:14 -05:00
Fixed broken PDF build issue
This commit is contained in:
@@ -21,24 +21,12 @@
|
||||
\usepackage{tocloft}
|
||||
\usepackage{xcolor}
|
||||
\usepackage[outercaption, ragged]{sidecap}
|
||||
\usepackage{tcolorbox} % For creating colored boxes
|
||||
\usepackage{etoolbox} % For redefining footnotes
|
||||
\usepackage{footmisc} % Optional: For extra footnote formatting control
|
||||
\usepackage{sidenotes}
|
||||
|
||||
% Define the Crimson color
|
||||
\definecolor{crimson}{HTML}{A51C30}
|
||||
|
||||
% Define a minimalist sidenote style with shading and no box
|
||||
% \let\oldsidenote\marginnote
|
||||
% \renewcommand{\marginnote}[1]{%
|
||||
% \oldsidenote{%
|
||||
% \vspace{-1em} % Adjust vertical position slightly to align better
|
||||
% \noindent
|
||||
% \colorbox{blue!5}{\parbox{0.9\marginparwidth}{\raggedright\footnotesize #1}}%
|
||||
% }
|
||||
% }
|
||||
|
||||
% Redefine \sidenote to include a custom minimalist styled box with a vertical bar
|
||||
\renewcommand{\thefootnote}{\textcolor{crimson}{\arabic{footnote}}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user