aboutsummaryrefslogtreecommitdiff
path: root/tex/src/preamble-project.tex
diff options
context:
space:
mode:
Diffstat (limited to 'tex/src/preamble-project.tex')
-rw-r--r--tex/src/preamble-project.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/tex/src/preamble-project.tex b/tex/src/preamble-project.tex
index 16a9ddc..b4fd764 100644
--- a/tex/src/preamble-project.tex
+++ b/tex/src/preamble-project.tex
@@ -5,6 +5,12 @@
%% \cite{} output to follow that of the IEEE.
\usepackage{cite}
+%% To have multiple bibliographies (one for the main paper, one for the
+%% appendix). With 'multibib' we need to specify a name for each
+%% bibliography.
+\usepackage{multibib}
+\newcites{appendix}{Bibliography}
+
%% For the `\url' command.
\usepackage{url}
@@ -51,6 +57,19 @@
+%% 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
+\newcommand{\new}[1]{\textcolor{green!60!black}{#1}}
+\newcommand{\tonote}[1]{\textcolor{red!60!black}{[#1]}}
+\else
+\newcommand{\new}[1]{\textcolor{black}{#1}}
+\newcommand{\tonote}[1]{{}}
+\fi
+
+
+
%% Custom macros
\newcommand{\inlinecode}[1]{\textcolor{blue!35!black}{\texttt{#1}}}