From c4961d148d594c1c884619d67f42178e18a4fe43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Wed, 7 Sep 2016 22:12:37 +0200 Subject: [PATCH] Fix xcolor --- report/my_hyperref.sty | 5 +++-- report/todo.sty | 7 +++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/report/my_hyperref.sty b/report/my_hyperref.sty index c1a74a9..4091de8 100644 --- a/report/my_hyperref.sty +++ b/report/my_hyperref.sty @@ -1,7 +1,8 @@ \usepackage{hyperref} -\usepackage[dvipsnames]{xcolor} +\usepackage{xcolor} \definecolor{link_blue}{RGB}{0,0,97} +\definecolor{cite_green}{HTML}{009B55} \hypersetup{ % bookmarks=true, % show bookmarks bar? @@ -19,7 +20,7 @@ % pdfnewwindow=true, % links in new PDF window colorlinks=true, % false: boxed links; true: colored links linkcolor=link_blue, % color of internal links (change box color with linkbordercolor) - citecolor=ForestGreen, % color of links to bibliography + citecolor=cite_green, % color of links to bibliography filecolor=magenta, % color of file links urlcolor=link_blue % color of external links } diff --git a/report/todo.sty b/report/todo.sty index 068c3e0..1f6db25 100644 --- a/report/todo.sty +++ b/report/todo.sty @@ -1,6 +1,9 @@ -\usepackage[dvipsnames]{xcolor} +\usepackage{xcolor} + +\definecolor{note_text}{HTML}{671800} +\definecolor{note_back}{HTML}{00A2E3} \newcommand{\qtodo}[1]{\colorbox{orange}{\textcolor{blue}{#1}}} \newcommand{\todo}[1]{\qtodo{\textbf{TODO:}\.#1}} -\newcommand{\qnote}[1]{\colorbox{Cerulean}{\textcolor{Sepia}{[#1]}}} +\newcommand{\qnote}[1]{\colorbox{note_back}{\textcolor{note_front}{[#1]}}} \newcommand{\note}[1]{\qnote{\textbf{NOTE:}\.#1}}