5

This question led to a new vesion 1.32 of paracol package.

Basically I want to use the paracol package to set bilingual texts including figures & tables, some of them should span two columns.

Figures & tables spanning one column work perfect, but with figure* and table* environments spanning two columns, the right column get corrupted. The space needed isn't considered in the right column, resulting in overlapping text with figures*|tables*

MWE, which is based on "tcolorbox Spanning Two Columns in {paracol} Environment" and paracol-man:

\documentclass[10pt,twoside,a4]{article}

\usepackage[latin,english]{babel} % proper  multilingual hyphenation
\usepackage{lipsum}
\usepackage{graphicx} % include images
\usepackage{paracol} % multilingual documents

\begin{document}\sloppypar

\begin{paracol}{2}

\lipsum[1]
\lipsum[2]
\begin{figure*}
 \def\arraystretch{0.8}
 \centerline{\begin{tabular}[b]{|c|}\hline
 \hbox to.9\textwidth{}\\ \\ \\
 double-column figure \#1\\ \\ \\
 \\\hline
 \end{tabular}}
 \caption{A Double-Column Figure}
\end{figure*}
\lipsum[3]
\lipsum[4]

\switchcolumn

\lipsum[5]
\lipsum[6]
\lipsum[7]
\lipsum[8]

\end{paracol}
\end{document}

Resulting in (top of pg 2):

top of page 2

BTW: same effect, if I'm running the MWE of "tcolorbox Spanning ..."

enter image description here

Summary: I try to understand my issue by using examples I found here, on my computer, always resulting in the same difference: in the right column, the space which should be used for star environments isn't allocated. (using LateX since 1997).

I'm using a fresh install of MiKTeX 2.9

Thanks for any answer, Marcus

  • This is the expected behaviour. If you want something different, then you have to work around it. Here you can break the paracol environment to set the two-column figure, or you can line up the two columns and leave the gap manually. Either would work, but it's not clear from your example how you intend to provide bilingual content if they don't match up. – Werner Oct 8 '15 at 21:19
  • 3
    @Werner I think this is a bug. It works fine with TeX Live 2014 but not 2015. Should it be reported to the package maintainer, do you think? Or am I missing something? (I don't know this package at all - I just compared the 2014 and 2015 output for a test case.) – cfr Oct 8 '15 at 22:49
  • 1
    @OP What do you mean that this happens with any LaTeX from 1997 or later? – cfr Oct 8 '15 at 22:52
  • 4
    internal latex commands \end@dblfloat and \@dblfloatplacement are changed since v1.2b 2015/01/11 make paracol no more compatible with new format (in this point). – touhami Oct 9 '15 at 9:23
  • 1
    @touhami: That's worth to be the answer, in my point of view! – user31729 Oct 9 '15 at 11:14
5

I'm Hiroshi Nakashima, the author of paracol. I got a message from Marcus today to know an embarrassing change in double-float processing had been made in the latest LaTeX implementation after its stable work for about 30 years to make my paracol unable to work with it. Fortunately, I could make a quick fix of the problem to have paracol v1.32 to be released soon (hopefully). I'd like to thank personally to touhami for his/her help by pointing out the change in double-float processing and its impact to paracol. I hope touhami will contact me so that I express my thanks in "Acknowledgments" of the paracol manual with his/her name.

  • Welcome! I've pinged touhami above to draw attention to your request here. (I think you probably don't have enough reputation to do this yet yourself, but I'll vote this up to get you a bit closer!) – cfr Oct 10 '15 at 12:52
  • Done, good continuation :-) – touhami Oct 10 '15 at 13:16
  • @Hiroshi Nakashima Dear Hiroshi, really thanks a lot for your efforts, to provide us a fix, caused by the change of double-float processing inside the core! Your fix works perfectly!!! – Marcus Zelezny Oct 10 '15 at 14:24
  • @touhami thanks also to you, to find the reason for my issue! – Marcus Zelezny Oct 10 '15 at 14:26
  • Hiroshi just released his new version 1.32 on CTAN - thx++ – Marcus Zelezny Oct 12 '15 at 17:38

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.