> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/ar/bnyh-almstnd/01-sections-and-chapters.md).

# الأقسام والفصول

## المقدمة

عادةً ما تحتوي المستندات على شكل من «البنية المنطقية»: تقسيم إلى فصول وأقسام وأقسام فرعية وما إلى ذلك لتنظيم محتواها. يدعم LaTeX إنشاء بنية للمستند كما يتيح تخصيص التقسيم والترقيم. وتعتمد الأوامر المتاحة لتنظيم المستند على فئة المستند المستخدمة، رغم أن أبسط أشكال التنظيم، وهو التقسيم، متاح في جميع الصيغ.

## مثال أساسي

لنبدأ بمثال أساسي لتوضيح `\section{*section title*}` الأمر، الذي يحدد بداية قسم جديد يسمى `*section title*`. ترقيم الأقسام تلقائي ويمكن تخصيصه أو تعطيله.

```latex
\documentclass{article}
\usepackage{blindtext}

\title{Sections and Chapters}
\author{Overleaf}
\date{\today}

\begin{document}
\maketitle
\section{Introduction}

هذا هو القسم الأول.

\blindtext

\section{Second Section}
هذا هو القسم الثاني

\blindtext
\end{document}
```

[افتح هذا المثال في Overleaf.](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Basic+document+structure+example\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bblindtext%7D%0A%0A%5Ctitle%7BSections+and+Chapters%7D%0A%5Cauthor%7BOverleaf%7D%0A%5Cdate%7B%5Ctoday%7D%0A%0A%5Cbegin%7Bdocument%7D%0A%5Cmaketitle%0A%5Csection%7BIntroduction%7D%0A%0AThis+is+the+first+section.%0A%0A%5Cblindtext%0A%0A%5Csection%7BSecond+Section%7D%0AThis+is+the+second+section%0A%0A%5Cblindtext%0A%5Cend%7Bdocument%7D)

ينتج هذا المثال المخرجات التالية:

![مثال على الأقسام والفصول](/files/92df39433f93504b810525199c42a99f2e23b3da)

## تقسيم المستند

يمكن لـ LaTeX تنظيم فصول وأقسام المستند وترقيمها وفهرستها. توجد حتى 7 مستويات من العمق لتعريف الأقسام اعتمادًا على فئة المستند:

|    |                                 |
| -- | ------------------------------- |
| -1 | `\part{part}`                   |
| 0  | `\chapter{chapter}`             |
| 1  | `\section{section}`             |
| 2  | `\subsection{subsection}`       |
| 3  | `\subsubsection{subsubsection}` |
| 4  | `\paragraph{paragraph}`         |
| 5  | `\subparagraph{subparagraph}`   |

عادةً، `\section` هو أمر المستند من المستوى الأعلى في معظم المستندات. ومع ذلك، في التقارير أو الكتب، والمستندات الطويلة المشابهة، سيكون هذا هو `\chapter` أو `\part`.

## الأقسام المرقمة وغير المرقمة

للحصول على فصل أو قسم أو قسم فرعي وغير ذلك غير مرقم، أضف نجمة (`*`) في نهاية الأمر، قبل القوس المعقوف الافتتاحي. لن تدخل هذه العناصر في فهرس المحتويات. إليك مثالنا الأول (أعلاه) ولكن هذه المرة باستخدام `\section*` بدلاً من `\section`:

```latex
\documentclass{article}
\usepackage{blindtext}

\title{Sections and Chapters}
\author{Overleaf}
\date{\today}

\begin{document}
\maketitle
\section*{Introduction}

هذا هو القسم الأول.

\blindtext

\section*{Second Section}
هذا هو القسم الثاني

\blindtext
\end{document}
```

[افتح هذا المثال في Overleaf.](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Example+with+unnumbered+sections\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bblindtext%7D%0A%0A%5Ctitle%7BSections+and+Chapters%7D%0A%5Cauthor%7BOverleaf%7D%0A%5Cdate%7B%5Ctoday%7D%0A%0A%5Cbegin%7Bdocument%7D%0A%5Cmaketitle%0A%5Csection%2A%7BIntroduction%7D%0A%0AThis+is+the+first+section.%0A%0A%5Cblindtext%0A%0A%5Csection%2A%7BSecond+Section%7D%0AThis+is+the+second+section%0A%0A%5Cblindtext%0A%5Cend%7Bdocument%7D)

