Skip to content

Instantly share code, notes, and snippets.

@alexkrolick
Last active December 21, 2015 21:59
Show Gist options
  • Save alexkrolick/6372152 to your computer and use it in GitHub Desktop.
Save alexkrolick/6372152 to your computer and use it in GitHub Desktop.
How to attach a .tex source file to a PDF generated via pdflatex.
\usepackage{embedfile} % for attaching the .tex file to the PDF
\embedfile{\jobname.tex} % embed the source
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment