-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.tex
84 lines (73 loc) · 1.83 KB
/
main.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
\documentclass[hidelinks,12pt,oneside]{book}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage{latexsym}
\usepackage{wrapfig}
\usepackage{hyperref}
\hypersetup{
linktoc=all,
colorlinks,
citecolor=blue,
filecolor=blue,
linkcolor=black,
urlcolor=blue
}
\usepackage[margin=1in]{geometry}
\usepackage{fancyhdr}
\pagestyle{fancy}
% with this we ensure that the chapter and section
% headings are in lowercase.
\renewcommand{\chaptermark}[1]{%
\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{%
\markright{\thesection\ #1}}
\fancyhf{} % delete current header and footer
\fancyhead[LE,RO]{\bfseries\thepage}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries\leftmark}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt} % space for the rule
\fancypagestyle{plain}{%
\fancyhead{} % get rid of headers on plain pages
\renewcommand{\headrulewidth}{0pt} % and the line
}
\usepackage{xepersian}
\settextfont[Scale=1.4]{Nazli}%{XB Niloofar}
\setlatintextfont[Scale=1.07]{Ubuntu}
%\setdigitfont[Scale=1.4]{XB Zar}
\defpersianfont\Sayeh[Scale=1.4]{XB Kayhan Sayeh}
\title{
{\small به نام خدا\\}
\vspace{4cm}
اوبونتو برای تازهواردها\\}
\author{ساسان نمیرانیان\\
نوا اژدری\\
احمد صوفی محمودی\\\\
ویرایش و صفحهآرایی مجدد:\\
احمد صوفی محمودی\\\\\\
\lr{\href{http://www.ubuntu-book.org}{http://www.ubuntu-book.org}}\\
\lr{\href{mailto:[email protected]}{[email protected]}}
}
\begin{document}
\frontmatter
\maketitle
\newpage
\input{license}
\newpage
\tableofcontents
\newpage
\input{preface}
\mainmatter
\input{chaptr1}
\input{chaptr2}
\input{chaptr3}
\input{chaptr4}
\input{chaptr5}
\input{chaptr6}
\input{chaptr7}
\backmatter
\printindex
\end{document}