[Tex/LaTex] Removing the indent of the first paragraph of a section (in French language)

frenchindentation

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}

enter image description here

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?

Best Answer

Add \frenchbsetup{IndentFirst=false} to your preamble (p. 6 of the documentation):

\documentclass{article}
\usepackage[french]{babel}
\usepackage{lipsum}

\frenchbsetup{IndentFirst=false}

\begin{document}

\section{Zzzzz}
\lipsum[1]
\end{document}