I want to remove the indent just for the first paragraph of a section.
I am looking for an automatic solution. (I mean, it should be invisible for the "user", who does not have to type no indent)
I have tried
\documentclass{article}
\usepackage[french]{babel}
\usepackage{lipsum}
\newcommand{\mySection}[1]{\section*{#1}\noindent}
\begin{document}
\mySection{Test}
\lipsum[1]
\end{document}
But it does not work. There is a single space at the very beginning of the paragraph.
- Why is it so?
- And how can I achieve this?

\noindentat the beggining of text. – juanuni Mar 19 '16 at 19:48noindent. – Colas Mar 19 '16 at 19:50\usepackage{indentfirst}does just the opposite. – Colas Mar 19 '16 at 19:52\mySectionor modify the command\section... So, yeah, it implies writing in the preamble ;-) – Colas Mar 19 '16 at 19:53elsarticle. – egreg Mar 19 '16 at 20:19\noindentthen the end of line following the heading will make a space unless you comment it out, also a blank line following the heading, which is normally correct markup would make a spurious paragraph. – David Carlisle Mar 19 '16 at 20:44