aboutsummaryrefslogtreecommitdiff
path: root/tex/src
diff options
context:
space:
mode:
Diffstat (limited to 'tex/src')
-rw-r--r--tex/src/preamble-project.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/tex/src/preamble-project.tex b/tex/src/preamble-project.tex
index 9b956cf..6db0afb 100644
--- a/tex/src/preamble-project.tex
+++ b/tex/src/preamble-project.tex
@@ -44,11 +44,13 @@
}
\makeatletter
\preto\lstlisting{\def\@captype{table}}
+\lst@AddToHook{OnEmptyLine}{\vspace{-0.5\baselineskip}}
\pretocmd\lst@makecaption{\noindent{\rule{\linewidth}{1pt}}}{}{}
\makeatother
+
%% Custom macros
\newcommand{\inlinecode}[1]{\textcolor{blue!35!black}{\texttt{#1}}}