I am using the template with the command quarto use template quarto-journals/elsevier where I can render the template but the two sample references, @Feynman1963118 and @Dirac1953888, are not rendering in the pdf file correctly
---
title: Short Paper
subtitle: A Short Subtitle
author:
- name: Alice Anonymous
email: alice@example.com
affiliations:
- id: some-tech
name: Some Institute of Technology
department: Department Name
address: Street Address
city: City
state: State
postal-code: Postal Code
attributes:
corresponding: true
note: This is the first author footnote.
- name: Bob Security
email: bob@example.com
affiliations:
- id: another-u
name: Another University
department: Department Name
address: Street Address
city: City
state: State
postal-code: Postal Code
note: |
Another author footnote, this is a very long footnote and it should be a really long footnote. But this footnote is not yet sufficiently long enough to make two lines of footnote text.
- name: Cat Memes
email: cat@example.com
affiliations:
- ref: another-u
note: Yet another author footnote.
- name: Derek Zoolander
email: derek@example.com
affilations:
- ref: some-tech
abstract: |
This is the abstract. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum augue turpis, dictum non malesuada a, volutpat eget velit. Nam placerat turpis purus, eu tristique ex tincidunt et. Mauris sed augue eget turpis ultrices tincidunt. Sed et mi in leo porta egestas. Aliquam non laoreet velit. Nunc quis ex vitae eros aliquet auctor nec ac libero. Duis laoreet sapien eu mi luctus, in bibendum leo molestie. Sed hendrerit diam diam, ac dapibus nisl volutpat vitae. Aliquam bibendum varius libero, eu efficitur justo rutrum at. Sed at tempus elit.
keywords:
- keyword1
- keyword2
date: last-modified
bibliography: bibliography.bib
format:
elsevier-pdf:
keep-tex: true
journal:
name: Journal Name
formatting: preprint
model: 3p
cite-style: super
---
Please make sure that your manuscript follows the guidelines in the
Guide for Authors of the relevant journal. It is not necessary to
typeset your manuscript in exactly the same way as an article,
unless you are submitting to a camera-ready copy (CRC) journal.
For detailed instructions regarding the elsevier article class, see <https://www.elsevier.com/authors/policies-and-guidelines/latex-instructions>
# Bibliography styles
Here are two sample references: @Feynman1963118 @Dirac1953888.
By default, natbib will be used with the `authoryear` style, set in `classoption` variable in YAML.
You can sets extra options with `natbiboptions` variable in YAML header. Example
natbiboptions: longnamesfirst,angle,semicolon
There are various more specific bibliography styles available at
<https://support.stmdocs.in/wiki/index.php?title=Model-wise_bibliographic_style_files>.
To use one of these, add it in the header using, for example, `biblio-style: model1-num-names`.
## Using CSL
If `cite-method` is set to `citeproc` in `elsevier_article()`, then pandoc is used for citations instead of `natbib`. In this case, the `csl` option is used to format the references. By default, this template will provide an appropriate style, but alternative `csl` files are available from <https://www.zotero.org/styles?q=elsevier>. These can be downloaded
and stored locally, or the url can be used as in the example header.
# Equations
Here is an equation:
$$
f_{X}(x) = \left(\frac{\alpha}{\beta}\right)
\left(\frac{x}{\beta}\right)^{\alpha-1}
e^{-\left(\frac{x}{\beta}\right)^{\alpha}};
\alpha,\beta,x > 0 .
$$
Inline equations work as well: $\sum_{i = 2}^\infty\{\alpha_i^\beta\}$
# Figures and tables
@fig-meaningless is generated using an R chunk.
```{r}
#| label: fig-meaningless
#| fig-cap: A meaningless scatterplot
#| fig-width: 5
#| fig-height: 5
#| fig-align: center
#| out-width: 50%
#| echo: false
plot(runif(25), runif(25))
Tables coming from R
Tables can also be generated using R chunks, as shown in @tbl-simple example.
Sorry for posting this as an issue. I didn't understand initially the documentarion. Now I understand the problem in relation to the cite-style option and the super value.
Description
I am using the template with the command
quarto use template quarto-journals/elsevier
where I can render the template but the two sample references,@Feynman1963118
and@Dirac1953888
, are not rendering in the pdf file correctlyActual result
Expected result or something similar
Possible problem and what I try
See Why do I get (author?) when I use \citet with natbib? on StackExchange
Also I was not able to render the document using the option
natbiboptions
with the following options:Or adding the
biblio-style
option:Tree of the project using the template from quarto
qmd
file usednatbiboptions: longnamesfirst,angle,semicolon
Tables coming from R
Tables can also be generated using R chunks, as shown in @tbl-simple example.
References {-}