summaryrefslogtreecommitdiff
path: root/_extensions/js/stylish-issue
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-05-31 22:36:18 +0200
committerJonas Smedegaard <dr@jones.dk>2025-06-07 08:55:45 +0200
commit8dcaf1535b527b56e926d336721356372c21fb3c (patch)
treed619041250a10c04d9ea3718f16c7d885b8d9118 /_extensions/js/stylish-issue
parent65d49d143e482b0ab79fe397da911f870309e823 (diff)
indent (not line-delimit) paragraphs
Diffstat (limited to '_extensions/js/stylish-issue')
-rw-r--r--_extensions/js/stylish-issue/_extension.yaml10
1 files changed, 3 insertions, 7 deletions
diff --git a/_extensions/js/stylish-issue/_extension.yaml b/_extensions/js/stylish-issue/_extension.yaml
index 9d03703..4643088 100644
--- a/_extensions/js/stylish-issue/_extension.yaml
+++ b/_extensions/js/stylish-issue/_extension.yaml
@@ -4,6 +4,7 @@ version: 0.0.1
contributes:
formats:
pdf:
+ indent: true
# links-as-notes: true
colorlinks: false
pdf-engine: lualatex
@@ -20,20 +21,15 @@ contributes:
- text: |
\usepackage[a4paper, margin=0.5in, bottom=1in]{geometry}
\usepackage{multicol}
+ \setlength{\multicolsep}{0pt}
\setlength{\columnsep}{1.5em}
\setlength{\columnseprule}{0.4pt}
-# reduce vertical space after headlines
- - text: |
- \RedeclareSectionCommands[
- runin=false,
- beforeskip=.5\baselineskip,
- afterskip=-1ex]{section,subsection}
# avoid widow headline or definition description
- text: |
\usepackage{needspace}
\let\oldsection\section
\renewcommand{\section}[1]{%
- \needspace{6\baselineskip}
+ \needspace{7\baselineskip}
\oldsection{#1}%
}
\let\olddesc\description