summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/manual.sty7
-rw-r--r--templates/latex/doxygen.sty2
2 files changed, 1 insertions, 8 deletions
diff --git a/doc/manual.sty b/doc/manual.sty
index fd9fd0e..2e85012 100644
--- a/doc/manual.sty
+++ b/doc/manual.sty
@@ -40,10 +40,3 @@
\usepackage{xpatch}
\xpatchcmd{\part}{plain}{empty}{}{}
-% Define caption that is also suitable in a table
-\makeatletter
-\def\doxyfigcaption{%
-\refstepcounter{figure}%
-\@dblarg{\@caption{figure}}}
-\makeatother
-
diff --git a/templates/latex/doxygen.sty b/templates/latex/doxygen.sty
index a1399b1..6c42b2f 100644
--- a/templates/latex/doxygen.sty
+++ b/templates/latex/doxygen.sty
@@ -570,6 +570,6 @@
% Define caption that is also suitable in a table
\makeatletter
\def\doxyfigcaption{%
-\refstepcounter{figure}%
+\H@refstepcounter{figure}%
\@dblarg{\@caption{figure}}}
\makeatother