I am using fancyhdr to customize my footer and header. Right now I have it exactly as I want it except that I want to have the current section name in the right header. Currently it is just printing 0,1,2,3,4,5 and 6 in the right header.
, but TeXstudio does not recognize this command. I only want the right header to display the current section and don't bother about subsections etc. It should only print the name of the section i.e, Introduction, Literature Review, Theory, Results etc. without any numbering in front of it.
Usually running headers are done by placing commands like \leftmark and \rightmark in the fields where their content shall appear. If that doesn't help, prepare a proper minimal example.