如何避免乳胶文档中的间距过大

如何避免乳胶文档中的间距过大

如何避免 latex 文档中的多余空格,这里我面对的是 到 之间的空格.Kadokave我正在写大量这样的文本,假设它也可能出现在其他行中。这是我的 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}


 \makeatletter
 \newcommand\versenumcolor{red}
  \newcommand\chapnumcolor{red}
  \renewcommand\paragraph{%
    \@startsection{paragraph}{4}{\z@}%
            {.25ex \@plus.25ex \@minus.1ex}%
            {-.5em}%
            {\normalfont\normalsize\bfseries\color{\versenumcolor}}}%
  \newlength{\biblechapskip}
  \setlength{\biblechapskip}{1em plus .33em minus .2em}
 \newcounter{biblechapter}
 \newcounter{bibleverse}[biblechapter]
 \renewcommand\chaptername{Book}
 \let\ltx@chapter=\chapter
 \let\ltx@paragraph=\paragraph
 \newcommand{\book}[1]{%
  \gdef\currbook{#1}
  \ltx@chapter{#1}}
 \newcount\biblechap@svdopt
 \newenvironment{biblechapter}[1][\thebiblechapter]
  {\biblechap@svdopt=#1
  \ifnum\c@biblechapter=\biblechap@svdopt\else
\advance\biblechap@svdopt by -1\fi
  \setcounter{biblechapter}{\the\biblechap@svdopt}
   \refstepcounter{biblechapter}
   \lettrine{\color{\chapnumcolor}\lower-6pt\hbox{\thebiblechapter}}{}\ignorespaces}
   {\vspace{\biblechapskip}}
  \renewcommand{\verse}[1][\thebibleverse]{%
  \refstepcounter{bibleverse}
  \markright{{\scshape\currbook} \thebiblechapter:\thebibleverse}
  \ifnum\c@bibleverse=1\else
  \ltx@paragraph*{#1}\fi}%
  \makeatother

 \newcounter{jChapter}
 \newcommand{\jChapter}[1]{
 \noindent\scalebox{2.5}{\color{red}\textbf{#1}\hspace{0.3mm}}
 \setcounter{jChapter}{#1}
 }  
 \newcommand{\jverse}[1]{\noindent\textcolor{cyan}{\scalebox{1.0}{\textbf{#1\hspace{1.0mm}}}}\markboth{\scshape\currbook\ \thejChapter : #1}{} }
\newcommand{\story}[1]{\vfill\centering\it\textbf{#1}}



 \title{Tanslation}
 \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]{\begin{paracol}{2}\sloppy \switchcolumn[0]\noindent  #1 \switchcolumn[1]\noindent #2 \end{paracol}}

 \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.



 \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}{.5pt}
 \setcounter{page}{1}

 \setlength{\columnseprule}{0pt}

 \clearpage
 \setcounter{page}{1}


 {\pagestyle{empty}
 {\pagenumbering{gobble}
 \part*{\scshape Kechejok Kemi}
 }

 \frontmatter
 \setlength{\columnsep}{130pt}
 \renewcommand{\contentsname}{\hfill\Huge Kechejok Kemi\hfill~\\[2.0em]}
 \startlist{toc}
  \hypersetup{linkcolor=blue}
 \tableofcontents

 \mainmatter
 }


 \setlength{\columnseprule}{.5pt}
 \book{KK}  
 \ParallelLText{\jverse{43}Kadokave atum Arnam ajakong pen apot manghuhak-lo. Kadokave atum Jisu keklembom akam aphan kemanghuphrong ahut alangli asangho atum aphan pulo.  }{\jverse{43}And all were astounded at the greatness of God. While everyone was amazed at all that he was doing, he said to his disciples, }
 \end{document}

在此处输入图片描述

相关内容