Closed huizezhang-sherry closed 3 years ago
Thanks I think this is an issue with the template https://github.com/rstudio/rticles/blob/4afb44c40b49e11a27a2127a61ed9c34b3a9187e/inst/rmarkdown/templates/rjournal/resources/template.tex#L19-L31
The newline character should be inserted in the right place inside the conditional so that it is not inserted if url is not provided.
Hi @huizezhang-sherry
This should be solved with current dev version
remotes::install_github("rstudio/rticles")
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
Using the Rjournal template with the optional
url
field removed generates an undesirable line break in the author's signature.Here is a minimal reproducible example: https://github.com/huizezhang-sherry/rticle-author-field. In
my-article/my-article.Rmd
, when the optionalurl
field is unspecified for the first author (line 5- 11), the generated pdf produces a line break in between address and orcid.By filing an issue to this repo, I promise that
xfun::session_info('rticles')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/rticles')
.I understand that my issue may be closed if I don't fulfill my promises.