![How do I get such a header where the section name is on the top right and the subsection is on the top left on a report-style document? : r/LaTeX How do I get such a header where the section name is on the top right and the subsection is on the top left on a report-style document? : r/LaTeX](https://preview.redd.it/5mh8dcdac9w41.jpg?auto=webp&s=8d1c988791342d93d0a1f249ee835e50dba8d4ea)
How do I get such a header where the section name is on the top right and the subsection is on the top left on a report-style document? : r/LaTeX
![sectioning - Giving headlines a background color spanning across the entire typearea - TeX - LaTeX Stack Exchange sectioning - Giving headlines a background color spanning across the entire typearea - TeX - LaTeX Stack Exchange](https://i.stack.imgur.com/teNdj.png)
sectioning - Giving headlines a background color spanning across the entire typearea - TeX - LaTeX Stack Exchange
![Two sections on one page make fancyhdr takes the second one as page header - TeX - LaTeX Stack Exchange Two sections on one page make fancyhdr takes the second one as page header - TeX - LaTeX Stack Exchange](https://i.stack.imgur.com/MYJuA.png)