Section numbers behind section title

I'm an absolute newbie to TeX. I'm trying to get the section numbers of a section to be at the end of the title. In other words, something like "Question 4.2". Instead I get "4.2 Question 4.2" which is not great. Also, the numbers should follow with indentation. For example:

Question 4.2
4.2.1 ....
4.2.2 ....


Any ideas how I can accomplish this?

-

You can change the format of the sections using the titlesec package. The indention of the subsections can also be done with it. However, I'm not 100% sure what you exactly mean with Also, the numbers should follow with indentation.

\documentclass{book}

\usepackage{titlesec}

\titleformat{\section}{\normalfont \Large \bfseries}
{Question\ \thesection}{2.3ex plus .2ex}{}
\titlespacing{\subsection}{2em}{*1}{*1}

\begin{document}

\chapter{X}

\section{A}
\subsection{a}
\subsection{b}
\section{B}
\end{document}


Result:

-
Thank you. One more question, is it possible to make 1.1.1 not a subsection but something like a "enumerate" with items? – sduplooy Mar 27 '11 at 10:58
@sduplooy: You can redefine the labels of enumerate to include the section number as described in Include section number in list number. – Martin Scharrer Mar 27 '11 at 11:02