Right-align chapter/section/subsection header
I need to align the chapter and its heading to the right. Please help me with it
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
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.