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 am using mdframed in header but line still appears as shown below. How can I remove that line?.

enter image description here Regards

share|improve this question
Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – doncherry Jan 15 '13 at 6:45
isn't it called mdframded? – Rico Jan 15 '13 at 9:22
@Timebandit mdframed ;-) – Harish Kumar Jan 15 '13 at 9:32
@Harish Kumar my bad, it's to early ;-) i'll edit the question maybe we find someone to answer this question afterwards – Rico Jan 15 '13 at 9:35
@Timebandit I doubt that this question gets some answers in its current form :-) – Harish Kumar Jan 15 '13 at 9:51
up vote 6 down vote accepted

Assuming that you are using the fancyhdr to make the header, simply redefine \headrule to do nothing:

share|improve this answer

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.