Every \newcommand here works in all notes and goes into the .tex export.
\newcommand
Copying isn't allowed here, so the text is selected below.