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 have set up the acknowledgement part as follows:

Thanks Mum.

But then, the header is missing, except the line at the top is appeared. As I want to make it standardized with the rest of the part of my document, I need to, by any means, include the header. When I search in the latex code or setting, there is no such like \usepackage{fancyhdr} is used. I used a template found somewhere actually, and my question is how to add such a header.


I found, perhaps, the part that configures the header. Nevertheless, I don't know how to customize it in order for it to affect on the newly added acknowledgement part as well. The part is as below(options.tex):




\clubpenalty = 10000
\widowpenalty = 10000
\displaywidowpenalty = 10000

In main latex code:






\newcommand{\TODO}[1]{\textcolor{red}{\texttt{TODO: #1}}\\} 
\newcommand{\QUESTION}[1]{\textcolor{blue}{\texttt{Question: #1}}\\} 




} {




share|improve this question
Try to make your example code complete (i.e. with \begin{document}, some section, your Acknowledgement and \end{document} so we can find out what exactly is going on. – yo' Mar 19 '12 at 9:51
@tohecz: Thanks..done it. – Shah Mar 19 '12 at 10:28
You clearly have a lot of information hidden in other files. Try to make it minimal (non)-working) example, I mean: remove everything that can be removed so that the resulting ONE .tex file can be translated by latex without need of other your files and the error still appears. Maybe you will find what causes the problem yourself when you make the example as simple as possible. – yo' Mar 19 '12 at 10:44
If you use \addsec{} instead of \section*{}, the header should appear. check the scrguide for details about what \addsec does – Martin H Mar 19 '12 at 11:27
@Martin H: Thanks for your suggestion. It still doesn't appear after trying using \addsec{}. – Shah Mar 19 '12 at 12:18
up vote 5 down vote accepted

You're typesetting the "Acknowledgements" as an unnumbered \section, although scrreprts highest-level sectioning command is \chapter. Also, scrreprt by default uses oneside, and \addsec (KOMA-Scripts alternative to \section*), doesn't update the header in oneside mode (although \addchap, the alternative to \chapter*, would). Solution: Manually update the header by using \markright{Acknowledgements}.








enter image description here

share|improve this answer
Your solution is really handy and great..Thanks a lot for the fix! – Shah Apr 1 '12 at 10: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.