Created
March 30, 2023 13:01
-
-
Save h4sh5/a9a852e2268c611ef137305e45f0f7c6 to your computer and use it in GitHub Desktop.
using pandoc to squeeze a lot fo text into an A4 page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(echo -e "---\nclassoption:\n- twocolumn\nlinestretch: 0\n---"; cat $1) | pandoc --variable papersize="A4" --variable margin-left="0.2cm" --variable margin-right="0.2cm" --variable margin-top="0.2cm" --variable margin-bottom="0.2cm" --variable fontsize="8pt" - -o $1.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment