diff --git a/Doxyfile b/Doxyfile
index 61797975080ab2853dad0b3bf548083c2732dcc5..9cc78922ad7cfd974773b4455e614435cb0b011d 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -1753,7 +1753,7 @@ FORMULA_FONTSIZE       = 10
 # to create new LaTeX commands to be used in formulas as building blocks. See
 # the section "Including formulas" for details.
 
-FORMULA_MACROFILE      =
+FORMULA_MACROFILE      = doc/macros.tex
 
 # Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
 # https://www.mathjax.org) which uses client side JavaScript for the rendering
@@ -1810,8 +1810,8 @@ MATHJAX_RELPATH        =
 
 # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
 # extension names that should be enabled during MathJax rendering. For example
-# for MathJax version 2 (see https://docs.mathjax.org/en/v2.7-latest/tex.html
-# #tex-and-latex-extensions):
+# for MathJax version 2 (see
+# https://docs.mathjax.org/en/v2.7-latest/tex.html#tex-and-latex-extensions):
 # MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
 # For example for MathJax version 3 (see
 # http://docs.mathjax.org/en/latest/input/tex/extensions/index.html):
@@ -2265,10 +2265,6 @@ DOCBOOK_OUTPUT         = docbook
 
 GENERATE_AUTOGEN_DEF   = NO
 
-#---------------------------------------------------------------------------
-# Configuration options related to Sqlite3 output
-#---------------------------------------------------------------------------
-
 #---------------------------------------------------------------------------
 # Configuration options related to the Perl module output
 #---------------------------------------------------------------------------
diff --git a/doc/macros.tex b/doc/macros.tex
new file mode 100644
index 0000000000000000000000000000000000000000..472a00913b9c372652346d90f72f65348485d01e
--- /dev/null
+++ b/doc/macros.tex
@@ -0,0 +1 @@
+\newcommand{\deriv}[3]{\left(\frac{\partial #1}{\partial #2}\right)_{#3}}
\ No newline at end of file