I'm currently formatting an ebook and hit a slight problem. Assume the following wanted layout:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur vehicula,
ipsum accumsan sollicitudin mollis, leo est porttitor lacus, id facilisis
tellus lacus blandit metus. Aenean imperdiet in eros facilisis mollis.
Great-grandson of Alexios III Son of Michael VIII
Son and co-ruler of Andronikos II Son of Michael IX
Son of Andronikos III Son of John V
Aliquam quam eros, eleifend vel erat ut, eleifend laoreet quam. Phasellus
euismod ex pellentesque lacus auctor, malesuada efficitur nunc pharetra.
Aliquam ut condimentum neque. Suspendisse ornare nibh non nisi pharetra,
ac porttitor sapien venenatis. Suspendisse potenti.
Text is justified, two columns, both contain left-aligned text but the second column is aligned at the right page border.
Here is a demonstration of my current solution using a table:
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur vehicula,
ipsum accumsan sollicitudin mollis, leo est porttitor lacus, id facilisis
tellus lacus blandit metus. Aenean imperdiet in eros facilisis mollis.</p>
<table>
<tr>
<td>Great-grandson of Alexios III</td>
<td>Son of Michael VIII</td>
</tr>
<tr>
<td>Son and co-ruler of Andronikos II</td>
<td>Son of Michael IX</td>
</tr>
<tr>
<td>Son of Andronikos III</td>
<td>Son of John V</td>
</tr>
</table>
<p>Aliquam quam eros, eleifend vel erat ut, eleifend laoreet quam. Phasellus
euismod ex pellentesque lacus auctor, malesuada efficitur nunc pharetra.
Aliquam ut condimentum neque. Suspendisse ornare nibh non nisi pharetra,
ac porttitor sapien venenatis. Suspendisse potenti.</p>
p {
text-align: justify;
}
table {
width: 100%;
}
table td {
white-space: nowrap;
}
table tr > td:first-child {
width: 100%;
}
However, that has the serious downside of behaving very poorly when the font-size increases and/or the display width decreases. The nowrap of the content makes it impossible to read in these circumstances as the lines will never be wrapped and instead start to overlap each other and/or getting pushed out-of-bounds.
Is there a solution to have such a layout but with wrapping of the content to accommodate larger fonts and smaller displays which will work with ebook readers? Ideally it should also preserve the order of items (left-right, top-bottom) for text-to-speech software, not just visually.

Imagine something like that. That way they will preserve the order for the
text-to-speechsoftware and will make it readable without the need for side-scrolling.To test it in the code snippet you can resize the window to be more narrow on desktop or open it on mobile.