Turns out, I think this is a bug in how doxygen handles horizontal rules for
PDF.
I noticed that the first couple of paragraphs in my document had spaces between
them, but then I used a horizontal rule and everything after that was jammed
together.
Investigating further, the default doxygen.sty file includes
\newcommand{\DoxyHorRuler}{%
\setlength{\parskip}{0ex plus 0ex minus 0ex}%
\hrule%
}
And apparently that affects all paragraphs after the horizontal rule. I don'
think it should do that -- maybe that's a doxygen bug?
Anyway, if I remove the horizontal rule, I get spaces between all my
paragraphs. And then if I change the parskip settings in a custom header.tex,
those changes get used in the document. For now, my workaround is to live
without the horizontal rule.
On 12/16/2019 11:43 AM, Leonardo Pereira Santos wrote:
DonM,
I believe this is more of a LaTeX question, as you said that you can see the
tex output being updated from your header. If I were in your shoes I would try
LaTeX-specific resources, like TeX Exchange. That's where I usually get my
questions answered.
Have you tried to use the parskip package?
\documentclass[parskip=full]{scrartcl}
From here:
https://tex.stackexchange.com/questions/49188/how-to-insert-vertical-space-between-paragraphs
Cheers!
-----Original Message-----
From: DonM <[email protected]>
Sent: December 16, 2019 1:18 PM
To: [email protected]
Subject: [Doxygen-users] Paragraph spacing in PDF output
[External Email]: This email arrived from an external source - Please exercise
caution when opening any attachments or clicking on links.
When I produce PDF output from doxygen (v1.8.16), there is no additional
spacing between paragraphs. That is, the space between paragraphs is the same
as the space between lines in a paragraph. Is this normal?
The default header.tex file specifies
\newcommand{\doxynormalparskip}{\setlength{\parskip}{3ex plus 2ex minus
2ex}}
which looks like it would produce a pretty normal 12pt space between paragraphs. I tried a custom
header where I changed that "3ex" to "6ex". This change was propagated to the
produced refman.tex file, but there was no visible change to the PDF output, so I don't think that
was the right thing to do.
Any suggestions for how to change this? Thanks, DonM
_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users