I would like to have the same result as the following picture
My current result:
I thought that I could use \n to get the right item in the list Mylist, but I didn't find how to get an item in a list. Any idea?
My code:
%%%%%%%%%%%%%%%%%% PACKAGE %%%%%%%%%%%%%%%%%%
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{tgadventor}
\usepackage{sansmath}
\usepackage[usenames, dvipsnames]{xcolor}
\usepackage{tikz}
%%%%%%%%%%%%%%%%%% INPUT %%%%%%%%%%%%%%%%%%
%\input{preamble.tex}
%\input{parameters.tex}
%\input{types/f2d_fig}
%%%%%%%%%%%%%%%%%% SETUP %%%%%%%%%%%%%%%%%%
\tikzset{graphtikz/.style={font={\sansmath\sffamily\large}, line width=0.4mm, line cap=round, line join=round, >=latex, x=1.0cm, y=1.0cm,}}
\def\MyList{A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Z}
%%%%%%%%%%%%%%%%%% DOCUMENT %%%%%%%%%%%%%%%%%%
\begin{document}
\begin{tikzpicture}[graphtikz, font={\sansmath\sffamily\Large}, scale=1]
%%% vertical segment
\foreach \x in {0,...,5}
{
\draw[shift={(\x*2,0)},color=black!80] (0,0) -- (0,11.5);
}
%%% horizontal segment
\foreach \x in {0,...,3}
{
\draw[shift={(0,\x*2)},color=black!80] (28:-0.5) -- (0,0) -- (10,5) -- +(28:0.5);
}
%%% Node
\foreach \y in {0,...,3}
{
\foreach \x in {0,...,5}
{
\def\n{(\y*6)+\x}
\draw
(\x*2,\y*2+\x) node[above left,] {\n};
}
}
\end{tikzpicture}
\end{document}


