Skip to content

Instantly share code, notes, and snippets.

@HateFindingNames
Created October 1, 2024 08:50
Show Gist options
  • Select an option

  • Save HateFindingNames/c393b24ea02a277f33d59f15409df71a to your computer and use it in GitHub Desktop.

Select an option

Save HateFindingNames/c393b24ea02a277f33d59f15409df71a to your computer and use it in GitHub Desktop.
Simple TeX template to generate compliant applications to get my g'damn money back!
\documentclass{article}
\usepackage{graphicx}
\usepackage{pdfpages}% https://ftp.rrze.uni-erlangen.de/ctan/macros/latex/contrib/pdfpages/pdfpages.pdf
\usepackage[a4paper, margin=5mm]{geometry}
%
% ============ Input Files ==================
\newcommand{\bill}{rechnung.png}
\newcommand{\pdf}{ausgefuellter_und_signierter_antrag.pdf}
% ===========================================
%
\begin{document}
\thispagestyle{empty}
\includepdf[pages=-]{\pdf}
\newpage
\thispagestyle{empty}
\begin{figure}[htbp]
\centering
\includegraphics[width=\dimexpr\textwidth-1cm\relax, height=\dimexpr\textheight-1cm\relax, keepaspectratio]{\bill}
\end{figure}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment