diff options
author | albert-github <albert.tests@gmail.com> | 2019-08-29 16:06:51 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-08-29 16:06:51 (GMT) |
commit | 416ee572ba35b4d0cf30ccca66f0691c658f2e53 (patch) | |
tree | f6ab44585b72c1ac646711059d2356bd4c764308 | |
parent | a3093ff24ec75b70d6d7dc37ca2c7e68f36161fe (diff) | |
download | Doxygen-416ee572ba35b4d0cf30ccca66f0691c658f2e53.zip Doxygen-416ee572ba35b4d0cf30ccca66f0691c658f2e53.tar.gz Doxygen-416ee572ba35b4d0cf30ccca66f0691c658f2e53.tar.bz2 |
Problem with `<hr>` in LaTeX multicolumn cell
Small problem with defining `\hrulefilll`, moved code.
-rw-r--r-- | doc/doxygen_manual.tex | 5 | ||||
-rw-r--r-- | src/latexgen.cpp | 5 | ||||
-rw-r--r-- | templates/latex/doxygen.sty | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/doc/doxygen_manual.tex b/doc/doxygen_manual.tex index 8ff3c66..e350013 100644 --- a/doc/doxygen_manual.tex +++ b/doc/doxygen_manual.tex @@ -66,6 +66,11 @@ \usepackage{doxygen} \usepackage{manual} %% +%gave problems when in doxygen.sty +\makeatletter +\newcommand\hrulefilll{\leavevmode\leaders\hrule\hskip 0pt plus 1filll\kern\z@} +\makeatother +%% % unfortunately constructs like: % \renewcommand{\doxysection}[1]{\doxysubsection{##1}} % using values from book.cls (see also doxygen.sty) and redefining sections to correct level. 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; diff --git a/templates/latex/doxygen.sty b/templates/latex/doxygen.sty index d28554b..83891a5 100644 --- a/templates/latex/doxygen.sty +++ b/templates/latex/doxygen.sty @@ -35,10 +35,6 @@ \endgroup% } -\makeatletter -\newcommand\hrulefilll{\leavevmode\leaders\hrule\hskip 0pt plus 1filll\kern\z@} -\makeatother - \newcommand{\DoxyHorRuler}[1]{% \setlength{\parskip}{0ex plus 0ex minus 0ex}% \ifthenelse{#1=0}% |