% use [nosolutions] flag to hide solutions.
% use [solutions] flag to show solutions.
\documentclass[
	solutions,
	shortwarning
]{../../resources/ormc_handout}
\usepackage{../../resources/macros}


\usepackage{chessfss}
\usepackage{chessboard}
\usepackage{anyfontsize} % Silences some chess warnings
\usepackage{afterpage}
\usepackage[hang]{footmisc}


% Modify default tab positions for better stars in score decomposition
\TabPositions{1.2cm, 2cm, 3cm, 4cm, 5cm, 6cm, 7cm, 8cm}

\input{chess-setup}
\input{stars}


\makeatletter

\@makeORMCbox{@hintlist}
	{Score Decomposition:}
	{black!12!white}
	{black!80!white}

\newenvironment{hintlist}{
	\begin{@hintlist}
}{
	% Remove vspace from the last \hintcontent
	\if@solutions\vspace{-2mm}\fi
	\end{@hintlist}
}

\long\def\hintcontent#1{
	\if@solutions
		#1 \par
		\vspace{2mm}
	\fi
}

\makeatother






\uptitlel{Advanced 2}
\uptitler{Fall 2023}
\title{Retrograde Analysis}
\subtitle{
	Prepared by \githref{Mark} on \today{} \\
	Based on books\footnotemark{} by Raymond Smullyan
}

\begin{document}

	\maketitle

	\footnotetext[1]{
		Most of the easy problems in this handout are from \textit{The Chess Mysteries of Sherlock Holmes}.\\
		The rest are from \textit{The Chess Mysteries of the Arabian Knights}.
	}


	\input{parts/00 rules}
	\input{parts/01 intro}
	\input{parts/02 easy}
	\input{parts/03 medium}
	%\input{parts/04 hard}

	\chessboard \hfill \chessboard \par
	\chessboard \hfill \chessboard \par
	\chessboard \hfill \chessboard \par
\end{document}