Closed tc1989tc closed 3 months ago
What package are you using \author
from? It appears that the default \author
defined by LaTeX only takes one argument.
What package are you using
\author
from? It appears that the default\author
defined by LaTeX only takes one argument.
It's the \author
command from the elsarticle document class.
I see. I will add a elsarticle
to unified-latex-ctan/package
when I am able. (Or, if you wanted to try, a PR is welcome :-). You can look at multicol
for a simple example.
I see. I will add a
elsarticle
tounified-latex-ctan/package
when I am able. (Or, if you wanted to try, a PR is welcome :-). You can look atmulticol
for a simple example.
@siefkenj The amsart
has included the \author
source code link , why parse still as one argument?
Yes, but the amsart
version of \author
accepts only one argument, which is why we need to define another.
Yes, but the
amsart
version of\author
accepts only one argument, which is why we need to define another.
The amsart
define \author
as signature: "o m", this means an option argument and a mandatory argument. Shouldn't it be receiving two parameters? @siefkenj
Oh, I see. The change has already been made!
Yes, it should receive an optional argument. Are you using the git version or the release version? That change might not be released yet.
Oh, I see. The change has already been made!
Yes, it should receive an optional argument. Are you using the git version or the release version? That change might not be released yet.
I use npm release version
Yes, but the
amsart
version of\author
accepts only one argument, which is why we need to define another.The
amsart
define\author
as signature: "o m", this means an option argument and a mandatory argument. Shouldn't it be receiving two parameters? @siefkenj
@siefkenj The npm latest version did not include the change. Please release the new version to include the commits, thanks!
I just published v1.8.0
. Please try it and see if the issue is resolved.
I tested on v1.8.0, it fixes the issue. thanks!
As I've shared below, the latex format is not correct.
Latex code
after formated, it display as(this not correct):