Skip to content

Commit 0fc7561

Browse files
committed
Prevent page break in doxygen parameter table after head.
Prevent page break after the top line plus accompanying horizontal line in a doxygen parameter like type of table.
1 parent 402fef1 commit 0fc7561

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/latex/doxygen.sty

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,8 @@
478478
{vline{1-Z}={2-Z}{solid},% show vertical lines for all rows except the first
479479
measure=vbox,% needed to allow nested lists and tables
480480
colspec=\DoxyTableColSpec}}% set column type for all columns
481-
\SetCell[c=#1]{l} \tf{#3} \\[1ex]%
482-
\hline%
481+
\SetCell[c=#1]{l} \tf{#3} \\\nopagebreak%
482+
\hline\nopagebreak%
483483
#4
484484
\end{longtblr}%
485485
\par\addvspace{6pt}%

0 commit comments

Comments
 (0)