# Removing the indent of the first paragraph of a section (in French language)

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?
• Only from the first paragraph? Or all? Mar 19, 2016 at 19:47
• Only the first one. Mar 19, 2016 at 19:48
• @Alenanno, nope, \usepackage{indentfirst} does just the opposite. Mar 19, 2016 at 19:52
• @Colas If the package can set it to true, it can be set to false. See tex.stackexchange.com/q/132369/4778 Mar 19, 2016 at 19:54
• if you start the paragraph prematurely with \noindent then 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. Mar 19, 2016 at 20:44

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}

• Thanks @David Carlisle, for your patience with my typos… Mar 19, 2016 at 20:55
• I love your sleepy sections! Mar 19, 2016 at 21:02
• mainly just clarifying that it worked with normal \section no need for user \Section wrapper. Mar 19, 2016 at 21:12