From: Thomas Pietrzak Date: Tue, 26 Mar 2019 10:53:17 +0000 (+0100) Subject: styling X-Git-Tag: first-full-draft~239 X-Git-Url: https://git.thomaspietrzak.com/?a=commitdiff_plain;h=e9f84d1926259c04fa07e6dbfc51ea0aca2ffb2c;p=hdr.git styling --- diff --git a/hdrmain.tex b/hdrmain.tex index af9e830..b8ba8fe 100644 --- a/hdrmain.tex +++ b/hdrmain.tex @@ -115,10 +115,11 @@ \input{tex/conclusion} \backmatter + + \printindex + \bibliographystyle{plain}%alpha-fr} \interlinepenalty=10000 \bibliography{biblio} -\printindex - \end{document} \ No newline at end of file diff --git a/mystyle.sty b/mystyle.sty index eb61af9..2d3e262 100644 --- a/mystyle.sty +++ b/mystyle.sty @@ -24,6 +24,7 @@ \definecolor{subsubsectioncolor}{HTML}{992222} \definecolor{gray75}{rgb}{0.75,0.75,0.75} \definecolor{gray95}{rgb}{0.95,0.95,0.95} +\definecolor{gray90}{rgb}{0.9,0.9,0.9} \definecolor{linkcolor}{HTML}{992222} \usepackage{titlesec} @@ -196,8 +197,11 @@ % Non-italized theorem-like environments: % + +\usepackage{mdframed} + \newtheorem{@definition}{Definition}[chapter] -\newenvironment{definition}{\begin{@definition}\upshape}{\end{@definition}} +\newenvironment{definition}{\begin{mdframed}[backgroundcolor=gray90, linewidth=0pt]\begin{@definition}\upshape}{\end{@definition}\end{mdframed}} \makeatletter \renewcommand{\the@definition}{\arabic{@definition}} \@addtoreset{@definition}{chapter}