在以下示例中,环境后有空格。如何消除环境后的空间,以便下部规则与上部规则一样paracol
紧贴环境?paracol
\documentclass[a4paper]{article}
\usepackage{polyglossia}
\usepackage{xcolor}
\usepackage{paracol}
\usepackage{duckuments}
\backgroundcolor{c(1pt,0pt)(1pt,0pt)}[rgb]{0.85,0.95,1}
\newcommand*{\myrule}{\noindent\hfil\rule{0.8\textwidth}{.4pt}\hfil}
\begin{document}
\myrule
\begin{paracol}{2}
\sloppy
\switchcolumn[0]*
\blindduck[1]
\switchcolumn[1]
\blindduck[2]
\end{paracol}
\myrule
\end{document}
答案1
\documentclass[a4paper]{article}
\usepackage{polyglossia}
\usepackage{xcolor}
\usepackage{paracol}
\usepackage{duckuments}
\backgroundcolor{c(1pt,0pt)(1pt,0pt)}[rgb]{0.85,0.95,1}
\newcommand*{\myrule}{\noindent\hfil\rule{0.8\textwidth}{.4pt}\hfil}
\begin{document}
\myrule
\begin{paracol}{2}
\sloppy
\switchcolumn[0]*
\blindduck[1]
\switchcolumn[1]
\blindduck[2]
\end{paracol}
\nointerlineskip\myrule
\end{document}