Fix xcolor

This commit is contained in:
Théophile Bastian 2016-09-07 22:12:37 +02:00
parent f1cad075f1
commit c4961d148d
2 changed files with 8 additions and 4 deletions

View file

@ -1,7 +1,8 @@
\usepackage{hyperref} \usepackage{hyperref}
\usepackage[dvipsnames]{xcolor} \usepackage{xcolor}
\definecolor{link_blue}{RGB}{0,0,97} \definecolor{link_blue}{RGB}{0,0,97}
\definecolor{cite_green}{HTML}{009B55}
\hypersetup{ \hypersetup{
% bookmarks=true, % show bookmarks bar? % bookmarks=true, % show bookmarks bar?
@ -19,7 +20,7 @@
% pdfnewwindow=true, % links in new PDF window % pdfnewwindow=true, % links in new PDF window
colorlinks=true, % false: boxed links; true: colored links colorlinks=true, % false: boxed links; true: colored links
linkcolor=link_blue, % color of internal links (change box color with linkbordercolor) 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 filecolor=magenta, % color of file links
urlcolor=link_blue % color of external links urlcolor=link_blue % color of external links
} }

View file

@ -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{\qtodo}[1]{\colorbox{orange}{\textcolor{blue}{#1}}}
\newcommand{\todo}[1]{\qtodo{\textbf{TODO:}\.#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}} \newcommand{\note}[1]{\qnote{\textbf{NOTE:}\.#1}}