fix: wrapping of texts
This commit is contained in:
@@ -28,6 +28,8 @@
|
||||
\usepackage{graphicx}
|
||||
\usepackage{caption}
|
||||
\usepackage{subcaption}
|
||||
% pandoc 3.x sets \LTcaptype=none for captionless longtables; caption tries to \stepcounter{none}
|
||||
\newcounter{none}
|
||||
\usepackage{xcolor}
|
||||
\makeatletter
|
||||
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
|
||||
@@ -42,10 +44,21 @@
|
||||
% --- Code ---
|
||||
\usepackage{fancyvrb}
|
||||
\usepackage{listings}
|
||||
\lstset{
|
||||
basicstyle=\ttfamily\small,
|
||||
breaklines=true,
|
||||
breakatwhitespace=false,
|
||||
columns=fullflexible,
|
||||
keepspaces=true,
|
||||
}
|
||||
$if(highlighting-macros)$
|
||||
$highlighting-macros$
|
||||
$endif$
|
||||
|
||||
% ngerman macht " zu einem aktiven Shorthand ("u→ü, "a→ä, "r→Trennung).
|
||||
% Da Umlaute direkt als UTF-8 geschrieben werden, ist der Shorthand nicht nötig.
|
||||
\AtBeginDocument{\shorthandoff{"}}
|
||||
|
||||
% --- Hyperlinks ---
|
||||
\usepackage{hyperref}
|
||||
\hypersetup{
|
||||
@@ -61,10 +74,12 @@ $endif$
|
||||
% --- Pandoc compatibility ---
|
||||
\providecommand{\tightlist}{%
|
||||
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||
\providecommand{\passthrough}[1]{#1}
|
||||
|
||||
% --- Absatzformatierung: kein Einzug, sichtbarer Abstand zwischen Absaetzen ---
|
||||
\setlength{\parindent}{0pt}
|
||||
\setlength{\parskip}{0.6\baselineskip}
|
||||
\setlength{\emergencystretch}{3em}
|
||||
|
||||
% --- Section breaks: jede H1 (section) beginnt auf einer neuen Seite ---
|
||||
\let\oldsection\section
|
||||
|
||||
Reference in New Issue
Block a user