TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 3 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.