ينتج هذا المثال المخرجات التالية:

![مثال على الأقسام غير المرقمة](/files/6ccffd9c7a81c326ab0918866085eb71f9642062)

### الأقسام غير المرقمة في فهرس المحتويات

لإضافة قسم غير مرقم إلى فهرس المحتويات، استخدم الأمر `\addcontentsline` بهذه الطريقة:

```latex
\addcontentsline{toc}{section}{Title of the section}
```

إليك مثالًا يستخدم `\addcontentsline` ولكن انظر المقال [فهرس المحتويات](/latex/ar/bnyh-almstnd/02-table-of-contents.md) لمزيد من المعلومات والأمثلة.

```latex
\documentclass{article}
\title{Sections and Chapters}
\author{Overleaf}
\date{\today}

\begin{document}
\maketitle
\tableofcontents

\newcommand\shortlorem{Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.}

\section{Introduction}
هذا هو القسم الأول (مرقم).

\shortlorem
\addcontentsline{toc}{section}{Unnumbered Section}
\section*{Unnumbered Section}
قسم غير مرقم

\shortlorem

\section{Second section}
القسم المرقم الثاني.

\shortlorem
\end{document}
```

[افتح هذا المثال في Overleaf.](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Example+of+unnumbered+sections+in+the+TOC\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Ctitle%7BSections+and+Chapters%7D%0A%5Cauthor%7BOverleaf%7D%0A%5Cdate%7B%5Ctoday%7D%0A%0A%5Cbegin%7Bdocument%7D%0A%5Cmaketitle%0A%5Ctableofcontents%0A%0A%5Cnewcommand%5Cshortlorem%7BLorem+ipsum+dolor+sit+amet%2C+consectetur+adipiscing+elit%2C+sed+do+eiusmod+tempor+incididunt+ut+labore+et+dolore+magna+aliqua.+Ut+enim+ad+minim+veniam%2C+quis+nostrud+exercitation+ullamco+laboris+nisi+ut+aliquip+ex+ea+commodo+consequat.%7D%0A%0A%5Csection%7BIntroduction%7D%0AThis+is+the+first+section+%28numbered%29.%0A%0A%5Cshortlorem%0A%5Caddcontentsline%7Btoc%7D%7Bsection%7D%7BUnnumbered+Section%7D%0A%5Csection%2A%7BUnnumbered+Section%7D%0AAn+unnumbered+section%0A%0A%5Cshortlorem%0A%0A%5Csection%7BSecond+section%7D%0AThe+second+numbered+section.%0A%0A%5Cshortlorem%0A%5Cend%7Bdocument%7D)

ينتج هذا المثال المخرجات التالية:

![الأقسام غير المرقمة في TOC](/files/ef1c604da0a69f5030ddd8e25932eee9a67ba433)

## فصول وأقسام المستند في كتاب/تقرير

كما ذُكر سابقًا، `\chapter` يمكن استخدامه في الكتب والتقارير.

### فئة التقرير

أدناه يمكنك رؤية مثال `تقرير` يستخدم نصًا مأخوذًا من مقال Overleaf [مقدمة إلى LuaTeX (الجزء 1): ما هو—وما الذي يجعله مختلفًا جدًا؟](/latex/ar/mqalat-mtamqh/07-an-introduction-to-luatex-part-1-what-is-it-and-what-makes-it-so-different.md)

