Please I want modify the following code by adding a new command as \marks{7,6,4,3}
to get
\documentclass{article}
\usepackage{amsmath}
\usepackage{enumerate}
\usepackage{graphics}
\usepackage{tikz}
\usetikzlibrary{positioning}
\tikzstyle{NP}=[rectangle,
draw=blue!80,
rounded corners=1pt,
inner sep=12pt,
inner ysep=4pt,
draw, fill=black!0,
text width=2cm,
minimum height=.9cm]
\newcommand{\TS}[1]{
\begin{tikzpicture}
\node[rectangle,draw=blue!80,rounded corners=1pt,inner sep=60pt, inner ysep=16pt, minimum height=6cm, text width=10cm,align=center,]
{
\begin{enumerate}[]
\itemsep.1em
\item
\foreach \x in {1, ...,#1}{\item{
\begin{tikzpicture}
\node[NP, fill=black!05](abc){\bfseries \x};
\node[NP, right=of abc]{};
\end{tikzpicture}
}}%
\end{enumerate}
};
\end{tikzpicture}
}
\begin{document}
%\marks{7,6,4,3}
\TS{4}
\end{document}
\marks
? Do you only want the blue boxes with the arguments of\marks
to show up or do you still want the results from\TS
and just another box right next to it? Please be a bit more specific.