]> Git — Sourcephile - julm/rezine-rfcs.git/blob - styles/rfc.header.tex
FunctCompleteness(scripts): handle untagged versions
[julm/rezine-rfcs.git] / styles / rfc.header.tex
1 % More dense geometry
2 \usepackage[margin=2.5cm, top=2.5cm, bottom=2.5cm]{geometry}
3
4 % More dense title
5 \usepackage{titling}
6 \pretitle{\begin{center}\vspace{-2cm}\LARGE\bfseries}
7 \posttitle{\end{center}\vspace{-0cm}}
8
9 % Enable emojis
10 \directlua{luaotfload.add_fallback
11 ( "fallbacks",
12 {
13 "NotoColorEmoji:mode=harf;"
14 }
15 )
16 }
17 \setmainfont{DejaVuSerif}[
18 RawFeature={fallback=fallbacks}
19 ]
20
21 % Add colored boxes
22 \usepackage{tcolorbox}
23 \newtcolorbox{important}{colback=red!5!white, colframe=red!50!white, title={Important}, fonttitle=\bfseries, arc=0mm}
24 \newtcolorbox{attention}{colback=orange!5!white, colframe=orange!70!white, title={Attention}, fonttitle=\bfseries, arc=0mm}
25 \newtcolorbox{information}{colback=blue!5!white, colframe=blue!50!black, title={Information}, fonttitle=\bfseries, arc=0mm}
26 \newtcolorbox{problem}{colback=green!5!white, colframe=green!50!black, title={Problème}, fonttitle=\bfseries, arc=0mm}
27 \newtcolorbox{solution}{colback=green!5!white, colframe=green!50!black, title={Solution}, fonttitle=\bfseries, arc=0mm}
28 \newenvironment{quote_important}{\begin{important}}{\end{important}}
29 \newenvironment{quote_attention}{\begin{attention}}{\end{attention}}
30 \newenvironment{quote_information}{\begin{information}}{\end{information}}
31 \newenvironment{quote_problem}{\begin{problem}}{\end{problem}}
32 \newenvironment{quote_solution}{\begin{solution}}{\end{solution}}