← All templates

Arabic book (arabic-book)

Mohammed Obaid Alziyadi's arabic-book class (1.0) for books written in Arabic, right to left with polyglossia and the free Amiri font, Hijri calendar dates and English as a second language; the sample has chapters, a figure, an equation, an appendix and a BibTeX bibliography. XeLaTeX.

Create an account to use this
Category
Book
Document class
arabic-book (arabic-book.cls) — ships with TeX Live
Workflow
Book — submissions and revision rounds
Author
Mohammed Obaid Alziyadi (arabic-book)
Source
Mohammed Obaid Alziyadi (arabic-book)
Licence
arabic-book.cls: LaTeX Project Public License (installed with TeX). The sample text is Mohammed Obaid Alziyadi (arabic-book)'s, provided for authors preparing a submission.

These are the publisher’s own files. This project starts from Mohammed Obaid Alziyadi (arabic-book)’s package for this publication — their manuscript, their arabic-book.cls, their bibliography style — so what compiles here is what they would have given you.

Check Mohammed Obaid Alziyadi (arabic-book)’s author pages for the current instructions.

Where this differs from the publisher’s download.

  • Changed: arabic-book.tex: after \documentclass, \arabicfonttt is redefined with \renewfontfamily as Amiri (the class's mono font), because the class's \let\arabicfonttt\ttfamily makes current polyglossia loop at the first \verb until TeX's capacity is exceeded; and a begindocument hook selects Arabic before the class typesets its title page, introduction and contents at \begin{document} (current polyglossia selects the main language only at the end of \begin{document}, so those pages were set in Latin Modern without Arabic letters). Comments in the file explain both (2026-11-23)..

What you get

  • arabic-book.tex — the file that is compiled · 2 KB
  • arabic-ref.bib · 257 B
  • fig1.png · 263 KB

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Link to this template. Send it to a student or co-author: it starts a new paper in this template, through sign-up if they need an account.

https://manulyx.com/start/ctan-arabic-book

Source

arabic-book.tex — the file that is compiled · 2 KB
\documentclass[10pt,oneside]{arabic-book}
% The class sets \let\arabicfonttt\ttfamily; current polyglossia calls \arabicfonttt from
% \ttfamily, so the first \verb or \texttt loops until TeX's capacity is exceeded. The
% Arabic monospaced family is set to the class's mono font (Amiri) instead.
\renewfontfamily\arabicfonttt[Script=Arabic,Scale=1.5]{Amiri-Regular.ttf}
% The class typesets the title page, introduction and contents at \begin{document};
% current polyglossia selects Arabic only at the end of \begin{document}, so those
% pages came out in Latin Modern without Arabic letters. Arabic is selected first.
\AddToHook{begindocument}[arabic-book-language]{\selectlanguage{arabic}}
\DeclareHookRule{begindocument}{arabic-book-language}{after}{polyglossia}
\DeclareHookRule{begindocument}{arabic-book-language}{before}{arabic-book}
\title{Your paper}
\author{ محمد الزيادي}
\date{\today}
\abstract{هنا توضع المقدمة}
\begin{document} 
\chapter{مستند يدعم الكتابة باللغة العربية}
هذا المستند يدعم الكتابة باللغة العربية بواسطة Latex أيضاً يدعم لغات أخرى كالانجليزية و الهندية والفارسية. تم إعداده لكتابة كتاب باللغة العربية. هذا القالب لا يعمل إلا باستخدام المحرك Xelatex. الملف المستخرج بصيغة pdf قابل للنسخ واللصق. 

الخط المستخدم في المستند هو الخط الاميري \ref{fig:fig1}\cite{1}. هذا القالب يخدم أيضا خطوط أخرئ.
\begin{figure}[H]
	\centering
	\includegraphics[width=0.7\linewidth]{fig1}
	\caption{اللغة العربيّة}
	\label{fig:fig1}
\end{figure}

\section{مكانة اللغة العربيّة وميزاتها}
مكانة اللغة العربيّة وميزاتها.
\section{المعادلات الرياضية }
\begin{equation}
    F = m a
\end{equation}
\chapter{الملحقات}
لإضافة الملحقات نستخدم \verb|\appendix|
\bibliography{arabic-ref}{}
\bibliographystyle{unsrt}
\end{document}
arabic-ref.bib · 257 B

Loading…

fig1.png — binary, 263 KB

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