Right-align chapter/section/subsection header
I need to align the chapter and its heading to the right. Please help me with it
Assuming you're using a documentclass such as
and insert the instruction
in the preamble to get chapter headers to be right-aligned. To get all levels of sectioning headers in this style, issue the command
If you cannot install the
The code is borrowed from Vincent Zoonekynd and slightly modified.