Install MyST Markdown, and then add some frontmatter:
---
exports:
- format: pdf
template: lapreprint
venue_footer: arxiv
theme_color: red
---
For all options use:
myst templates list lapreprint --tex
To build your PDF:
myst build --pdf
See MyST Guide for creating Documents for full instructions.