Skip to content

Instantly share code, notes, and snippets.

@timosarkar
Last active September 21, 2025 08:31
Show Gist options
  • Select an option

  • Save timosarkar/7c23046f89e2ee013b753316315bf0f3 to your computer and use it in GitHub Desktop.

Select an option

Save timosarkar/7c23046f89e2ee013b753316315bf0f3 to your computer and use it in GitHub Desktop.
create a whitepaper from markdown quickly
brew install basictex --cask
eval "$(/usr/libexec/path_helper)"

pandoc whitepaper.md -o a.pdf \
  --pdf-engine=xelatex \
  -V mainfont="Arial" \
  -V geometry:margin=1in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment