% Teacher version: use the same diagram source and enable the solution overlay. \documentclass[tikz,border=5mm]{standalone} \newif\ifRSevenSolution \RSevenSolutiontrue \input{tutorial/source/r717-machine-diagram.tex} .