
Using KOMA-script for my dissertation, does make me a bit confuse. Reading its manual is a bit daunting since I am a new user of KOMA-Script although I am a self-proclaimed average LaTeX user. Here I will give a guide to create fancy header. I will not explain a lot, just directly put my LaTeX source so that you can get them directly to create a fancy header. Here's the source:
\documentclass{scrreprt}
\usepackage{url}
\usepackage{listings}
\usepackage[usenames,dvipsnames]{color}
\usepackage[T1]{fontenc}
\usepackage{wrapfig}
\usepackage[pdftex]{graphicx}
\usepackage{setspace}
\usepackage[Sonny]{fncychap}
%\usepackage[Bjornstrup]{fncychap}
\usepackage[automark]{scrpage2}
\begin{document}
...
Fancy Header with KOMA-Script