Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Citation style, superscript #9

Open
TuomasBorman opened this issue Jan 22, 2025 · 0 comments
Open

Citation style, superscript #9

TuomasBorman opened this issue Jan 22, 2025 · 0 comments

Comments

@TuomasBorman
Copy link

Hello!

Thanks for this nice template. It makes things easy as we use quarto files often in our work.

Nature's citation style requires that citations are in superscript:

However, I did not find option to do that directly from quarto file. Instead, the citations seems to be in brackets.

I noticed that Nature’s citation style requires superscript citations, as said in their formatting guide. However, I couldn’t find an option to enable superscript citations directly from the Quarto file. Currently, citations appear in brackets instead.

This style is required in Nature1. However, this is the current style in the quarto template [1].

Sorry, if I missed some option. I did try other configurations, but they either didn’t work or resulted in errors (e.g., using cite-style: default).

ERROR:
compilation failed- error
Undefined control sequence.
l.212 the past decade. \citep
{berg2020} Microbiome plays a central role in

see OMA_article.log for more information.

As attachment, you can find all relevant files. My quarto version is 1.5.57 and TinyTex v2025.01. Below is the session information

> sessionInfo()
R Under development (unstable) (2024-12-20 r87452)
Platform: x86_64-pc-linux-gnu
Running under: Linux Mint 22

Matrix products: default
BLAS:   /opt/R/4.5.0/lib/R/lib/libRblas.so 
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8     LC_MONETARY=fi_FI.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=fi_FI.UTF-8       LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=fi_FI.UTF-8 LC_IDENTIFICATION=C       

time zone: Europe/Helsinki
tzcode source: system (glibc)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.5.0    cli_3.6.3         rsconnect_1.3.3   tools_4.5.0       rstudioapi_0.17.1 lifecycle_1.0.4   rlang_1.1.4   

OMA_article.tar.gz

-Tuomas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant