fix: wrapping of texts
This commit is contained in:
@@ -2,6 +2,7 @@ from: markdown+smart+fenced_code_blocks+inline_code_attributes+bracketed_spans
|
|||||||
to: pdf
|
to: pdf
|
||||||
# template wird im Makefile als absoluter Pfad übergeben (wegen cd-Aufruf)
|
# template wird im Makefile als absoluter Pfad übergeben (wegen cd-Aufruf)
|
||||||
pdf-engine: pdflatex
|
pdf-engine: pdflatex
|
||||||
|
listings: true
|
||||||
citeproc: true
|
citeproc: true
|
||||||
number-sections: true
|
number-sections: true
|
||||||
standalone: true
|
standalone: true
|
||||||
|
|||||||
@@ -28,6 +28,8 @@
|
|||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage{caption}
|
\usepackage{caption}
|
||||||
\usepackage{subcaption}
|
\usepackage{subcaption}
|
||||||
|
% pandoc 3.x sets \LTcaptype=none for captionless longtables; caption tries to \stepcounter{none}
|
||||||
|
\newcounter{none}
|
||||||
\usepackage{xcolor}
|
\usepackage{xcolor}
|
||||||
\makeatletter
|
\makeatletter
|
||||||
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
|
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
|
||||||
@@ -42,10 +44,21 @@
|
|||||||
% --- Code ---
|
% --- Code ---
|
||||||
\usepackage{fancyvrb}
|
\usepackage{fancyvrb}
|
||||||
\usepackage{listings}
|
\usepackage{listings}
|
||||||
|
\lstset{
|
||||||
|
basicstyle=\ttfamily\small,
|
||||||
|
breaklines=true,
|
||||||
|
breakatwhitespace=false,
|
||||||
|
columns=fullflexible,
|
||||||
|
keepspaces=true,
|
||||||
|
}
|
||||||
$if(highlighting-macros)$
|
$if(highlighting-macros)$
|
||||||
$highlighting-macros$
|
$highlighting-macros$
|
||||||
$endif$
|
$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 ---
|
% --- Hyperlinks ---
|
||||||
\usepackage{hyperref}
|
\usepackage{hyperref}
|
||||||
\hypersetup{
|
\hypersetup{
|
||||||
@@ -61,10 +74,12 @@ $endif$
|
|||||||
% --- Pandoc compatibility ---
|
% --- Pandoc compatibility ---
|
||||||
\providecommand{\tightlist}{%
|
\providecommand{\tightlist}{%
|
||||||
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
||||||
|
\providecommand{\passthrough}[1]{#1}
|
||||||
|
|
||||||
% --- Absatzformatierung: kein Einzug, sichtbarer Abstand zwischen Absaetzen ---
|
% --- Absatzformatierung: kein Einzug, sichtbarer Abstand zwischen Absaetzen ---
|
||||||
\setlength{\parindent}{0pt}
|
\setlength{\parindent}{0pt}
|
||||||
\setlength{\parskip}{0.6\baselineskip}
|
\setlength{\parskip}{0.6\baselineskip}
|
||||||
|
\setlength{\emergencystretch}{3em}
|
||||||
|
|
||||||
% --- Section breaks: jede H1 (section) beginnt auf einer neuen Seite ---
|
% --- Section breaks: jede H1 (section) beginnt auf einer neuen Seite ---
|
||||||
\let\oldsection\section
|
\let\oldsection\section
|
||||||
|
|||||||
Reference in New Issue
Block a user