From dbddf36cd10c3e6cd9419a08d688f8cbfd57f9c3 Mon Sep 17 00:00:00 2001 From: albert-github Date: Sat, 5 Jan 2019 13:08:19 +0100 Subject: Implementing `
` for LaTeX In LaTeX the `
` was implemented as a"new paragraph", now as a horizontal line. --- src/latexdocvisitor.cpp | 2 +- templates/latex/doxygen.sty | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/latexdocvisitor.cpp b/src/latexdocvisitor.cpp index 5be3fc9..98324e3 100644 --- a/src/latexdocvisitor.cpp +++ b/src/latexdocvisitor.cpp @@ -280,7 +280,7 @@ void LatexDocVisitor::visit(DocLineBreak *) void LatexDocVisitor::visit(DocHorRuler *) { if (m_hide) return; - m_t << "\n\n"; + m_t << "\\DoxyHorRuler\n"; } void LatexDocVisitor::visit(DocStyleChange *s) diff --git a/templates/latex/doxygen.sty b/templates/latex/doxygen.sty index cf92712..e696837 100644 --- a/templates/latex/doxygen.sty +++ b/templates/latex/doxygen.sty @@ -35,6 +35,10 @@ \endgroup% } +\newcommand{\DoxyHorRuler}{% + \setlength{\parskip}{0ex plus 0ex minus 0ex}% + \hrule% +} \newcommand{\DoxyLabelFont}{} \newcommand{\entrylabel}[1]{% {% -- cgit v0.12