summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-08-29 16:06:51 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-08-29 16:06:51 (GMT)
commit416ee572ba35b4d0cf30ccca66f0691c658f2e53 (patch)
treef6ab44585b72c1ac646711059d2356bd4c764308 /src/latexgen.cpp
parenta3093ff24ec75b70d6d7dc37ca2c7e68f36161fe (diff)
downloadDoxygen-416ee572ba35b4d0cf30ccca66f0691c658f2e53.zip
Doxygen-416ee572ba35b4d0cf30ccca66f0691c658f2e53.tar.gz
Doxygen-416ee572ba35b4d0cf30ccca66f0691c658f2e53.tar.bz2
Problem with `<hr>` in LaTeX multicolumn cell
Small problem with defining `\hrulefilll`, moved code.
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index e6c6861..1792f15 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -623,6 +623,11 @@ static void writeDefaultHeaderPart1(FTextStream &t)
"}\n"
"\\makeatother\n"
"\n";
+ //
+ t << "\\makeatletter\n"
+ "\\newcommand\\hrulefilll{\\leavevmode\\leaders\\hrule\\hskip 0pt plus 1filll\\kern\\z@}\n"
+ "\\makeatother\n"
+ "\n";
// Headers & footers
QGString genString;