Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

The parrun package places a horizontal line between its two blocks of text (fframe and sframe). There’s an example in this answer: How to use the parrun package.

How can I suppress this line? The blank space between the text blocks is sufficient for my purposes.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

In parrun.sty, five internal commands use the \hrule primitive. Patching these commands with the help of the etoolbox package to remove \hrule seems to do the trick.

\documentclass{article}

\usepackage{parrun}
\usepackage{lipsum}
\usepackage{xcolor}

\usepackage{etoolbox}

\makeatletter
\patchcmd{\b@xbalance}{\hrule}{}{}{}
\patchcmd{\v@idb@xbalance}{\hrule}{}{}{}
\patchcmd{\v@idb@xone}{\hrule}{}{}{}
\patchcmd{\v@idb@xtwo}{\hrule}{}{}{}
\patchcmd{\splitb@x}{\hrule}{}{}{}% relevant for the MWE
\makeatother

\begin{document}
\begin{fframe}
\lipsum[1-2]
\end{fframe}
\begin{sframe}
\color{blue}\lipsum[3-4]
\end{sframe}
\Place*
\end{document}

enter image description here

share|improve this answer
    
Thanks. The last \patchcmd is indeed the crucial one. –  Daniel Harbour Sep 26 '12 at 14:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.