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

Support same options as the LaTeX version: #6

Open
fperez opened this issue Jan 16, 2025 · 0 comments
Open

Support same options as the LaTeX version: #6

fperez opened this issue Jan 16, 2025 · 0 comments

Comments

@fperez
Copy link
Contributor

fperez commented Jan 16, 2025

The LaTeX version of this template supports these options:

theme_color (choice) - Choose between `blue` and `red` color scheme. Defaults to `blue`.
line_spacing (choice) - Use the onehalfspacing or doublespacing option for 1.5/2.0 line spacing.
venue_footer (choice) - Show a label of the venue, like "arXiv" in the footer of each page.
number_sections (boolean) - Number sections of the article
line_numbers (boolean) - Turn line numbers on in the PDF

Ideally we'd support the same and with the same syntax, so that it's as easy as possible for users to switch between lapreprint and lapreprint-typst. I think the typst workflow is the future, but today there's still a lot of edge cases where things break. Supporting the same overall config syntax will make it easier for users to test the typst version and gradually transition (helping us find and fix the remaining bugs).

For reference, as of Jan 16, 2025, the only options supported by lapreprint-typst are:

Options:
logo (file) - An image path that is shown in the top right of the page
kind (string) - The "kind" of the content, e.g. "Original Research" - shown as the title of the margin content on the first page
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