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

I use the epigraph package to define the following declaration that looks as follows:

\epigraph{This work has appeared in:}{Max Mustermann, How the Euro will crash.}

That looks then as follows

This work has appeared in:
Max Mustermann, How the Euro will crash.

It does look okay, but I do not like the line in between.

The docu says:

By default, a rule is drawn between the text and source , with the rule thickness being given by the value of \epigraphrule. The value can be changed by using the LaTeX \setlength command. A value of 0pt will eliminate the rule.


I am not too sure where to put this setlength command, e.g.

\epigraph{This work has appeared in:}{Max Mustermann, How the Euro will crash.}

does not work. I get the error: Missing number, treated as zero.

Any idea how to do that properly?

share|improve this question
Welcome! I gather from the question that you're using the epigraph package to generate your epigraphs rather than one of the classes which provide it automatically (e.g., memoir). Would you mind clarifying that in your question for posterity? – Matthew Leingang Nov 29 '10 at 14:37
thanks, i did that – Heinz Nov 29 '10 at 14:50

You can use \setlength it this way:


A complete tiny example, which compiles without error and doesn't show the line:

\epigraph{This work has appeared in:}{Max Mustermann, How the Euro will crash.}
share|improve this answer
Thanks Stefan, I tried to integrate as you mentioned (see above), but still it does not work :(. – Heinz Nov 29 '10 at 14:48
@Heinz: I added a minimal example. You could test that. Perhaps the problem is somewhere else: try to create a minimal example which raises this error. – Stefan Kottwitz Nov 29 '10 at 14:57

Try with


It worked for me :)

share|improve this answer
It might work, but \epigraphrule is a length, so redefining it to be a macro can have unexpected side effects. – egreg Nov 29 '13 at 12:02

Your Answer


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.