forked from MEGA65/mega65-user-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfrontcover.tex
28 lines (25 loc) · 918 Bytes
/
frontcover.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
%\pagecolor{blue}
%\clearpage\thispagestyle{empty}
%\begin{center}
%\includegraphics[width=\textwidth]{frontcover/MEGA65_logo_shadow}
%
%{\textcolor{white}{\large\Huge{\bf{USER'S GUIDE}}}}
%
%\vspace{\fill}
%\end{center}
%
\newcommand\titlestreq[3]{%
\IfStrEq{#1}{\detokenize{#2}}{\includegraphics[height=210mm,width=149mm]{\detokenize{#3}}}{}%
}
\newcommand\titlepic[1]{%
\titlestreq{#1}{mega65-book}{frontcover/m65book\_title}%
\titlestreq{#1}{mega65-userguide}{frontcover/manual\_title}%
\titlestreq{#1}{mega65-developer-guide}{frontcover/developer\_title}%
\titlestreq{#1}{mega65-chipset-reference}{frontcover/chipset\_title}%
\titlestreq{#1}{mega65-basic65-reference}{frontcover/basic65\_title}%
}
\begin{tikzpicture}[remember picture,overlay,shift={(current page.north east)}]
\node[anchor=north east,xshift=0.2cm,yshift=0.1cm]{\titlepic{\jobname}};
\end{tikzpicture}
%\newpage
%\pagecolor{white}