Wiki
Clone wikilogicpuzzle / NumberLink
Number Link
Link all the same numbers or letters in each case by a line. The lines can run horizontally, vertically and in 90 degree angles. Each cell must be traversed by exactly one line. The lines must not intersect. Here’s a little self-explanatory example:
#!latex \begin{numberlink} \framepuzzle \numberlinkcell{2}{1}{B} \numberlinkcell{5}{1}{C} \numberlinkcell{2}{2}{C} \numberlinkcell{4}{2}{D} \numberlinkcell{3}{3}{A} \numberlinkcell{4}{3}{E} \numberlinkcell{1}{4}{B} \numberlinkcell{1}{5}{A} \numberlinkcell{3}{5}{E} \numberlinkcell{4}{5}{D} \end{numberlink} \hspace{1.5cm} \begin{numberlink} \framepuzzle \numberlinkcell{2}{1}{B} \numberlinkcell{5}{1}{C} \numberlinkcell{2}{2}{C} \numberlinkcell{4}{2}{D} \numberlinkcell{3}{3}{A} \numberlinkcell{4}{3}{E} \numberlinkcell{1}{4}{B} \numberlinkcell{1}{5}{A} \numberlinkcell{3}{5}{E} \numberlinkcell{4}{5}{D} \link{\tikzpath{4}{3}{8,4,8}} \link{\tikzpath{2}{1}{4,8,8,8}} \link{\tikzpath{2}{2}{6,2,6,6}} \link{\tikzpath{1}{5}{6,2,2,6}} \link{\tikzpath{4}{2}{6,8,8,8,4}} \end{numberlink}
You will find the current release in the Downloads tab and on CTAN.
Documentation (PDF)
Updated