I have been trying to get a particular format for section headings in Texlipse using the following code.
\usepackage{titlesec}
\titleformat{\section}[block]{\bfseries\filcenter}
{\S\thesection}{1em}{}
\renewcommand\thesection{\arabic{section}}
But I don't get the output in the required format. Moreover, I get a warning message
No argument following \section
Any clues?.
\documentclass{...}and ending with\end{document}.