3

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?
Colas
  • 6,772
  • 4
  • 46
  • 96

1 Answers1

9

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}
ShreevatsaR
  • 45,428
  • 10
  • 117
  • 149
Bernard
  • 271,350