0

I am facing a spacing difference in both the sides of a parallel text, i was not able to find the solution for that how to make equal spacing in both the sides. Here is my MWE

 \documentclass[twoside,letterpaper,11pt,openany]{book}

  \usepackage[margin=1.5cm]{geometry}
  \usepackage[T1]{fontenc}
  \usepackage{titletoc} %%% Table of contents 
  \usepackage{ebgaramond}
  \usepackage{lipsum}
  \usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
  \usepackage{paracol}
  \usepackage{microtype}
  \usepackage{graphicx}
  \usepackage{fancyhdr}
    \pagestyle{fancy}
    \fancyhf{}
    \fancyhead[RO,LE]{\rightmark}
    \fancyhead[LE,RO]{\leftmark} %% display chapter in header
    \renewcommand{\headrulewidth}{.5pt}
    \fancyhead[C]{\thepage} %% To display numbering on every page alternately left and right

  \setlength{\headwidth}{\textwidth}
  \setlength{\headheight}{15pt}
  \setlength{\headsep}{0pt}
  \setlength{\columnseprule}{0pt}
  \usepackage[colorlinks, unicode]{hyperref}

  %%%% End Add
  \makeatletter

  \renewcommand\chaptername{Book}
  \let\ltx@chapter=\chapter
  \let\ltx@paragraph=\paragraph
  \newcommand{\book}[1]{%
    \gdef\currbook{#1}
    \ltx@chapter{#1}}

  \makeatother

 \newcommand{{\jCverse}}{{\transparent{0.02}\jverse{1}}}
  \newcounter{jChapter}
  \newcommand{\jChapter}[1]{
  %\noindent\scalebox{2.5}{\color{red}\textbf{#1}}\noindent
  \noindent{\fontsize{27}{30}\selectfont\color{red}\textbf{#1}}
  \setcounter{jChapter}{#1}
  }  

 \newcommand{\jverse}[1]{\noindent{\fontsize{11}{30}\selectfont\color{cyan}\textbf{#1\hspace{1.0mm}}\noindent}\markboth{\scshape \currbook\ \thejChapter : #1}{} }
  \newcommand{\story}[1]{\vfill\noindent\parbox[t]{\columnwidth}{\centering\it\color{blue}\textbf{#1}}}

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \newcommand{\storygap}{\vfill\ensurevspace{3\baselineskip}\switchcolumn*}% paracol specific code
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  \title{Translation}
  \date{}
  \author{}
  \usepackage{lipsum}
  \usepackage{ragged2e}
  \newcommand{\BookLine}{ \centering\noindent\rule{19cm}{1pt}}
  \newcommand{\BookNote}[1]{{\begin{center} \textbf{KEPACHINI} \justify

  #1
  \end{center}
  \BookLine
  \vspace{2mm}
  }}

  \newcommand{\ParallelLText}[2]{\switchcolumn[0] #1\par \switchcolumn[1] #2\par \switchcolumn*}

  \usepackage[perpage]{footmisc} %%% To restart footnote numbering on every new pages

  \usepackage{multicol,etoolbox}

  \setcounter{tocdepth}{2} %set depth of printed table of contets.

  \makeatletter


  \patchcmd{\l@section}
    {\hfil}
    {\leaders\hbox{\normalfont$\m@th\mkern \@dotsep mu\hbox{.}\mkern \@dotsep     mu$}\hfill}
    {}{}

  \renewcommand\tableofcontents{%
      \begin{multicols}{2}[\section*{\contentsname
          \@mkboth{%
             \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}]%
      \printlist{toc}{}{}
      \thispagestyle{empty}
      \end{multicols}%
      }

  \makeatother %print dots in sections in toc.


 %%% Command to make uppercase for every first letter
 \usepackage{mfirstuc}
 \MFUnocap{are}
 \MFUnocap{or}
 \MFUnocap{etc}

 \newcommand{\athepi}{\textbf{\capitalisewords{Athepi Alamthe Hei Hei}}\\}
 \usepackage{enumitem}
 \usepackage{transparent}


 \begin{document}
 \renewcommand{\thefootnote}{\emph{\alph{footnote}}}

 \frontmatter
 \maketitle
 {\setlength{\columnsep}{130pt}
 \renewcommand{\contentsname}{\hfill\Huge Kechejok Barim\hfill~\\[2.5ex] }
 \startlist{toc}
  \hypersetup{linkcolor=blue}
 \tableofcontents
 }
 \mainmatter

 {\pagenumbering{gobble}
 \part*{\scshape Kechejok Barim}
 }
 \pagenumbering{arabic}  
   \setlength{\columnseprule}{0.5pt}
 \setcounter{page}{1}
 \book{\hfill\color{brown}\fontsize{31}{31}\selectfont Genesis\hfill~}
 \begin{paracol}{2}\sloppy
 \ParallelLText{\jChapter{12}{\jCverse}Israel arat atum ron haisi Jordan anihang alongle cheraidet-lo, Arnon Arlok pen Jordan Arlok karlu an lapen Hermon along anirep antalo. Latum banghini arecho aphan paremlo.  }{\jChapter{12}{\jCverse}Now these are the kings of the land, whom the Israelites defeated, whose land they occupied beyond the Jordan toward the east, from the Wadi Arnon to Mount Hermon, with all the Arabah eastward: }
 \ParallelLText{\jverse{2}Inut ke Sihon, la Amor arecho Heshbon along kepangri abang-lo. La adet Gilead achitim anta parlolo; Aroer(Arnon Arlok angchun) pen halaso arlok achitim arongsopi lapen Jabbok aroi ha Ammon ahoi an;  }{\jverse{2}King Sihon of the Amorites who lived at Heshbon, and ruled from Aroer, which is on the edge of the Wadi Arnon, and from the middle of the valley as far as the river Jabbok, the boundary of the Ammonites, that is, half of Gilead, }
 \ParallelLText{\jChapter{7}{\jCverse}Israel arat atum ron haisi Jordan anihang alongle cheraidet-lo, Arnon Arlok pen Jordan Arlok karlu an lapen Hermon along anirep antalo. Latum banghini arecho aphan paremlo.  }{\jChapter{7}{\jCverse}Now these are the kings of the land, whom the Israelites defeated, whose land they occupied beyond the Jordan toward the east, from the Wadi Arnon to Mount Hermon, with all the Arabah eastward: }

 \end{paracol}
 \end{document}

Here is the output of the above MWE and black line shows the spacing differenceenter image description here

  • 1
    The gap comes from transparent characters (jCverse). Also, every time you end a line with { or } you are adding a space to the text. – John Kormylo Jun 28 at 5:13

Your Answer

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

Browse other questions tagged or ask your own question.