Debian Codegraph @

texmf-dist/doc/latex/hvfloat/preamble.ltx

raw
1 \PassOptionsToPackage{silent}{fontspec}
2 \usepackage{libertinus}
3 \setmonofont[Scale=MatchLowercase,FakeStretch=0.9]{DejaVu Sans Mono}
4 \usepackage{microtype}
5 \usepackage[english]{babel}
6
7 \usepackage{listings}
8 \usepackage{xcolor}
9 \usepackage[automark]{scrlayer-scrpage}
10 \pagestyle{scrheadings}
11 %
12 \lstset{%
13 language=[LaTeX]TeX,%
14 showstringspaces=false,%
15 tabsize=5,%
16 % frame={tb},%
17 % lineskip=-1pt,%
18 extendedchars=true,%
19 basicstyle={\small\ttfamily},%
20 % numbers=left,%
21 % stepnumber=1,%
22 % numberstyle=\tiny,%
23 % xleftmargin=2em,%
24 % backgroundcolor=black!20,
25 breaklines=true}
26 %
27
28 %\usepackage{marginnote}
29 %newcommand\Float[1][]{\ifx\relax#1\relax\marginnote{\fbox{float}}\else
30 % \marginnote{\fbox{\shortstack{float\\#1}}}\fi
31 %
32
33 \newcommand\Float[1][]{\centerline{\fbox{Float #1}}}
34
35 \usepackage{graphicx}
36 \usepackage{varioref}
37 \usepackage{nameref}
38 \usepackage[hyperref]{hvfloat}
39 \DeclareCaptionFont{red}{\color{red}}
40 \DeclareCaptionFont{white}{\color{white}}
41 \captionsetup{labelfont={red,sf},font={red,sf},format=plain}
42
43 \usepackage{blindtext}
44 \usepackage[style=authoryear]{biblatex}
45 \addbibresource{biblatex-examples.bib}
46
47
48 \def\hvblindtext{\textcolor{black!30}{Hello, here is some text without a meaning. This text should show what a
49 printed text will look like at this place. If you read this text, you will get no information. Really?
50 Is there no information? Is there a difference between this text and some nonsense like “Huardest gef- burn”?
51 Kjift – not at all! A blind text like this gives you information about the selected font, how the letters
52 are written and an impression of the look. This text should contain all letters of the alphabet and it
53 should be written in of the original language. There is no need for spe- cial contents, but the length
54 of words should match the language.}\par\normalcolor}
55
56 \def\Blindtext{\hvblindtext
57 \textcolor{black!30}{Hello, here is the second paragraph.}
58 \hvblindtext
59 \textcolor{black!30}{Hello, here is the third paragraph.}
60 \hvblindtext
61 \textcolor{black!30}{Hello, here is the forth paragraph.}
62 \hvblindtext
63 \textcolor{black!30}{Hello, here is the fifth paragraph.}
64 \hvblindtext}
65
66
67
68 \let\hvBlinddocument\blinddocument
69 \def\blinddocument{\par\color{black!30}\hvBlinddocument\par\normalcolor}
70
71
72
73
74 \flushbottom