X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=preamble.tex;h=9dbdfe61557dc71e7135ce7c5363981f8b6bb664;hb=fee9c0b9355b18bc2d07db1fd83407003d4000e2;hp=a14abeffa766b618b61e47e95df5c707f5697b1a;hpb=20e228ca78d3de0bf35b4bcac769b119754d70f6;p=phd-thesis.git diff --git a/preamble.tex b/preamble.tex index a14abef..9dbdfe6 100644 --- a/preamble.tex +++ b/preamble.tex @@ -116,7 +116,12 @@ \def\part@nostar@nopt#1{\NR@gettitle{#1}\titlesec@part{#1}} \def\part@nostar@opt[#1]#2{\NR@gettitle{#1}\titlesec@part[#1]{#2}} \makeatother -\newenvironment{chapterabstract}{\begin{quotation}\em}{\end{quotation}} %chktex 6 + +\usepackage{framed} +%\newenvironment{chapterabstract}{\begin{quotation}\em\noindent}{\end{quotation}} %chktex 6 +\definecolor{lstbg}{gray}{.95} +\definecolor{shadecolor}{named}{lstbg} +\newenvironment{chapterabstract}{\begin{shaded}\em\noindent}{\end{shaded}} %chktex 6 % Increase the depth for the table of contents \setcounter{secnumdepth}{3} @@ -189,7 +194,8 @@ columns=[c]fixed, commentstyle=\sl, escapeinside={[+}{+]}, % chktex 9 - frame=L, + frame=, + backgroundcolor=\color{lstbg}, keepspaces=true, keywordstyle=\bf, postbreak=\mbox{\textcolor{gray}{$\hookrightarrow$}\space},