Code: Select all
\let \OldSection \section
\renewcommand{\section}[1]{\OldSection{#1} \noindent}
1. It still leaves a thin space (equal to one character) at the begining of the first paragraph.
2. If I (accidentally) place a new line after \section command it again indents the paragraph.
I then tried
Code: Select all
\let \OldSection \section
\renewcommand{\section}[1]{\OldSection{#1} \parindent=0in}
Here's an example
Code: Select all
\documentclass[a4paper,twoside,11pt]{book}
\usepackage{fontspec}
\let \OldSection \section
\renewcommand{\section}[1]{\OldSection{#1} \noindent}
\begin{document}
\section {new sec}
Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum
\end{document}