-
Notifications
You must be signed in to change notification settings - Fork 5
/
quran.tex
41 lines (30 loc) · 841 Bytes
/
quran.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
\documentclass[a5paper]{book}
%% Language and font encodings
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
%% Sets page size and margins
\usepackage[a5paper,top=0cm,bottom=0cm,left=0cm,right=0cm,marginparwidth=0cm]{geometry}
%% Useful packages
\usepackage{graphicx}
\usepackage{float}
\usepackage{titlesec}
\usepackage{hyperref}
\title{Quran for Kindle}
\author{Allah Almighty through Angel Gabriel through Prophet Muhammad}
\date{}
\makeatletter
\titleformat{\section}[runin]{}{}{0pt}{\@gobble}
\titleformat{\subsection}[runin]{}{}{0pt}{\@gobble}
\makeatother
\titlespacing{\section}{\parindent}{0pt}{0pt}
\titlespacing{\subsection}{\parindent}{0pt}{0pt}
\begin{document}
\frontmatter
{\let\cleardoublepage\clearpage
\maketitle
\tableofcontents
}
\mainmatter
\input{pages.tex}
\end{document}