32 lines
918 B
TeX
32 lines
918 B
TeX
\usepackage{fontspec}
|
|
\setmainfont{texgyrepagella}[
|
|
Extension = .otf,
|
|
UprightFont = *-regular,
|
|
BoldFont = *-bold,
|
|
ItalicFont = *-italic,
|
|
BoldItalicFont = *-bolditalic,
|
|
]
|
|
|
|
|
|
\renewcommand{\date}[1]{\def\date{#1}}
|
|
\date{\today}
|
|
|
|
%%%%%%%%%%% INFOS %%%%%%%%%%%%%
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
% logo on header
|
|
\newcommand{\logoImage}[1]{\def\logoImage{#1}}
|
|
% the title of the software
|
|
\renewcommand{\title}[1]{\def\title{#1}}
|
|
% the author of the document
|
|
\renewcommand{\author}[1]{\def\author{#1}}
|
|
% the author of the client
|
|
\newcommand{\company}[1]{\def\company{#1}}
|
|
\def\copyright{% the copyright of the document, by default CC-BY-CC — leave it empty if don't need it
|
|
{\tiny %
|
|
\title~©~\the\year{},~\company,~by \textbf{\author}~is under licence :~%
|
|
\href{https://creativecommons.org/licenses/by-nc/4.0/?ref=chooser-v1}{\faCreativeCommons~\faCreativeCommonsBy~\faCreativeCommonsNc}
|
|
}%
|
|
}
|
|
|
|
|