I have a LaTeX document that contains something similar to the code below. When I compile with pdflatex on Windows and Linux, there is extra vertical space just before the \paragraph command on the Linux version.

  \hrule height 1pt
    {\Large \textbf{My Document}}
  \hrule height 1pt


  \paragraph{My Paragraph} $ $

  Lorem ipsum...

I can fix the Linux version by doing something like this:

  \paragraph{My Paragraph} $ $

After doing that the resulting pdfs are identical. Is there a reason for this discrepancy?

  • 1
    Welcome to TeX-SE! Do you have the same versions (version numbers) of your LaTeX installation on Windows and Linux? – user121799 May 19 at 21:44
  • I have pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) for Linux and I'm not sure at the moment about Windows because I am not at that work station. – redmoncoreyl May 19 at 22:35
  • the difference will not be related to windows/linux and is unlikely to be related to the version of pdftex, but you will have different version of some macro definitions, provide a small complete document that shows the difference and add \listfiles showing the file list on each system as reported in the log – David Carlisle May 19 at 23:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.