From be1e01240b1049dca2c44769e43b0234f70df5e1 Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 7 Mar 2024 09:58:10 -0800 Subject: [PATCH] Warmup edits --- Misc/Warm-Ups/conway.tex | 103 +---------------------------------- Misc/Warm-Ups/jump chess.tex | 4 +- Misc/Warm-Ups/wild ttt.tex | 2 +- 3 files changed, 6 insertions(+), 103 deletions(-) diff --git a/Misc/Warm-Ups/conway.tex b/Misc/Warm-Ups/conway.tex index 23948a8..bbd8861 100755 --- a/Misc/Warm-Ups/conway.tex +++ b/Misc/Warm-Ups/conway.tex @@ -8,39 +8,7 @@ \title{Warm-Up: Conway's Box} -\subtitle{Prepared by \githref{Mark} on \today. \\ Based on a true story.} - -\usetikzlibrary{shapes} -\tikzset{ - iso/.style={kite, draw, kite vertex angles=120, minimum size=1cm, outer sep=0pt} -} - - -\newcommand{\isogrid}[2]{ -\foreach \i [count=\row from 0, remember=\row as \lastrow (initially 0)] in {0,...,#1}{ - \foreach \j [count=\col from 0, remember=\col as \lastcol (initially 0)] in {0,...,#2}{ - \ifnum\row=0 - \ifnum\col=0 - \node[iso] (\row-\col) {}; - \else - \node[iso, anchor=left vertex] (\row-\col) at (\row-\lastcol.right vertex) {}; - \fi - \else - \ifnum\col=0 - \node[iso, anchor=upper vertex] (\row-\col) at (\lastrow-\col.lower vertex) {}; - \else - \node[iso, anchor=left vertex] (\row-\col) at (\row-\lastcol.right vertex) {}; - \fi - \fi - } - } - \draw (0-0.left vertex)--(#1-0.left vertex); - \foreach \i in {0,...,#2}{ - \draw (0-\i.upper vertex)--(#1-\i.lower vertex); - \draw (0-\i.right vertex)--(#1-\i.right vertex); -} -} - +\subtitle{Prepared by \githref{Mark} on \today} \begin{document} @@ -61,71 +29,4 @@ \includegraphics[width=10cm,page=1]{conway_sol.pdf} \end{center} \end{solution} - - \vfill - \pagebreak - - \begin{center} - \null\vfill - \begin{tikzpicture} - \isogrid{20}{7} - \end{tikzpicture} - \vfill\null - \end{center} - -\end{document} - - -% \documentclass[tikz,border=2mm]{standalone} -% \usetikzlibrary{shapes} -% -% \tikzset{ -% iso/.style={kite, draw, kite vertex angles=120, minimum size=1cm, outer sep=0pt} -% } -% -% \newcommand{\isogrid}[2]{ -% \foreach \i [count=\row from 0, remember=\row as \lastrow (initially 0)] in {0,...,#1}{ -% \foreach \j [count=\col from 0, remember=\col as \lastcol (initially 0)] in {0,...,#2}{ -% \ifnum\row=0 -% \ifnum\col=0 -% \node[iso] (\row-\col) {\row-\col}; -% \else -% \node[iso, anchor=left vertex] (\row-\col) at (\row-\lastcol.right vertex) {\row-\col}; -% \fi -% \else -% \ifnum\col=0 -% \node[iso, anchor=upper vertex] (\row-\col) at (\lastrow-\col.lower vertex) {\row-\col}; -% \else -% \node[iso, anchor=left vertex] (\row-\col) at (\row-\lastcol.right vertex) {\row-\col}; -% \fi -% \fi -% } -% } -% \draw (0-0.left vertex)--(#1-0.left vertex); -% \foreach \i in {0,...,#2}{ -% \draw (0-\i.upper vertex)--(#1-\i.lower vertex); -% \draw (0-\i.right vertex)--(#1-\i.right vertex); -% } -% } -% -% \begin{document} -% \begin{tikzpicture} -% -% \isogrid{19}{9} -% \begin{scope}[line width=2pt] -% \draw (1-3.right vertex)--(3-5.right vertex)--(7-1.right vertex)--(5-0.left vertex)--cycle; -% \draw (5-0.left vertex)--(13-0.left vertex)--(15-1.right vertex)--(7-1.right vertex); -% \draw (3-5.right vertex)--(5-5.right vertex)--(7-7.right vertex)--(10-7.right vertex)--(11-8.right vertex)--(12-7.right vertex)--(13-8.right vertex)--(15-7.upper vertex)--(13-5.upper vertex)--(10-5.upper vertex)--(8-3.upper vertex)--(5-5.right vertex); -% \draw (9-5.lower vertex)--(7-7.right vertex); -% \draw (12-5.lower vertex)--(10-7.right vertex); -% \draw (11-8.right vertex)--(16-8.right vertex)--(17-7.lower vertex)--(13-3.lower vertex)--(15-1.right vertex); -% \draw (7-3.lower vertex)--(13-3.lower vertex); -% \draw (14-7.lower vertex)--(17-7.lower vertex); -% -% \draw[dashed] (13-0.left vertex)--(9-3.right vertex)--(1-3.right vertex); -% \draw[dashed] (9-3.right vertex)--(14-8.right vertex)--(15-7.right vertex)--(16-8.right vertex); -% \draw[dashed] (12-7.right vertex)--(15-7.right vertex); -% \end{scope} -% \end{tikzpicture} -% -% \end{document} \ No newline at end of file +\end{document} \ No newline at end of file diff --git a/Misc/Warm-Ups/jump chess.tex b/Misc/Warm-Ups/jump chess.tex index e58204c..6a3aff9 100755 --- a/Misc/Warm-Ups/jump chess.tex +++ b/Misc/Warm-Ups/jump chess.tex @@ -15,6 +15,8 @@ \subtitle{Prepared by \githref{Mark} on \today} +% Source: Khan LSAT prep + \begin{document} \maketitle @@ -26,7 +28,7 @@ king from a distance, ignoring any pieces in between. \vspace{2mm} - + With these modified rules, the outcome of a game can be determined. \par Who wins, or do black and white draw with ideal play? \par (As in regulation chess, white moves first.) diff --git a/Misc/Warm-Ups/wild ttt.tex b/Misc/Warm-Ups/wild ttt.tex index e6d6662..26dc1e1 100755 --- a/Misc/Warm-Ups/wild ttt.tex +++ b/Misc/Warm-Ups/wild ttt.tex @@ -39,7 +39,7 @@ \ttt{14}{7}{2}{line width=0.3mm} \end{tikzpicture} \end{center} - + \vfill \problem{}