% More dense geometry \usepackage[margin=2.5cm, top=2.5cm, bottom=2.5cm]{geometry} % More dense title \usepackage{titling} \pretitle{\begin{center}\vspace{-2cm}\LARGE\bfseries} \posttitle{\end{center}\vspace{-0cm}} % Enable emojis \directlua{luaotfload.add_fallback ( "fallbacks", { "NotoColorEmoji:mode=harf;" } ) } \setmainfont{DejaVuSerif}[ RawFeature={fallback=fallbacks} ] % Add colored boxes \usepackage{tcolorbox} \newtcolorbox{important}{colback=red!5!white, colframe=red!50!white, title={Important}, fonttitle=\bfseries, arc=0mm} \newtcolorbox{attention}{colback=orange!5!white, colframe=orange!70!white, title={Attention}, fonttitle=\bfseries, arc=0mm} \newtcolorbox{information}{colback=blue!5!white, colframe=blue!50!black, title={Information}, fonttitle=\bfseries, arc=0mm} \newtcolorbox{problem}{colback=green!5!white, colframe=green!50!black, title={Problème}, fonttitle=\bfseries, arc=0mm} \newtcolorbox{solution}{colback=green!5!white, colframe=green!50!black, title={Solution}, fonttitle=\bfseries, arc=0mm} \newenvironment{quote_important}{\begin{important}}{\end{important}} \newenvironment{quote_attention}{\begin{attention}}{\end{attention}} \newenvironment{quote_information}{\begin{information}}{\end{information}} \newenvironment{quote_problem}{\begin{problem}}{\end{problem}} \newenvironment{quote_solution}{\begin{solution}}{\end{solution}}