Created
December 23, 2018 18:02
-
-
Save tk3369/aa8617bdcddf40a3b3391f31ee64c8e5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
((* extends 'article.tplx' *)) | |
((* block commands *)) | |
((( super() ))) | |
% define custom margins | |
\geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in} | |
\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}} | |
((* endblock commands *)) | |
((* block predoc *)) | |
((( super() ))) | |
% use the h option for figures, which places the figure in approximately the same spot as in the text | |
% https://stackoverflow.com/questions/49040322/how-to-force-image-to-text-when-converting-markdown-to-pdf-using-pandoc | |
\makeatletter | |
\def\fps@figure{h} | |
\makeatother | |
((* endblock predoc *)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment