Skip to content

Commit

Permalink
Implementing <hr> for LaTeX
Browse files Browse the repository at this point in the history
In LaTeX the `<hr>` was implemented as a"new paragraph", now as a horizontal line.
  • Loading branch information
albert-github committed Jan 5, 2019
1 parent 5d66d2e commit dbddf36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/latexdocvisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions templates/latex/doxygen.sty
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
\endgroup%
}

\newcommand{\DoxyHorRuler}{%
\setlength{\parskip}{0ex plus 0ex minus 0ex}%
\hrule%
}
\newcommand{\DoxyLabelFont}{}
\newcommand{\entrylabel}[1]{%
{%
Expand Down

0 comments on commit dbddf36

Please sign in to comment.