Open schlichtanders opened 2 years ago
Apologies for the confusion
lx_*
functions are currently constrained to having exactly one argument (this tells the parser how many braces to consume) so for the moment you have to write \somecommand{}
for a lx_somecommand
. \newcommand{\somecommand}{...}
which take zero arguments, but in this case it's clear how many arguments the command takes (the \newcommand
declares it). So in short for your question: for a lx_*
function there is currently no way to just have \somecommand
.
I just wanted to create my first latex command with zero arguments (like the builtin lx_toc), however I get an error
here my code
here how I called it within my markdown file
and here the error
what do I need to do to make it work just like
\toc
works? couldn't find anything in the documentation or the demo extra documentation.