How do I define a variable that can be used in commands? If it is even possible?
I want to assign a length to a variable and use it in \addvspace, like:
\newcommand{\xxx}{1em}
\addvspace{\xxx}
Or:
\newlength{\xxx}
\setlength{\xxx}{1em}
\addvspace{\xxx}
But it doesn't work. Since there is no way to add automatic vertical space in paragraphs (without messing up everything, like \parskip), I thought it would be nice to have a variable then so all spaces can be adjusted without changing 5000 hardcoded spaces in the document each time.
\addvspace? I believe you're misusing it. – egreg Aug 15 '16 at 20:45