Hello,
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
Text Formatting ⇒ how to not have indent at the beginning of chapters?
NEW: TikZ book now 40% off at Amazon.com for a short time.
Re: how to not have indent at the beginning of chapters?
Thank you for your message.
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.
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?
In the command mentioned above you have to specify an unit, e.g., 0cm, or 0mm etc.
However, it will not solve your problem.
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:
Option noindentafter should prevent indenting of the first paragraph. If this doesn't work, try another titlesec ability, setting spacing manually (pp. 27 of titlesec manual):
You should follow the pattern and define spacing for chapter, subsection etc. If this doesn't work, then some low-level commands may be needed. I hope some of LaTeX gurus here will help you with that.
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)
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?
Wow, Meho_r, you are really a great source of knowledge.
Thank you for the detailed instructions and for all the help kindly provided.
Cheers
Thank you for the detailed instructions and for all the help kindly provided.
Cheers
