diff options
author | Camil Staps | 2016-10-23 16:01:46 +0200 |
---|---|---|
committer | Camil Staps | 2016-10-23 16:01:46 +0200 |
commit | 62a8e11741ca6d5dcbcb164fc23606278240e10c (patch) | |
tree | 98eb522f8b432b647d0d1ca7c509ee5586109f03 /handouts.sty | |
parent | Finish Kemmer (diff) |
Switch to XeLaTeX
Diffstat (limited to 'handouts.sty')
-rw-r--r-- | handouts.sty | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/handouts.sty b/handouts.sty index d514362..78d2afe 100644 --- a/handouts.sty +++ b/handouts.sty @@ -1,3 +1,7 @@ +\RequirePackage{xcolor} +\definecolor{ideacolor}{HTML}{d1713e} +\definecolor{criticismcolor}{HTML}{d1713e} + % Define ifsolutions only if it is not defined yet (see Makefile) \@ifundefined{ifshowpagenrs}{% \newif\ifshowpagenrs @@ -23,18 +27,15 @@ \newcommand{\pagenrStyle}{\small\color{darkgray}} \newcommand{\criticismStart}{\emph{Criticism:} } -\newcommand{\criticismStyle}{\color{RedOrange}} +\newcommand{\criticismStyle}{\color{criticismcolor}} \newcommand{\ideaStart}{\emph{Idea:} } -\newcommand{\ideaStyle}{\color{RedOrange}} +\newcommand{\ideaStyle}{\color{ideacolor}} \newcommand{\noteStyle}{\color{gray}} \newcommand{\termStyle}{\it} -\PassOptionsToPackage{dvipsnames}{xcolor} -\RequirePackage{xcolor} - \newcommand{\pagenr}[1]{% \ifshowpagenrs\begingroup\pagenrStyle\enspace(p. #1)\endgroup\fi} \newcommand{\pagenrs}[1]{% @@ -47,7 +48,9 @@ \parnote{\enspace(#1)}} \newcommand{\criticism}[1]{% \ifshowcriticism\begingroup\criticismStyle\criticismStart{}#1\endgroup\fi} +\newcommand{\plainIdea}[1]{% + \ifshowideas\begingroup\ideaStyle#1\endgroup\fi} \newcommand{\idea}[1]{% - \ifshowideas\begingroup\ideaStyle\ideaStart{}#1\endgroup\fi} + \ifshowideas\plainIdea{\ideaStart{}#1}\fi} \newcommand{\term}[1]{% \begingroup\termStyle #1\endgroup} |