summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-08-18 17:40:03 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-08-26 08:11:14 (GMT)
commit883989fced827524354297009fde396ca6264a31 (patch)
treec530cc74701278fec2324f13ade49247eb203ce8 /templates
parent5c2b6c294535a0dabe29b5ef311b4975eccb2357 (diff)
downloadDoxygen-883989fced827524354297009fde396ca6264a31.zip
Doxygen-883989fced827524354297009fde396ca6264a31.tar.gz
Doxygen-883989fced827524354297009fde396ca6264a31.tar.bz2
Fixes to support nested tables again
Diffstat (limited to 'templates')
-rw-r--r--templates/html/doxygen.css4
-rw-r--r--templates/latex/doxygen.sty8
2 files changed, 11 insertions, 1 deletions
diff --git a/templates/html/doxygen.css b/templates/html/doxygen.css
index e41b0d7..8383f5a 100644
--- a/templates/html/doxygen.css
+++ b/templates/html/doxygen.css
@@ -832,6 +832,10 @@ address {
color: ##33;
}
+table.doxtable caption {
+ caption-side: top;
+}
+
table.doxtable {
border-collapse:collapse;
margin-top: 4px;
diff --git a/templates/latex/doxygen.sty b/templates/latex/doxygen.sty
index 64fb0f0..803b662 100644
--- a/templates/latex/doxygen.sty
+++ b/templates/latex/doxygen.sty
@@ -11,6 +11,7 @@
\RequirePackage[table]{xcolor}
\RequirePackage{longtable}
\RequirePackage{tabu}
+\RequirePackage{tabularx}
%---------- Internal commands used in this style file ----------------
@@ -421,7 +422,7 @@
\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp}%
\newenvironment{TabularC}[1]%
{\tabulinesep=1mm
-\begin{longtabu} spread 0pt [l]{*#1{|X[-1]}|}}%
+\begin{longtabu} spread 0pt [c]{*#1{|X[-1]}|}}%
{\end{longtabu}\par}%
\newenvironment{TabularNC}[1]%
@@ -444,6 +445,11 @@
\textbf{#1} (\textnormal{#2}\,\pageref{#3})%
}
+% Used to link to a table when hyperlinks are turned on
+\newcommand{\doxytablelink}[2]{%
+ \ref{#1}%
+}
+
% Used to link to a table when hyperlinks are turned off
\newcommand{\doxytableref}[3]{%
\ref{#3}%