Text FormattingWhy is the first paragraph not indented in this document?

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Why is the first paragraph not indented in this document?

Post by AleCes »

Hello, can someone please explain me why in a document like this the first paragraph is not indented? :?

Code: Select all

\documentclass[a4paper, 12pt]{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[LE]{\leftmark}
\fancyhead[RO]{\rightmark}
\usepackage{fontspec}
\defaultfontfeatures{Language=Turkish, Mapping=tex-text}
\setmainfont{Linux Libertine G}
\usepackage{polyglossia}
\setdefaultlanguage{turkish}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{bookmark}
\usepackage{paralist}
\usepackage{epigraph}

\addto\captionsturkish{\renewcommand{\chaptername}{Fasıl}}
\addto\captionsturkish{\renewcommand{\contentsname}{Fihrist}}
\renewcommand{\textflush}{flushepinormal}
\renewcommand{\sourceflush}{flushepinormal}
\setlength{\epigraphwidth}{.8\textwidth}
\raggedbottom
\uccode`\i=`\İ

\renewcommand*{\thesection}{\arabic{section}}
\renewcommand*{\thesubsubsection}{\alph{subsubsection}}

\setcounter{tocdepth}{0}

\begin{document}

\chapter{First chapter}

\epigraph{This is an epigraph}{This is the epigraph's author}

Hariç konjonktürün de tesiriyle Tek Fırka rejimi 1946'da demokratikleşmeyi kabul ettikten sonra, cumhuriyetin müessisinin öteden beri demokrasiyi hedeflemiş olduğunu ispatlamaya hususi bir ehemmiyet verilmiştir. 1926-1945 seneleri arasında hemen hemen hiç hissedilmemiş olan bu enteresan sav, ilk defa İnönü'nün 1.11.1945 tarihli TBMM açış münakaşasında dile getirilmişö ve bilahare Kemalist fikir tarihine malolmuştur

Atatürk'ün çeşitli tarihlerde söyledikleri ve yazdıkları arasında, hakikaten, demokrasi fikrini müdafaa edilir gözüken parçalara rastlanır. Bunların bir ölçüde samimi olmaları da ihtimal dâhilindedir. Hassaten 1930 senesindeki Serbest Fırka tecrübesi, Atatürk'ün demokrasi fikrine küllüyle kapalı olmadığının ispatı addedilebilir. Lakin Atatürk'e biratkım maksat ve niyetler atfederken, şu noktaları da gözden uzak tutmamak lazımdır:

\section{}

Siyasi müesseselerinin kemali bakımından, Türkiye'nin bugün İslam nüfus ekseriyetine sahip 40 küsur memleketin birçoğundan ileri olduğu söylenebilir. Böyle olması da tabiidir: çünkü bü memalik arasında müstakil bir devlet olarak mevcudiyeti yüz seneden eskiye istinad edenlerin adeti sadece ikidir, ve Türkiye, İran ile beraber, bu iki memleketten biridir.

Mısır ve Fas, siyasi mevcudiyeti oldukça eskiye istinad eden devletler olmakla beraber uzun müddet müstemlekevi vesayet altında yaşamışlar ve dâhiliyesine hâkim olamamışlardır. Afganistan öteden beri dahiliyesinde müstakildir; lakin bu memleketin, hiçbir devirde hakiki bir devlet keyfiyetine kavuştuğu söylenemez. 1912'de istiklale kavuşan Arnavutluk, daha evvel bir siyasi vahit olarak mevcud olmamış bir mekândır. Suudi ve Haşimi saltanatları 1920'lerden yoktan mevcud edilmiş; Suriye ve İrak'ta ise, 700 sene aradan sonra ilk siyasi müesseseler, 1920'lerde müstemlekevi idare altında şekillenmiştir. Diğer İslam memaliğinin küllü, 1945'ten sonra tarih sahnesine çıkmış siyasi teşkillerdir.

Bu memaliğin siyasi zaviyeden Türkiye'den ``geri" olmalarında, o halde, hayret edecek yahut izah icab ettirecek bir taraf yoktur: Türkiye asırlardan beri o memalikten daha ``ileri" olmuştur.

\end{document}

Last edited by AleCes on Sat Jun 01, 2013 10:17 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Why is the first paragraph not indented in this document

Post by localghost »

The first paragraph after a heading is never indented.


Thorsten
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Why is the first paragraph not indented in this document?

Post by AleCes »

But a prologue like this:

Code: Select all

\documentclass[a4paper, 12pt]{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[LE]{{\leftmark}}
\fancyhead[RO]{{\rightmark}}
\usepackage{fontspec}
\defaultfontfeatures{Style=Alternate, Mapping=tex-text}
\setmainfont{FreeSerif}
\usepackage{polyglossia}
 \setmainlanguage{serbian}
\setotherlanguages{french, latin}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{bookmark}
\raggedbottom
does give me indented paragraphs. What's the difference?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Why is the first paragraph not indented in this document

Post by localghost »

Just for your information. Your first example gives me very well an indented first paragraph. Replace "First paragraph" by text that is longer than one line.
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Why is the first paragraph not indented in this document?

Post by AleCes »

localghost wrote:Just for your information. Your first example gives me very well an indented first paragraph. Replace "First paragraph" by text that is longer than one line.
Please, try it right now, I updated it.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Why is the first paragraph not indented in this document

Post by localghost »

Same result.
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Why is the first paragraph not indented in this document?

Post by AleCes »

localghost wrote:Same result.
ОК, I get it, somehow, only the first paragraph after the epigraph gets indented, other paragraphs deeper in the chapter do not. I've updated the example, try it right now, please!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Why is the first paragraph not indented in this document?

Post by localghost »

AleCes wrote:ОК, I get it, somehow, only the first paragraph after the epigraph gets indented, other paragraphs deeper in the chapter do not. I've updated the example, try it right now, please!
What is this hassle all about? Are you now going to adapt your example until it matches the problem description? And what happens if you accomplish? Then you have an example which behaves the way you didn't want it to. m(

By the way, still the same result.
AleCes
Posts: 286
Joined: Sat Nov 13, 2010 9:54 pm

Why is the first paragraph not indented in this document?

Post by AleCes »

localghost wrote:
AleCes wrote:ОК, I get it, somehow, only the first paragraph after the epigraph gets indented, other paragraphs deeper in the chapter do not. I've updated the example, try it right now, please!
What is this hassle all about? Are you now going to adapt your example until it matches the problem description? And what happens if you accomplish? Then you have an example which behaves the way you didn't want it to. m(

By the way, still the same result.
Please, take a look at the attachment. The prologue, as you will see, is the same. The problem must be nesting somewhere else.
Attachments
Hatalı Cumhuriyet.tex
(82.82 KiB) Downloaded 496 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Why is the first paragraph not indented in this document?

Post by localghost »

AleCes wrote:Please, take a look at the attachment. […]
No. I don't feel like that any more. I'm not willing to dig through hundreds of code lines. My participation in this thread ends here.
AleCes wrote:[…] The problem must be nesting somewhere else.
To find this problem out is your homework. Then you can present an example that still shows the undesired behaviour. You seemingly yet did not understand the purpose and the process of building a minimal example.
Post Reply