Question
Is it possible to keep the \item commands in the body and wrap the itemize list environment with \NewEnviron from the environ package? I am also trying to wrap the list inside a TikZ node, which is also wrapped in a minipage :), which I know is possible from here.
Purpose
Keep source code as simple as possible.
Sample Code
\documentclass{article}
\usepackage{fontspec}
\usepackage{tikz}
\usetikzlibrary{calc,positioning}
\usepackage{environ} % \NewEnviron command collects body and can be accessed by \BODY macro within the definition for making custom environments
\NewEnviron{RedBoxList}[1][MISSING VARIABLE!]{%
\begin{tikzpicture}[remember picture, overlay]
\path [fill=red] (current page.north west) rectangle (current page.north);
\node [xshift=5mm,yshift=-10mm,anchor=north west, align=left] (nodeID) at (current page.north west) {%
\begin{minipage}[t]{.6\linewidth}
\textcolor{white}{%
{\Huge #1}
\begin{itemize}
\BODY
\end{itemize}
}% end textcolor white
\end{minipage}
};% end node
\end{tikzpicture}
}% end NewEnviron
\begin{document}
\begin{RedBoxList}{Title of the Box}
\item test1
\item test2
\item test3
\end{RedBoxList}
\end{document}
\pathdoes nothing as it has no vertical extend (north to north). Therefore you don't see a result due to white text on white background. – Harald Jan 22 '15 at 09:39