From 591ee520fa06146c17a60cec43254fc1328c4a80 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Sat, 28 Feb 2026 14:23:23 +0100 Subject: [PATCH] [Style] Make paragraph insert newline --- janishutz-helpers.tex | 8 ++++++++ src/style.sty | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/janishutz-helpers.tex b/janishutz-helpers.tex index 0d47d4f..f3e2115 100644 --- a/janishutz-helpers.tex +++ b/janishutz-helpers.tex @@ -666,6 +666,14 @@ % Same for urls (just one arg tho) \newcommand{\hlurl}[1]{\color{MidnightBlue}\fbox{\url{#1}}\color{black}} +\makeatletter + \renewcommand\paragraph{% + \@startsection{paragraph}{4}{0mm}% + {-\baselineskip}% + {.5\baselineskip}% + {\normalfont\normalsize\bfseries}} + \makeatother + % ___ _ _____ _ _ % ( _ \ _( ) (_ _) ( ) ( ) diff --git a/src/style.sty b/src/style.sty index b149533..e460c7a 100644 --- a/src/style.sty +++ b/src/style.sty @@ -80,3 +80,11 @@ % Same for urls (just one arg tho) \newcommand{\hlurl}[1]{\color{MidnightBlue}\fbox{\url{#1}}\color{black}} + +\makeatletter + \renewcommand\paragraph{% + \@startsection{paragraph}{4}{0mm}% + {-\baselineskip}% + {.5\baselineskip}% + {\normalfont\normalsize\bfseries}} + \makeatother