-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
/
Copy pathcover.tex
20 lines (14 loc) · 1.13 KB
/
cover.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% IMPORTANT NOTE this file requires latex-header.tex
% The cover is created first using Google Drawings: https://docs.google.com/drawings/d/1i0NIJq3ChVrdQ-0YdqcYGeWUw9QCzd61gDBp05dP7b8/edit?usp=sharing
% To best fit the PDF, in Google Drawings we go to "File > Page Setup" and set Width = 2480px and Height = 3508px.
% It is exported as cover.pdf and lives in the root folder (owasp-mastg/)
% The version text is written dynamically using the code in this file
% The used latex overlay uses the coordinates (X,Y), where (0, 0) is the lower left corner of the page.
% NOTE: For non-release versions e.g. v1.4.1-70281c8 it might look like the version string is not correctly located but it is for release versions e.g. v1.5.0.
% The coordinates given below are for the release version and are correct.
% This file requires the following pandoc metadata variable: $mastg_version$
\thispagestyle{empty} % remove page numbers
% https://tex.stackexchange.com/questions/136900/insert-a-full-page-image
\incgraph[documentpaper,
overlay={\node[white] at (4.0,18.0) {\Large Version $mastg_version$};}]
[width=\paperwidth,height=\paperheight]{cover.pdf}