113 lines
1.8 KiB
TeX
Raw Normal View History

2023-09-28 12:12:05 -07:00
% use [nosolutions] flag to hide solutions.
% use [solutions] flag to show solutions.
\documentclass[
2023-12-06 21:52:05 -08:00
solutions
2023-09-28 12:12:05 -07:00
]{../../resources/ormc_handout}
2023-10-17 18:32:10 -07:00
\usepackage{../../resources/macros}
2023-09-28 12:12:05 -07:00
2023-12-06 21:52:05 -08:00
% 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
2023-09-28 12:12:05 -07:00
\usepackage{chessfss}
\usepackage{chessboard}
2023-10-26 08:14:55 -07:00
\usepackage{anyfontsize} % Silences some chess warnings
2023-09-28 12:12:05 -07:00
\usepackage{afterpage}
\usepackage[hang]{footmisc}
2023-12-05 17:31:19 -08:00
2023-12-06 21:52:05 -08:00
2023-12-06 14:03:22 -08:00
% Modify default tab positions for better stars in score decomposition
\TabPositions{1.2cm, 2cm, 3cm, 4cm, 5cm, 6cm, 7cm, 8cm}
2023-09-28 12:12:05 -07:00
2023-12-06 14:03:22 -08:00
\input{chess-setup}
\input{stars}
2023-09-28 12:12:05 -07:00
\makeatletter
2023-12-06 13:57:19 -08:00
\@makeORMCbox{@hintlist}
{Score Decomposition:}
2023-12-05 17:31:19 -08:00
{black!12!white}
{black!80!white}
2023-12-06 21:52:05 -08:00
\ifextras
\excludecomment{hintlist}
\else
2023-12-06 13:57:19 -08:00
\newenvironment{hintlist}{
\begin{@hintlist}
}{
% Remove vspace from the last \hintcontent
\if@solutions\vspace{-2mm}\fi
\end{@hintlist}
}
2023-12-06 21:52:05 -08:00
\fi
2023-12-06 13:57:19 -08:00
2023-12-06 14:03:22 -08:00
\long\def\hintcontent#1{
2023-12-06 13:57:19 -08:00
\if@solutions
#1 \par
\vspace{2mm}
\fi
}
2023-12-05 17:31:19 -08:00
\makeatother
2023-09-28 12:12:05 -07:00
2023-12-06 14:03:22 -08:00
2023-09-28 12:12:05 -07:00
\uptitlel{Advanced 2}
2023-10-03 11:28:38 -07:00
\uptitler{Fall 2023}
2023-09-28 12:12:05 -07:00
\title{Retrograde Analysis}
\subtitle{
2023-10-17 18:32:10 -07:00
Prepared by \githref{Mark} on \today{} \\
2023-09-28 12:12:05 -07:00
Based on books\footnotemark{} by Raymond Smullyan
}
\begin{document}
2023-12-06 21:52:05 -08:00
\ifextras\else
\maketitle
2023-09-28 12:12:05 -07:00
2023-12-06 21:52:05 -08:00
\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}.
}
2023-09-28 12:12:05 -07:00
2023-12-06 21:52:05 -08:00
\input{parts/00 rules}
\input{parts/01 intro}
\fi
2023-12-06 12:10:37 -08:00
\input{parts/02 easy}
\input{parts/03 medium}
%\input{parts/04 hard}
2023-09-28 12:12:05 -07:00
2023-12-06 21:52:05 -08:00
\ifextras
\sixboards{}
\vfill\pagebreak
\fi
2023-09-28 12:12:05 -07:00
\end{document}