I would like to create a document/book/memoir (haven't chosen a class yet) that has completely different content on all the left-hand side pages and different content on all the right-hand side pages.

Ultimately, what I am trying to achieve is to have the actual text on the left-hand side pages and then commentary about the text on the right-hand side pages.

I can also see a similar use if creating a book with dual languages with each language on their own side of the book.

How can I go about setting this up?

PS. I wasn't sure of a proper tag to use for my question.

  • 2
    Take a look at the eledpar or pdfcolparallel packages. (Disclaimer: No personal experience with either.) Some helpful discussion and examples to be found here: tex.stackexchange.com/questions/86366/…
    – Ingmar
    Nov 21, 2020 at 6:34
  • Thank you. I will take a look into both of those. Also, when looking up eledpar I noticed that the reledpar package is now a replacement for it.
    – kojow7
    Nov 21, 2020 at 6:45
  • 1
    The best solution could be very different ( afterpage, flowfram, pdfpages, etc.) depending on what you want to do exactly. You should clarify what with a minimal example all the possible constraints and requirements, e.g., if the comments are interspersed in the source text or in another files, if the right and/or left parts should be in parallel in each at paragraphs, or they can/must have independent text flow within the pages or even between several pages, if the right and/or right parts can have floats, or they are only plain text, etc.
    – Fran
    Nov 21, 2020 at 10:24
  • Someone should also mention paracol, which also supports two page layouts (page 12). Nov 21, 2020 at 15:10
  • @Fran Perhaps it is a bit hard to answer as I do not 100% know what I am after either. However, for the most part I do want to make sure that the commentary on the right matches the text on the left. With that, there might be only a small portion of text to a lot of commentary or a large portion of text to a small bit of commentary. Based on those constraints there may not be a perfect answer. For the most part I am wanting the commentary and the text to line up. I am more okay with having more empty space in the text side than the commentary side.
    – kojow7
    Nov 21, 2020 at 20:15

1 Answer 1


The example below uses a custom macro, that I called \xxxx in a display of imagination (I left as exercise find a better name), using afterpage.


\xxxx{text in left page}{comment in right page}

The comments are conditionally colored to check easily when the comment are shorter that the original text and thus they should not stretch the commented text (always a good idea).

Note that when there are not enough space for the text and/or the comment you should add \newpage twice.



\parindent0pt\parskip 2em   
\afterpage{% shorter comment in blue
\afterpage{% longer comment in red

~\newpage % first odd page 
\xxxx{\lipsum[1][1-10]}{Brief comments  in blue}
\xxxx{\lipsum[2][1-4]}{Boring comments in red. \lipsum[3]}
\xxxx{\lipsum[4][1-6]}{Another boring comment \lipsum[5][1-12]}
\xxxx{\lipsum[6]}{There are a hidden cat here.}

\newpage % Blank page for comments


\newpage % Blank page for comments



But without reinvent the wheel, as commented John Kormylo, paracol is another (better) option:

~ \newpage
\begin{leftcolumn} \lipsum[1][1-2] \end{leftcolumn}
\begin{rightcolumn} \lipsum[2] \end{rightcolumn}
\begin{leftcolumn} \lipsum[3] \end{leftcolumn}
\begin{rightcolumn} \lipsum[4] \end{rightcolumn}
\begin{leftcolumn} \lipsum[5] \end{leftcolumn}
\begin{rightcolumn} \lipsum[6] \end{rightcolumn}
  • You mention that paracol is a better option. Is there anything about your method that would be preferred to paracol's method?
    – kojow7
    Nov 23, 2020 at 15:03
  • Hmm, paracol seems to also repeat the page number twice.
    – kojow7
    Nov 23, 2020 at 15:33
  • @kojow The paracol environment can start and end at any vertical position in a page, is ready to use also in a single page with two columns, take care automatically of the page breaks, can be enclosed in list, tale into accpunt floats, counters, etc., as you can see in the manual of 64 pages, whereas the macro could produce unexpected results in many not tested situations. Repeat the page number is a feature, not bug. Use \begin{paracol}[1]*{2} at least in the last case in the example and you will see pages 1,2,3 instead of 1,2,2.
    – Fran
    Nov 23, 2020 at 21:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .