4

I've used LaTeX for a while to write math articles, so I have a general idea how to use it, but I've never had to make my own document class, environment, or package.

I want to write a short story told from the two main characters' points of view, one appearing only of the left page and one only on the right. These two characters will each have their own formatting, which I assume I will be done using environments. Additionally, I would like to force certain paragraphs to line up and appear on opposite pages (e.g., when both authors are writing about the same event) using markers of some sorts.

I have no idea where I would even start with this, so my questions are:

  1. How do I set up an two environments so they appear only on opposite pages?
  2. And how do I set up markers to help align certain paragraphs or sections?
3

The parallel package defines a Parallel environment, with a ‘p’ option, and \ParallelLText, ParallelRText, \ParallelPar which should do what you want if it's only text.

  • It seem like it'd be a bit of a hack to get my environments nested inside of this one, and feel like there might be a more clean way to do this. But, this is a good start. Thanks. – Eric Hartsuyker Jan 24 '14 at 0:33
  • Bernard, in the moment this is more a comment. Could you, please, add some content, for instance a \newenvironment definition? Note also pdfcolparallel from the oberdiek bundle, which makes several patches for parallel (andloads this in background before). – Speravir Jan 24 '14 at 2:00
  • 1
    @EricHartsuyker: Nothing needs to be nested here, it depends only on the environment definition. You can start the parallel environment inside of your definition. You only must know then, that you have to use the special commands inside of your environment. – Speravir Jan 24 '14 at 2:04

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.