113 lines
1.8 KiB
TeX
Executable File
113 lines
1.8 KiB
TeX
Executable File
% use [nosolutions] flag to hide solutions.
|
|
% use [solutions] flag to show solutions.
|
|
\documentclass[
|
|
solutions
|
|
]{../../resources/ormc_handout}
|
|
\usepackage{../../resources/macros}
|
|
|
|
|
|
% If true, this will be an "extras" handout
|
|
% (minimal, extra copies of chessboards.)
|
|
%
|
|
% This assumes nosolutions.
|
|
\newif\ifextras
|
|
\extrasfalse
|
|
|
|
|
|
|
|
\ifextras
|
|
% Force-disable page numbers
|
|
% and leave bit more room for the six chessboards.
|
|
|
|
\pagestyle{empty}
|
|
\geometry{
|
|
bottom = 20mm,
|
|
footskip = 5mm,
|
|
}
|
|
\fi
|
|
|
|
|
|
\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}
|
|
|
|
|
|
\ifextras
|
|
\excludecomment{hintlist}
|
|
\else
|
|
\newenvironment{hintlist}{
|
|
\begin{@hintlist}
|
|
}{
|
|
% Remove vspace from the last \hintcontent
|
|
\if@solutions\vspace{-2mm}\fi
|
|
\end{@hintlist}
|
|
}
|
|
\fi
|
|
|
|
|
|
\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}
|
|
|
|
\ifextras\else
|
|
\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}
|
|
\fi
|
|
|
|
\input{parts/02 easy}
|
|
\input{parts/03 medium}
|
|
%\input{parts/04 hard}
|
|
|
|
|
|
\ifextras
|
|
\sixboards{}
|
|
\vfill\pagebreak
|
|
\fi
|
|
\end{document} |