1

I am working on a bilingual document with parallel text, occasionally interupted by monolingual sections (i.e. spanning the whole page width) in between. Each time the parallel text begins, the line I have dividing the columns extends above the top of the text, but is perfectly flush with the bottom. Is there a way I can get the line flush on both ends? The only thing I have figured out to try is to eliminate the space above the paragraph, but this apparently was not the problem. Many thanks in advance.

\documentclass{book}
\usepackage{paracol}

\begin{document}

\setlength{\columnsep}{1em} \setlength{\columnseprule}{0.4pt} \begin{paracol}{2} Accipio. \switchcolumn I do accept it. \end{paracol} \end{document}

enter image description here

MS-SPO
  • 11,519
jejwood
  • 37
  • 1
    it is at the top of the line box If you replaced I by Î your line would not be protuding at the top, if you deleted the p it would be protuding at the bottom as it would still leave space for a descender – David Carlisle Jan 11 '23 at 16:39
  • @DavidCarlisle, I was aware of it extending with the descender (which is actually desirable in my application), but it only does this when there IS a descender. Since there are no diacritics above the capital here (or anywhere in this document), is there a way to bring the line down? – jejwood Jan 11 '23 at 18:33

1 Answers1

1

The first baseline is controlled by \topskip

enter image description here

\documentclass{book}
\usepackage{paracol}

\setlength\textwidth{6cm}%just for demo \begin{document}

\setlength{\columnsep}{1em} \setlength{\columnseprule}{0.4pt} \setlength\topskip{7pt} \begin{paracol}{2} Accipio. \switchcolumn I do accept it. \end{paracol} \end{document}

David Carlisle
  • 757,742
  • This worked excellently in my MWE, thank you! It does nothing in my actual document, however. Could one of these be interfering? \documentclass[14pt]{extbook} [dvipsnames]{xcolor}{ragged2e} {blindtext}[autocompile]{gregoriotex}{multicol}{fontspec}{lettrine}{lmodern}{paracol}{setspace}{anyfontsize}{microtype}{bbding}{graphicx}{stackengine} \setlength\parindent{0pt} \setmainfont{garamond-libre} \pagenumbering{gobble} \setlength{\DefaultNindent}{0pt} \onehalfspacing \usepackage[margin=1in,heightrounded]{geometry} – jejwood Jan 11 '23 at 22:59
  • you have multicol and paracol at same time?anyway feel free to post a new question with a new example you can reference this one. Without an example I can't really say. – David Carlisle Jan 11 '23 at 23:06
  • I had switched from multicol to paracol, and clearly forgot to remove the former, thank you! I will try to come up with a MWE where the fix does not work, and repost. Thanks again for all of your help. – jejwood Jan 11 '23 at 23:15
  • I did as you suggested: https://tex.stackexchange.com/questions/671429/column-separator-extends-above-text-if-the-column-is-not-the-first-item-in-the-d – jejwood Jan 11 '23 at 23:56