Is it possible to read the white space in a very simple
\author declaration? I understand that it's dangerous to expect such a thing to work very stably, but for a limited use case, I would like to be able to print the author's last name in the document header, and I'd like to keep the mechanism as simple and standard as possible.
I'd like the user to define the following:
The package would then read the text after white space in
First Last to define the following automatically:
I understand any solution would likely break if there is a middle name or initial, for example, or if there are multiple authors. My question is now as much about my original use case as it is about what is to me an interesting problem.