For writing thesis, I am using
\documentclass[a4paper,oneside, 12pt]{book}
In it, sectioning was coming at left. I want them in center.
This has been considered before (see this).
But, I tried from its answer, the following.
\section*{\centering\textcolor{blue}{Ukaaranta }}
I was getting error.
Also, instead of this, can I delete \textcolor{blue}? Since I color them in black only.
Is it necessary to put * here?
The error was showing this:
[PDFLaTeX] Finished with exit code 1
Argument of \@sect has an extra } ...ion{\centering\textcolor{blue}{Ukaaranta }}
Paragraph ended before \@sect was complete...ion{\centering\textcolor{blue}{Ukaaranta }}

texniccenter? Of course you can delete\textcolor{blue}then – Nov 17 '15 at 12:16*for the unnumbered section (title), otherwise use\section{\protect\centering...}– Nov 17 '15 at 12:22