\PassOptionsToPackage{silent}{fontspec} \usepackage{libertinus} \setmonofont[Scale=MatchLowercase,FakeStretch=0.9]{DejaVu Sans Mono} \usepackage{microtype} \usepackage[english]{babel} \usepackage{listings} \usepackage{xcolor} \usepackage[automark]{scrlayer-scrpage} \pagestyle{scrheadings} % \lstset{% language=[LaTeX]TeX,% showstringspaces=false,% tabsize=5,% % frame={tb},% % lineskip=-1pt,% extendedchars=true,% basicstyle={\small\ttfamily},% % numbers=left,% % stepnumber=1,% % numberstyle=\tiny,% % xleftmargin=2em,% % backgroundcolor=black!20, breaklines=true} % %\usepackage{marginnote} %newcommand\Float[1][]{\ifx\relax#1\relax\marginnote{\fbox{float}}\else % \marginnote{\fbox{\shortstack{float\\#1}}}\fi % \newcommand\Float[1][]{\centerline{\fbox{Float #1}}} \usepackage{graphicx} \usepackage{varioref} \usepackage{nameref} \usepackage[hyperref]{hvfloat} %\usepackage{hvfloat} \DeclareCaptionFont{red}{\color{red}} \captionsetup{labelfont={red,sf},font={red,sf},format=plain} \usepackage{blindtext} \flushbottom