1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
\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}
|