```latex
\documentclass{report}
\title{Sections and Chapters}
\author{Overleaf}
\date{\today}
\begin{document}
\maketitle
\tableofcontents
\chapter{An Introduction to Lua\TeX}

\section{What is it—and what makes it so different?}
Lua\TeX{} هو \textit{toolkit}—فهو يحتوي على أدوات برمجية ومكوّنات متقدمة يمكنك بها إنشاء (تنضيد) مجموعة واسعة من المستندات. كما يطرح العنوان الفرعي لهذا المقال سؤالين عن Lua\TeX: ما هو—وما الذي يجعله مختلفًا جدًا؟ قد تبدو الإجابة عن «ما هو؟» واضحة: «إنه محرك تنضيد \TeX{}!» وهو كذلك بالفعل، لكن رؤية أوسع، وهي الرؤية التي يتبناها هذا المؤلف، هي أن Lua\TeX{} نظام شديد المرونة لبناء المستندات وهندستها يعتمد على \TeX.

\subsection{Explaining Lua\TeX: Where to start?}
هدف هذا المقال الأول عن Lua\TeX{} هو تقديم سياق يساعد على فهم ما يقدمه محرك TeX هذا ولماذا/كيف يتيح تصميمه للمستخدمين بناء/تصميم/إنشاء مجموعة واسعة من الحلول لمشكلات التنضيد والتصميم المعقدة—وقد يوفر أيضًا قدرًا من «التحصين للمستقبل»

\chapter{Lua\TeX: Background and history}
\section{Introduction}
Lua\TeX{} هو، بمصطلحات \TeX{}، «الوافد الجديد» رغم أنه كان قيد التطوير النشط لأكثر من 10 سنوات.

\subsection{Lua\TeX: Opening up \TeX’s “black box”}
يُعد برنامج \TeX{} الأصلي الذي وضعه Knuth السلف المشترك لجميع محركات \TeX{} الحديثة المستخدمة اليوم، وLua\TeX{} هو، عمليًا، أحدث خطوة في هذا التطور: فهو مشتق من برنامج pdf\TeX{} لكنه يضيف بعض المكوّنات البرمجية القوية التي توفر قدرًا كبيرًا من الوظائف الإضافية.
\end{document}
```

