[Tex/LaTex] How to obtain absolutely fixed line spacing

eledmaceledparline-spacingvertical alignment

I use Xetex with eledmac and eledpar to produce a bilingual document with facing pages. I add some endnotes only inside the even pages.

I have a problem with corresponding paragraphs (one on the left page, one on the right page), not exactly horizontally aligned. I discovered the source of the problem. Because of the footnote references, which appear as exponent numbers, LaTeX automatically extend, just a little, the line spacing for the lines where there is exponent characters. The eledpar package seems not to take into account this additional line spacing. As a result, there is a ugly very small shift in the horizontal alignment.

Exemple:

\documentclass[10pt]{book}
\usepackage{blindtext}
\usepackage{eledmac}
\usepackage{eledpar}
\begin{document}
\begin{pages}

\begin{Leftside}
\beginnumbering
    \pstart
qqqq qqqqq qqqq qqqq qqqqq qqq qqq qqq qqqqqqq qqqqqqq qqqq qqqqq qqqqqq$^d$$^d$$^d$$^d$qqqqqqq qqqqqqqq qqqqqqqqq

    \pend
            \pstart
\blindtext[1]
    \pend
\endnumbering
\end{Leftside}
\begin{Rightside}
\beginnumbering
  \pstart
qqqq qqqqq qqqq qqqq qqqqq qqq qqq qqq qqqqqqq qqqqqqq qqqq qqqqq qqqqqqddddqqqqqqq qqqqqqqq qqqqqqqqq
    \pend
            \pstart
\blindtext[1]

    \pend
\endnumbering
\end{Rightside}
\end{pages}
\Pages
\end{document}

You can see that the second paragraphs are not perfectly horizontally aligned.

Is it possible in LaTeX to disable these automatic line-spacing-stretching, in order to obtain absolutely fixed line spacing? Or can I avoid my problem by another way?

Best Answer

At least with your MWE you can solve it by setting lineskip to zero (without having to set a higher baselineskip as suggested in another comment).

\documentclass[10pt]{book}
\usepackage{blindtext}
\usepackage{eledmac}
\usepackage{eledpar}
\setlength{\lineskip}{0pt}%<======== here
\begin{document}
\begin{pages}

\begin{Leftside}
\beginnumbering
    \pstart
qqqq qqqqq qqqq qqqq qqqqq qqq qqq qqq qqqqqqq qqqqqqq qqqq qqqqq qqqqqq$^d$$^d$$^d$$^d$qqqqqqq qqqqqqqq qqqqqqqqq

    \pend
            \pstart
\blindtext[1]
    \pend
\endnumbering
\end{Leftside}
\begin{Rightside}
\beginnumbering
  \pstart
qqqq qqqqq qqqq qqqq qqqqq qqq qqq qqq qqqqqqq qqqqqqq qqqq qqqqq qqqqqqddddqqqqqqq qqqqqqqq qqqqqqqqq
    \pend
            \pstart
\blindtext[1]

    \pend
\endnumbering
\end{Rightside}
\end{pages}
\Pages
\end{document}