Text Formatting ⇒ how to not have indent at the beginning of chapters?
how to not have indent at the beginning of chapters?
I am a complete beginner using memoir class and I would like not to have paragraph indent at the beginning of each chapter and sub-chapter and section.
How do I do it?
Cheers
P.s I am using Lyx with TexLive and Xetex
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: how to not have indent at the beginning of chapters?
If I do as you suggest it tells me it is not an accepted value. Anyhow my problem is not having indents but having them in the paragraphs that start chapters or sections.
I found out that with the \noindent command I can remove the indent on a specific paragraph, but I was wondering if there was a command to put in the preamble by which all the paragrapsh after a chapter or section name don't have indent.
how to not have indent at the beginning of chapters?
Code: Select all
\setlength{\parindent}{0mm}Default behaviour of memoir class is that first paragraphs after sectioning (chapter, section, subsection etc.) is not indented. Since you have problem with this I presume you're using babel and some other language than english. Some languages are really keen to keep first paragraph not indented. However, you may try one solution, using titlesec package:
Code: Select all
\usepackage[noindentafter]{titlesec}Code: Select all
\titlespacing*{\section}{0pt}{3.5ex plus 1ex minus .2ex}{2.3ex plus .2ex}BTW, if you're using LyX, pay attention that it sometimes specifies additional languages even if you want only one. While testing above codes, I changed language couple of times ending with both languages specified and LyX switched them couple of times in text. It may be normal behaviour, but just to mention in case you get some unexpected behaviour: check language, and check it in source ("Complete Source" in LyX)
Re: how to not have indent at the beginning of chapters?
Thank you for the detailed instructions and for all the help kindly provided.
Cheers