Last active
November 17, 2025 10:11
-
-
Save AdithyanI/724eefbb5d3af6dd6b03a4bf29b1d934 to your computer and use it in GitHub Desktop.
Harada Method LaTeX Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \documentclass[a4paper,landscape]{article} | |
| \usepackage[left=2cm,right=2cm,top=1.5cm,bottom=1.5cm]{geometry} | |
| \usepackage{xcolor} | |
| \usepackage{textcomp} | |
| \usepackage{hyperref} | |
| \usepackage{tikz} | |
| \usetikzlibrary{arrows.meta} | |
| \newcommand{\HaradaGrid}{% | |
| \begin{tikzpicture}[baseline=(current bounding box.center), | |
| x=1.9cm,y=1.9cm,>=Stealth, | |
| thickgrid/.style={line width=1.5pt,gray!80}, | |
| subgrid/.style={line width=3pt,black}, | |
| finegrid/.style={gray!20, line width=0.25pt}, | |
| arrowstyle/.style={->,gray!65,line width=1pt} | |
| ] | |
| % Outer frame - same thickness as central block | |
| \draw[black, line width=4.5pt] (0,0) rectangle (9,9); | |
| % Subgrid 3x3 separators | |
| \draw[subgrid] (3,0) -- (3,9); | |
| \draw[subgrid] (6,0) -- (6,9); | |
| \draw[subgrid] (0,3) -- (9,3); | |
| \draw[subgrid] (0,6) -- (9,6); | |
| % Outer block 3x3 internal grid lines | |
| % Top row blocks | |
| \draw[thickgrid] (1,6) -- (1,9); % Top-left vertical | |
| \draw[thickgrid] (2,6) -- (2,9); % Top-left vertical | |
| \draw[thickgrid] (0,7) -- (3,7); % Top-left horizontal | |
| \draw[thickgrid] (0,8) -- (3,8); % Top-left horizontal | |
| \draw[thickgrid] (4,6) -- (4,9); % Top-center vertical | |
| \draw[thickgrid] (5,6) -- (5,9); % Top-center vertical | |
| \draw[thickgrid] (3,7) -- (6,7); % Top-center horizontal | |
| \draw[thickgrid] (3,8) -- (6,8); % Top-center horizontal | |
| \draw[thickgrid] (7,6) -- (7,9); % Top-right vertical | |
| \draw[thickgrid] (8,6) -- (8,9); % Top-right vertical | |
| \draw[thickgrid] (6,7) -- (9,7); % Top-right horizontal | |
| \draw[thickgrid] (6,8) -- (9,8); % Top-right horizontal | |
| % Middle row blocks | |
| \draw[thickgrid] (1,3) -- (1,6); % Middle-left vertical | |
| \draw[thickgrid] (2,3) -- (2,6); % Middle-left vertical | |
| \draw[thickgrid] (0,4) -- (3,4); % Middle-left horizontal | |
| \draw[thickgrid] (0,5) -- (3,5); % Middle-left horizontal | |
| \draw[thickgrid] (7,3) -- (7,6); % Middle-right vertical | |
| \draw[thickgrid] (8,3) -- (8,6); % Middle-right vertical | |
| \draw[thickgrid] (6,4) -- (9,4); % Middle-right horizontal | |
| \draw[thickgrid] (6,5) -- (9,5); % Middle-right horizontal | |
| % Bottom row blocks | |
| \draw[thickgrid] (1,0) -- (1,3); % Bottom-left vertical | |
| \draw[thickgrid] (2,0) -- (2,3); % Bottom-left vertical | |
| \draw[thickgrid] (0,1) -- (3,1); % Bottom-left horizontal | |
| \draw[thickgrid] (0,2) -- (3,2); % Bottom-left horizontal | |
| \draw[thickgrid] (4,0) -- (4,3); % Bottom-center vertical | |
| \draw[thickgrid] (5,0) -- (5,3); % Bottom-center vertical | |
| \draw[thickgrid] (3,1) -- (6,1); % Bottom-center horizontal | |
| \draw[thickgrid] (3,2) -- (6,2); % Bottom-center horizontal | |
| \draw[thickgrid] (7,0) -- (7,3); % Bottom-right vertical | |
| \draw[thickgrid] (8,0) -- (8,3); % Bottom-right vertical | |
| \draw[thickgrid] (6,1) -- (9,1); % Bottom-right horizontal | |
| \draw[thickgrid] (6,2) -- (9,2); % Bottom-right horizontal | |
| % Outer block centers (gray squares - no internal grid, just border) | |
| \foreach \x/\y in { | |
| 1/7, 4/7, 7/7, | |
| 1/4, 7/4, | |
| 1/1, 4/1, 7/1 | |
| }{ | |
| \fill[gray!20] (\x,\y) rectangle (\x+1,\y+1); | |
| \draw[gray!80, line width=1.1pt] (\x,\y) rectangle (\x+1,\y+1); | |
| } | |
| % Shaded 3x3 block centered - clear 3x3 grid | |
| \fill[gray!20] (3,3) rectangle (6,6); | |
| \fill[yellow!60] (4,4) rectangle (5,5); % center goal highlighted | |
| % Extra thick black border for central block | |
| \draw[black, line width=4.5pt] (3,3) rectangle (6,6); | |
| % Inner 3x3 grid lines - clearly marked | |
| \draw[thickgrid] (4,3) -- (4,6); | |
| \draw[thickgrid] (5,3) -- (5,6); | |
| \draw[thickgrid] (3,4) -- (6,4); | |
| \draw[thickgrid] (3,5) -- (6,5); | |
| % Arrows from center ring cells to gray squares in outer blocks (edge to edge) | |
| \draw[arrowstyle] (4.5,6) -- (4.5,7); % top-center: top edge -> bottom edge | |
| \draw[arrowstyle] (6,6) -- (7,7); % top-right: top-right corner -> bottom-left corner | |
| \draw[arrowstyle] (6,4.5) -- (7,4.5); % middle-right: right edge -> left edge | |
| \draw[arrowstyle] (6,3) -- (7,2); % bottom-right: bottom-right corner -> top-left corner | |
| \draw[arrowstyle] (4.5,3) -- (4.5,2); % bottom-center: bottom edge -> top edge | |
| \draw[arrowstyle] (3,3) -- (2,2); % bottom-left: bottom-left corner -> top-right corner | |
| \draw[arrowstyle] (3,4.5) -- (2,4.5); % middle-left: left edge -> right edge | |
| \draw[arrowstyle] (3,6) -- (2,7); % top-left: top-left corner -> bottom-right corner | |
| \end{tikzpicture}% | |
| } | |
| \begin{document} | |
| \thispagestyle{empty} | |
| \begin{tikzpicture}[remember picture,overlay] | |
| \node[anchor=south,inner sep=0.5cm] at (current page.south) {\Large \textcolor{black}{Created by: \href{https://www.adithyan.io}{adithyan.io} \textbar{} \href{https://www.adithyan.io/blog/harada-method-worksheet\#latex-source}{LaTeX Source} \textbar{} \href{https://www.adithyan.io/blog/harada-method-worksheet\#interactive-online-builder}{Interactive Online Builder}}}; | |
| \end{tikzpicture} | |
| \begin{center} | |
| \vspace*{\fill} | |
| \HaradaGrid | |
| \vspace*{\fill} | |
| \end{center} | |
| \end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment