Git Product home page Git Product logo

Comments (2)

wspr avatar wspr commented on June 29, 2024

Sorry for the slow reply. I'm afraid this problem is caused by parcolumns and the way that it interacts with list environments; you'll also notice that even after the compilation occurs, the left margin of the parcolumns is incorrect even though adjustwidth attempted to change it.

To get the example compiling without the error, you can write in the preamble

\makeatletter
\g@addto@macro\endparcolumns{\global\@newlistfalse}
\makeatother

but as mentioned above the output will be wrong unless you only want to adjust the RHS margin.

Alternatively, you can also work around the problem by putting everything inside a minipage:

\begin{adjustwidth}{-5em}{5em}
\begin{minipage}{\linewidth}
  \begin{parcolumns}{2}
        \colchunk {\lipsum[8]}   
        \colchunk {\lipsum[9]}   
        \colplacechunks
        \colchunk {\lipsum[5]}   
        \colchunk {\lipsum[11]}   
        \colplacechunks
  \end{parcolumns}
  \end{minipage}
\end{adjustwidth}

(using the lipsum package) but in this case you then cannot break the text over pages, which is arguably even worse than the restriction above.

Sorry for the bad news; I'm afraid that there's nothing to be done, to the best of my knowledge. I suggest petitioning the author of parcolumns to add margin-adustment to his package, where it would be possible to some degree. (Since he has control over where the text chunks get placed on the page.)

from herries-press.

DavidSzwer avatar DavidSzwer commented on June 29, 2024

Thank you,

In the end, using multicols was a good enough work-around for me, but it's good to know that the problem is fundamental to parcolumns rather than a bug at my end. Those hints will be useful for the future, though.

Best regards,

David.

from herries-press.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.