Skip to content

Issues with yml example in Readme (with some suggestions) #2

Open
@eeholmes

Description

@eeholmes

This is in the Readme:

  elsevier-pdf:
    journal:
      formatting: preprint
      model: 3p
      layout: twocolumn
      cite-style: numbered
      graphical-abstract: "![](abstract.png)"
      highlights:
        - Highlight 1
        - Highlight 2 
        - Highlight 3

Issues:

  • cite-style: numbered needs to be cite-style: number (as suggested by error msg)
  • graphical abstract doesn't really work with layout: twocolum. Way too much spacing. Works normally with onecolumn layout. This is a cls issue, but maybe not best example yaml since it looks awful.
  • Same with highlights. Looks very bad w twocolumn layout.

Suggestion, these examples yamls to help folks get started customizing?


Two column format; note per Elsevier's instructions both model: 3p and layout: twocolumn should be specified for proper two column layout.

  elsevier-pdf:
    journal:
      formatting: preprint
      model: 3p
      layout: twocolumn
      cite-style: number

Include a graphical abstract and highlights.

  elsevier-pdf:
    journal:
      cite-style: authoryear
      graphical-abstract: "![](abstract.png)"
      highlights:
        - Highlight 1
        - Highlight 2 
        - Highlight 3

Put the title and abstract on their own page.

  elsevier-pdf:
    journal:
      cite-style: number
    include-in-header: 
      text: |
        \newpageafter{author}

Pass in class options to the elsevier cls. See elsdoc.pdf for available options. Note this doesn't actually work for all the options. Seems like there is overriding happening since options like review and endfloat did nothing. but lefttitle works.

  elsevier-pdf:
    journal:
      cite-style: number
    include-in-header: 
      text: |
        \newpageafter{author}
    classoption: [lefttitle]

Customizing the frontmatter. In elsdoc.pdf, it is shown how to customize the frontmatter (title, authors, abstract, keywords) for different title author formats. The frontmatter for the template is specified in the folder partials in the file before-body.tex. Edit this file to change your frontmatter format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions