It looks like you may have already found this since I use that exact remove_arguments
function lol, but nonetheless my notebooks with similar goals are here and here. You can wrap your @latexrun
expressions in remove_arguments
without affecting the underlying function definition. Then the function definitions displayed nicely in the notebook are all available by loading the package.
Iām just doing this with markdown headers currently.
I also just got an answer on how to dispatch on specific units here:
Looks like we are all doing similar things!