parent
46b19eeff6
commit
7ca4207eca
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,82 @@ |
|||||||
|
\documentclass[twoside,a4paper]{article} |
||||||
|
|
||||||
|
\usepackage{amsmath} |
||||||
|
\usepackage{amssymb} |
||||||
|
\usepackage{booktabs} |
||||||
|
\usepackage{enumitem} |
||||||
|
\usepackage{fancyhdr} |
||||||
|
\usepackage{float} |
||||||
|
\usepackage{fontspec} |
||||||
|
\usepackage{hyperref} |
||||||
|
\usepackage[margin=2cm,includefoot,footskip=1.5cm]{geometry} |
||||||
|
\usepackage{graphicx} |
||||||
|
\usepackage{minted} |
||||||
|
\usepackage{tikz} |
||||||
|
\usepackage{url} |
||||||
|
|
||||||
|
\usetikzlibrary{calc} |
||||||
|
\renewcommand{\headrulewidth}{0pt} |
||||||
|
\renewcommand{\footrulewidth}{0pt} |
||||||
|
|
||||||
|
%\setmainfont[BoldFont=OpenSans-Bold, ItalicFont=OpenSans-Italic, Ligatures=TeX]{OpenSans-Regular.ttf} |
||||||
|
%\setsansfont[BoldFont=OpenSans-Bold, ItalicFont=OpenSans-Italic, Ligatures=TeX]{OpenSans-Regular.ttf} |
||||||
|
|
||||||
|
\newfontfamily\Roboto[BoldFont=Roboto-Bold, Ligatures=TeX]{Roboto-Regular} |
||||||
|
\setmainfont[BoldFont=Roboto-Bold, ItalicFont=Roboto-Italic, Ligatures=TeX]{Roboto-Regular} |
||||||
|
\setsansfont[BoldFont=Roboto-Bold, ItalicFont=Roboto-Italic, Ligatures=TeX]{Roboto-Regular} |
||||||
|
|
||||||
|
\definecolor{background}{RGB}{58,46,86} |
||||||
|
\definecolor{border}{RGB}{234,211,186} |
||||||
|
|
||||||
|
\patchcmd{\section}{\thispagestyle{plain}}{\thispagestyle{fancy}}{}{} |
||||||
|
|
||||||
|
\pagestyle{fancy} |
||||||
|
\fancyhf{} |
||||||
|
\fancyhead[C]{% |
||||||
|
\begin{tikzpicture}[overlay, remember picture]% |
||||||
|
\fill[border] (current page.north west) rectangle ($(current page.north east)+(0,-1.5cm)$); |
||||||
|
\fill[background] (current page.north west) rectangle ($(current page.north east)+(0,-1.4cm)$); |
||||||
|
\node[anchor=north west, text=white, font=\Large\Roboto, minimum size=1.4cm, inner xsep=5mm] at (current page.north west) {\textbf{white}box}; |
||||||
|
\end{tikzpicture} |
||||||
|
} |
||||||
|
\fancyfoot[LE,RO]{\thepage} |
||||||
|
|
||||||
|
\newcommand\fancytitlecover { |
||||||
|
\begin{tikzpicture}[remember picture, overlay, shorten >= -10pt] |
||||||
|
\fill[border] (current page.north west) rectangle (current page.south east); |
||||||
|
\fill[background] (current page.north west) rectangle ($(current page.south east)+(0,3mm)$); |
||||||
|
\end{tikzpicture} |
||||||
|
} |
||||||
|
|
||||||
|
\makeatletter |
||||||
|
\renewcommand*{\maketitle}{ |
||||||
|
\begin{titlepage} |
||||||
|
\fancytitlecover |
||||||
|
\color{white} |
||||||
|
\begin{center} |
||||||
|
\sffamily |
||||||
|
\vspace*{3cm} |
||||||
|
\huge \@title \\[1em] |
||||||
|
{\Large\Roboto \textbf{white}box} |
||||||
|
\vfill |
||||||
|
%\large \@author \\[1em] |
||||||
|
%\large \@date |
||||||
|
\end{center} |
||||||
|
\end{titlepage} |
||||||
|
} |
||||||
|
\makeatother |
||||||
|
|
||||||
|
|
||||||
|
\begin{document} |
||||||
|
|
||||||
|
\title{Trusted Boot Module \\[.5em] |
||||||
|
\Large User Manual} |
||||||
|
\author{} |
||||||
|
\date{} |
||||||
|
\maketitle |
||||||
|
|
||||||
|
\tableofcontents |
||||||
|
\newpage |
||||||
|
|
||||||
|
\section{Introduction} |
||||||
|
\end{document} |
Loading…
Reference in new issue