updates
[phd-thesis.git] / preamble.tex
index a14abef..9dbdfe6 100644 (file)
 \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}
        columns=[c]fixed,
        commentstyle=\sl,
        escapeinside={[+}{+]},  % chktex 9
-       frame=L,
+       frame=,
+       backgroundcolor=\color{lstbg},
        keepspaces=true,
        keywordstyle=\bf,
        postbreak=\mbox{\textcolor{gray}{$\hookrightarrow$}\space},