@Code \newcommand[1]{\Matrix} @Code { @Code \underline{\underline{ \mathbf{#1} }} @Code } ...
@Code $\Matrix{A}$.