XeLaTeX is used.
Problem: I have a note, which is now made to the table. It is used many times in the document , so there is a need in the writing environment (on such a note).
I need to note it was recorded in the main text( i.e. itemize ). Is it Possible to make such an environment?
MWE:
\documentclass[10pt, oneside, a4paper]{report}
\usepackage[left=2cm,right=1.5cm,
top=2cm,bottom=2cm,bindingoffset=0cm]{geometry}
\usepackage{indentfirst}
\usepackage{titlesec}
\usepackage{tabu}
\usepackage[svgnames]{xcolor}
\definecolor{DarkBlue}{HTML}{0070C0}
\definecolor{Blue}{HTML}{1C8CCC}
\usepackage{multirow}
\usepackage{polyglossia}
\setmainfont[Ligatures=TeX]{Arial}
\usepackage{color,colortbl}
\usepackage[inline,shortlabels]{enumitem}
\definecolor{lightGray}{HTML}{E6E7E9}
\newcommand{\point}{\item[\textcolor{Blue}{\textbullet}]}
\newcommand\blue[1]{\textcolor{Blue}{\textbf{#1}}}
%--------------------------------------------
\begin{document}
\begin{table}[h!]
\hspace*{-2.23cm}
\centering
\begin{tabular}{p{1.5cm}p{17.5cm}p{7.85cm}}
\rowcolor{lightGray}
& \begin{description}
\item \textcolor{Blue}{\textbf{NOTE}}
\item Category of alerts:
\end{description}
\begin{itemize}
\point \textcolor{Blue}{\textbf{A}} --- graphical information at the task station directly assigned to the function generating the alert is necessary, as decision support for the evaluation the alert related condition. Confirm alerts is only possible with control panel
\point \textcolor{Blue}{\textbf{B}} --- no additional information for decision support is necessary besides the information which can be presented at the central alert management HMI. Confirm alerts is only possible from external alert management system
\end{itemize} & \\
\end{tabular}
\end{table}
\end{document}
I tried to write the environment, but it doesn't work:
% \newenvironment{Note}[1]
% {
% \hspace*{-2.23cm}
% \centering
% \rowcolor{gray}
% \begin{tabular}{p{1.5cm}p{17.5cm}p{7.85cm}}
%
% {#1} & {\begin{description}
% \item \blue{NOTE}
% \end{description}}
% \begin{description}
% \point {#2}
% \end{description}}
% & {#3} \\
% }
% {
% \end{tabular}
% }
Why is the environment not work? what am I doing wrong?
\newenvironment{Note}[3]