aboutsummaryrefslogtreecommitdiff
path: root/tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex')
-rw-r--r--tex/src/preamble-project.tex14
1 files changed, 9 insertions, 5 deletions
diff --git a/tex/src/preamble-project.tex b/tex/src/preamble-project.tex
index b4fd764..6efdfd7 100644
--- a/tex/src/preamble-project.tex
+++ b/tex/src/preamble-project.tex
@@ -57,14 +57,18 @@
-%% Maneage feature for highlighting updates. When this is set, text marked
-%% as \new will be colored in dark green and text that is marked
-%% wtih \tonote will be marked in dark red.
-\ifdefined\highlightchanges
+%% Maneage feature for highlighting changes they can be set activated
+%% directly on the command-line with the '--highlight-new' or
+%% '--highlight-notes' options
+\ifdefined\highlightnew
\newcommand{\new}[1]{\textcolor{green!60!black}{#1}}
-\newcommand{\tonote}[1]{\textcolor{red!60!black}{[#1]}}
\else
\newcommand{\new}[1]{\textcolor{black}{#1}}
+\fi
+
+\ifdefined\highlightnotes
+\newcommand{\tonote}[1]{\textcolor{red!60!black}{[#1]}}
+\else
\newcommand{\tonote}[1]{{}}
\fi