From 8bcd383ba84f411223d7b1fc4d89091f05e9b010 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Fri, 25 Sep 2026 10:16:16 +0200 Subject: [PATCH] feat: add epigraph --- src/core.sty | 1 + src/style.sty | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/src/core.sty b/src/core.sty index 166e9d4..8971022 100644 --- a/src/core.sty +++ b/src/core.sty @@ -30,6 +30,7 @@ \RequirePackage{titlesec} \RequirePackage{centernot} \RequirePackage{todonotes} +\RequirePackage{epigraph} \RequirePackage{bm} \newcounter{descriptorShadeStrength} diff --git a/src/style.sty b/src/style.sty index 860ba3a..d7c7487 100644 --- a/src/style.sty +++ b/src/style.sty @@ -30,6 +30,11 @@ \newcommand{\bi}[1]{\textbf{\textit{#1}}} \renewcommand{\quote}[1]{``\textit{#1}''} +% Epigraph (quotes) +\setlength\epigraphwidth{0.5\columnwidth} +\renewcommand{\epigraphflush}{center} +\newcommand{\fancyquote}[2]{\epigraph{``#1''}{\textit{\textendash\ #2}}} + % Add a color shade (similar to \fhlc, but nicer boxes) \newcommand{\background}[3]{% \tcbox[on line,