[افتح هذا المثال في Overleaf (باستخدام `lualatex`)](<https://www.overleaf.com/docs?engine=lualatex\&snip_name=Example+of+a+LaTeX+report\&snip=\documentclass{report}&#xA;\title{Sections+and+Chapters}&#xA;\author{Overleaf}&#xA;\date{\today}&#xA;\begin{document}&#xA;\maketitle&#xA;\tableofcontents&#xA;\chapter{An+Introduction+to+Lua\TeX}&#xA;&#xA;\section{What+is+it—and+what+makes+it+so+different?}&#xA;Lua\TeX{}+is+a+\textit{toolkit}—it+contains+sophisticated+software+tools+and+components+with+which+you+can+construct+(typeset)+a+wide+range+of+documents.+The+sub-title+of+this+article+also+poses+two+questions+about+Lua\TeX:+What+is+it—and+what+makes+it+so+different?+The+answer+to+“What+is+it?”+may+seem+obvious:+“It’s+a+\TeX{}+typesetting+engine!”+Indeed+it+is,+but+a+broader+view,+and+one+to+which+this+author+subscribes,+is+that+Lua\TeX{}+is+an+extremely+versatile+\TeX-based+document+construction+and+engineering+system.&#xA;&#xA;\subsection{Explaining+Lua\TeX:+Where+to+start?}&#xA;The+goal+of+this+first+article+on+Lua\TeX{}+is+to+offer+a+context+for+understanding+what+this+TeX+engine+provides+and+why/how+its+design+enables+users+to+build/design/create+a+wide+range+of+solutions+to+complex+typesetting+and+design+problems—perhaps+also+offering+some+degree+of+“future+proofing”+&#xA;&#xA;\chapter{Lua\TeX:+Background+and+history}&#xA;\section{Introduction}&#xA;Lua\TeX{}+is,+in+\TeX{}+terms,+“the+new+kid+on+the+block”+despite+having+been+in+active+development+for+over+10+years.&#xA;&#xA;\subsection{Lua\TeX:+Opening+up+\TeX’s+“black+box”}&#xA;Knuth’s+original+\TeX{}+program+is+the+common+ancestor+of+all+modern+\TeX{}+engines+in+use+today+and+Lua\TeX{}+is,+in+effect,+the+latest+evolutionary+step:+derived+from+the+pdf\TeX{}+program+but+with+the+addition+of+some+powerful+software+components+which+bring+a+great+deal+of+extra+functionality.&#xA;\end{document}>)

ينتج هذا المثال المخرجات التالية—وهنا نعرض الصفحات 2–4، حيث تم تراكب صور الصفحات لتسهيل العرض:

![تقرير LaTeX نموذجي](/files/b940afe78ccfca8c1432de9234cc261bd7da53c1)

### فئة الكتاب

يعيد المثال التالي إنتاج نص من `تقرير` المثال ولكن باستخدام `\documentclass{book}`، متضمنًا أجزاءً وفصولًا وأقسامًا وأقسامًا فرعية وأقسامًا فرعية فرعية. إذا فتحت المثال في Overleaf فسترى أن الأقسام الفرعية الفرعية التي ينتجها `\subsubsection` هي *ليست* مرقمة. وذلك وفق تصميم فئة `book` : إذا أردت تغيير هذا السلوك، فأضف الأمر التالي إلى مقدمة المستند:

```latex
\setcounter{secnumdepth}{3}
```

```latex
\documentclass{book}
\title{Sections and Chapters}
\author{Overleaf}
\date{\today}
\begin{document}
\maketitle
\tableofcontents
\part{History of Lua\TeX}

\chapter{An Introduction to Lua\TeX}

\section{What is it—and what makes it so different?}
Lua\TeX{} هو \textit{toolkit}—فهو يحتوي على أدوات برمجية ومكوّنات متقدمة يمكنك بها إنشاء (تنضيد) مجموعة واسعة من المستندات. كما يطرح العنوان الفرعي لهذا المقال سؤالين عن Lua\TeX: ما هو—وما الذي يجعله مختلفًا جدًا؟ قد تبدو الإجابة عن «ما هو؟» واضحة: «إنه محرك تنضيد \TeX{}!» وهو كذلك بالفعل، لكن رؤية أوسع، وهي الرؤية التي يتبناها هذا المؤلف، هي أن Lua\TeX{} نظام شديد المرونة لبناء المستندات وهندستها يعتمد على \TeX.

\subsection{Explaining Lua\TeX: Where to start?}
هدف هذا المقال الأول عن Lua\TeX{} هو تقديم سياق يساعد على فهم ما يقدمه محرك TeX هذا ولماذا/كيف يتيح تصميمه للمستخدمين بناء/تصميم/إنشاء مجموعة واسعة من الحلول لمشكلات التنضيد والتصميم المعقدة—وقد يوفر أيضًا قدرًا من «التحصين للمستقبل»

\chapter{Lua\TeX: Background and history}
\section{Introduction}
Lua\TeX{} هو، بمصطلحات \TeX{}، «الوافد الجديد» رغم أنه كان قيد التطوير النشط لأكثر من 10 سنوات.

\subsection{Lua\TeX: Opening up \TeX’s “black box”}
يُعد برنامج \TeX{} الأصلي الذي وضعه Knuth السلف المشترك لجميع محركات \TeX{} الحديثة المستخدمة اليوم، وLua\TeX{} هو، عمليًا، أحدث خطوة في هذا التطور: فهو مشتق من برنامج pdf\TeX{} لكنه يضيف بعض المكوّنات البرمجية القوية التي توفر قدرًا كبيرًا من الوظائف الإضافية.

\subsubsection{How Lua\TeX{} processes \texttt{\string\directlua}: A first look}
الرمز ⟨code⟩ المزوَّد إلى \verb|\directlua{<code>}| يُحوَّل أولًا إلى رموز مميزة باستخدام العمليات والحسابات المذكورة أعلاه؛ ثم تُخزَّن تلك السلسلة من الرموز المميزة في قائمة رموز.
\end{document}
```

[لرؤية المخرجات، **افتح هذا المثال في Overleaf** (يستخدم `**lualatex**`)](<https://www.overleaf.com/docs?engine=lualatex\&snip_name=Example+of+a+LaTeX+book\&snip=\documentclass{book}&#xA;\title{Sections+and+Chapters}&#xA;\author{Overleaf}&#xA;\date{\today}&#xA;\begin{document}&#xA;\maketitle&#xA;\tableofcontents&#xA;\part{History+of+Lua\TeX}&#xA;&#xA;\chapter{An+Introduction+to+Lua\TeX}&#xA;&#xA;\section{What+is+it—and+what+makes+it+so+different?}&#xA;Lua\TeX{}+is+a+\textit{toolkit}—it+contains+sophisticated+software+tools+and+components+with+which+you+can+construct+(typeset)+a+wide+range+of+documents.+The+sub-title+of+this+article+also+poses+two+questions+about+Lua\TeX:+What+is+it—and+what+makes+it+so+different?+The+answer+to+“What+is+it?”+may+seem+obvious:+“It’s+a+\TeX{}+typesetting+engine!”+Indeed+it+is,+but+a+broader+view,+and+one+to+which+this+author+subscribes,+is+that+Lua\TeX{}+is+an+extremely+versatile+\TeX-based+document+construction+and+engineering+system.&#xA;&#xA;\subsection{Explaining+Lua\TeX:+Where+to+start?}&#xA;The+goal+of+this+first+article+on+Lua\TeX{}+is+to+offer+a+context+for+understanding+what+this+TeX+engine+provides+and+why/how+its+design+enables+users+to+build/design/create+a+wide+range+of+solutions+to+complex+typesetting+and+design+problems—perhaps+also+offering+some+degree+of+“future+proofing”+&#xA;&#xA;\chapter{Lua\TeX:+Background+and+history}&#xA;\section{Introduction}&#xA;Lua\TeX{}+is,+in+\TeX{}+terms,+“the+new+kid+on+the+block”+despite+having+been+in+active+development+for+over+10+years.&#xA;&#xA;\subsection{Lua\TeX:+Opening+up+\TeX’s+“black+box”}&#xA;Knuth’s+original+\TeX{}+program+is+the+common+ancestor+of+all+modern+\TeX{}+engines+in+use+today+and+Lua\TeX{}+is,+in+effect,+the+latest+evolutionary+step:+derived+from+the+pdf\TeX{}+program+but+with+the+addition+of+some+powerful+software+components+which+bring+a+great+deal+of+extra+functionality.&#xA;&#xA;\subsubsection{How+Lua\TeX{}+processes+\texttt{\string\directlua}:+A+first+look}&#xA;The+⟨code⟩+provided+to+\verb|\directlua{\<code\>}|+is+first+converted+to+tokens+using+the+processes+and+calculations+discussed+above;+that+sequence+of+tokens+is+stored+in+a+token+list.&#xA;\end{document}>)

## تخصيص الفصول والأقسام

يمكنك استخدام حزمة [`titlesec`](https://ctan.org/pkg/titlesec?lang=en) لتخصيص نمط الفصول والأقسام والأقسام الفرعية بطريقة سهلة.

```latex
\documentclass[a4paper,12pt]{book}
\usepackage[T1]{fontenc}
\usepackage{titlesec}

\titleformat
{\chapter} % command
[display] % shape
{\bfseries\Large\itshape} % format
{Story No. \ \thechapter} % label
{0.5ex} % sep
{
    \rule{\textwidth}{1pt}
    \vspace{1ex}
    \centering
} % before-code
[
\vspace{-0.5ex}%
\rule{\textwidth}{0.3pt}
] % after-code

\titleformat{\section}[wrap]
{\normalfont\bfseries}
{\thesection.}{0.5em}{}

\titlespacing{\section}{12pc}{1.5ex plus .1ex minus .2ex}{1pc}

\begin{document}
\chapter{Let's begin}
\section{First Attempt}

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris...

\section{Second attempt}

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris...

\end{document}
```

[افتح هذا `titlesec` المثال في Overleaf.](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=titlesec+example\&snip=%5Cdocumentclass%5Ba4paper%2C12pt%5D%7Bbook%7D%0A%5Cusepackage%5BT1%5D%7Bfontenc%7D%0A%5Cusepackage%7Btitlesec%7D%0A%0A%5Ctitleformat%0A%7B%5Cchapter%7D+%25+command%0A%5Bdisplay%5D+%25+shape%0A%7B%5Cbfseries%5CLarge%5Citshape%7D+%25+format%0A%7BStory+No.+%5C+%5Cthechapter%7D+%25+label%0A%7B0.5ex%7D+%25+sep%0A%7B%0A++++%5Crule%7B%5Ctextwidth%7D%7B1pt%7D%0A++++%5Cvspace%7B1ex%7D%0A++++%5Ccentering%0A%7D+%25+before-code%0A%5B%0A%5Cvspace%7B-0.5ex%7D%25%0A%5Crule%7B%5Ctextwidth%7D%7B0.3pt%7D%0A%5D+%25+after-code%0A%0A%0A%5Ctitleformat%7B%5Csection%7D%5Bwrap%5D%0A%7B%5Cnormalfont%5Cbfseries%7D%0A%7B%5Cthesection.%7D%7B0.5em%7D%7B%7D%0A%0A%5Ctitlespacing%7B%5Csection%7D%7B12pc%7D%7B1.5ex+plus+.1ex+minus+.2ex%7D%7B1pc%7D%0A%0A%5Cbegin%7Bdocument%7D%0A%5Cchapter%7BLet%27s+begin%7D%0A%5Csection%7BFirst+Attempt%7D%0A%0ALorem+ipsum+dolor+sit+amet%2C+consectetur+adipiscing+elit%2C+sed+do+%0Aeiusmod+tempor+incididunt+ut+labore+et+dolore+magna+aliqua.+Ut+%0Aenim+ad+minim+veniam%2C+quis+nostrud+exercitation+ullamco+laboris...%0A%0A%5Csection%7BSecond+attempt%7D%0A%0ALorem+ipsum+dolor+sit+amet%2C+consectetur+adipiscing+elit%2C+sed+do+%0Aeiusmod+tempor+incididunt+ut+labore+et+dolore+magna+aliqua.+Ut+%0Aenim+ad+minim+veniam%2C+quis+nostrud+exercitation+ullamco+laboris...%0A%0A%5Cend%7Bdocument%7D)

ينتج هذا المثال المخرجات التالية:

![Titlesecolv2.png](/files/55b3d3115a5d554a98271aa876120dd5e0299f7e)

### أوامر titlesec

هناك أمران عامان:

```latex
 \titleformat{<command>}[<shape>]{<format>}{<label>}{<sep>}{<before-code>}[<after-code>]
```

حيث `[<shape>]` و `[<after-code>]` هما معامِلان اختياريان، و:

* `<command>` هو أمر التقسيم المراد إعادة تعريفه: `\part`, `\chapter`, `\section`, `\subsection`, `\subsubsection`, `\paragraph` أو `\subparagraph`.
* `<shape>` هو شكل تقسيم الفقرة؛ والقيم الممكنة هي: `hang`, `block`, `display`, `runin`, `leftmargin`, `rightmargin`, `drop`, `wrap` و `frame`.
* `<format>` هو التنسيق الذي سيُطبَّق على العنوان والوسم والنص؛ على سبيل المثال `\normalfont\Large\bfseries`
* `<label>` يحدد وسم التقسيم.
* `<sep>` هو الفصل الأفقي بين الوسم وجسم العنوان، ويجب أن يكون طولًا وألا يكون فارغًا.
* `<before-code>` هو الكود الذي يسبق نص العنوان.
* `<after-code>` هو الكود الذي يلي نص العنوان.

و

```latex
 \titlespacing{<command>}{<left>}{<before-sep>}{<after-sep>}
```

حيث:

* `<left>` يزيد الهامش الأيسر.
* `<before-sep>` هو الفراغ العمودي قبل العنوان.
* `<after-sep>` هو الفصل بين العنوان والنص غير المتعلق بالتقسيم.

النسخة المعلَّمة بنجمة من هذا الأمر (`\titlespacing*`) تلغي إزاحة الفقرة التي تلي العنوان.

## قراءات إضافية

لمزيد من المعلومات، انظر:

* [إنشاء مستند في LaTeX](/latex/ar/asasyat-latex/01-learn-latex-in-30-minutes.md)
* [الخط العريض والمائل وتسطير النص](/latex/ar/asasyat-latex/03-bold-italics-and-underlining.md)
* [فهرس المحتويات](/latex/ar/bnyh-almstnd/02-table-of-contents.md)
* [الاستشهاد المتبادل بالأقسام والمعادلات](/latex/ar/bnyh-almstnd/03-cross-referencing-sections-equations-and-floats.md)
* [الإدارة في مشروع كبير](/latex/ar/bnyh-almstnd/07-management-in-a-large-project.md)
* [مشاريع LaTeX متعددة الملفات](/latex/ar/bnyh-almstnd/08-multi-file-latex-projects.md)
* [الروابط التشعبية](/latex/ar/bnyh-almstnd/09-hyperlinks.md)
* [ترقيم الصفحات](/latex/ar/altnsyq/03-page-numbering.md)
* [المستندات أحادية الوجه ومزدوجة الوجه](/latex/ar/altnsyq/08-single-sided-and-double-sided-documents.md)
* [أعمدة متعددة](/latex/ar/altnsyq/09-multiple-columns.md)
* [العدادات](/latex/ar/altnsyq/10-counters.md)
* [أحجام الخطوط وعائلاتها وأنماطها](/latex/ar/alkhtwt/01-font-sizes-families-and-styles.md)
* [`titlesec` دليل الحزمة](http://mirrors.ctan.org/macros/latex/contrib/titlesec/titlesec.pdf)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/ar/bnyh-almstnd/01-sections-and-chapters.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
