-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathmain.tex
94 lines (82 loc) · 3.63 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
85
86
87
88
89
90
91
92
93
94
\documentclass[12pt]{book}
%% PACKAGES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{listings}% for programing code environments
\usepackage{tcolorbox}
\usepackage{amsmath} %\ for math signs
\usepackage{bidihl} %\ for hilight
\usepackage{subfig}
\usepackage{wrapfig}
\usepackage{mdframed}% for multi page box
\usepackage{hyperref} %\ for links
\usepackage{array}% for table size
\usepackage{float} %\ for floating figures
\usepackage{setspace}%\ for line spacing
\usepackage{zref-perpage} % for footnote
\usepackage{enumitem} % for change itemize default setting
\setlist[itemize]{itemsep=0.1\baselineskip}
\setlist[enumerate]{itemsep=0.1\baselineskip}
\usepackage{xepersian} %\ for persian text
%% FONTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\settextfont{XB Roya}
\setlatintextfont{Liberation Mono}
\doublespacing
%% ENVIRONMENT SETTINGS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newtcolorbox{mybox}{boxrule=0pt,width=\textwidth,arc=0mm,colback=gray!20}
\newenvironment{eng}{\vspace*{-0.5cm}\begin{latin}\singlespacing\flushleft}{\end{latin}}
\newenvironment{frameng}{\begin{mdframed}\begin{eng}}{\end{eng}\end{mdframed}}
\lstset{language=bash,basicstyle=\ttfamily,linewidth=1\textwidth,breaklines=true}
%% FOOTNOTE SETTING %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\footnoterule}{\hrule width \textwidth height 1pt}%\ for width of footnote line
\zmakeperpage{footnote}% for reset footnote per page
%% METADATA %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\author{جادی میرمیرانی}
\title{لینوکس و زندگی}
%\date{}
%% MAIN %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\maketitle
\tableofcontents
\chapter*{درباره کتاب}
\addcontentsline{toc}{chapter}{درباره کتاب}
این کتاب قرار بود کتابی باشه در مورد لینوکس با اشارههایی به زندگی گیک های جوان.
ولی در واقع به این نتیجه رسیده ام که در این کتاب حرف زدن از لینوکس اونقدر که حرف زدن از زندگی مهمه، مهم نیست. ما کتاب های زیادی در مورد لینوکس داریم ولی جاهای کمی هستن که از زندگی حرف بزنن. اینه که این کتاب به زودی به کتاب زندگی گیکهای جوان تبدیل خواهد شد.
\chapter{اصول و مقدمات}
\include{./sections/sect2}
\include{./sections/sect3}
\include{./sections/sect4}
\include{./sections/sect5}
\include{./sections/sect6}
\chapter{لینوکس روزمره}
\include{./sections/sect7}
\include{./sections/sect8}
\include{./sections/sect9}
\include{./sections/sect10}
% \include{./sections/sect11} %not complete
\include{./sections/sect12}
\include{./sections/sect13}
\include{./sections/sect14}
% \include{./sections/sect15} %not complete
\chapter{مباحث پیشرفته}
\include{./sections/sect16}
% % \include{./sections/sect17} %not complete
\include{./sections/sect18}
\include{./sections/sect19}
% % \include{./sections/sect20} %not complete
\include{./sections/sect21}
\chapter{جامعه لینوکس}
\include{./sections/sect22}
\chapter{زندگی حرفهای}
\include{./sections/sect23}
\include{./sections/sect24}
\include{./sections/sect25}
\include{./sections/sect26}
\include{./sections/sect27}
\include{./sections/sect28}
\include{./sections/sect29}
\include{./sections/sect30}
\include{./sections/sect31}
\include{./sections/sect32}
\include{./sections/sect33}
\include{./sections/sect34}
\include{./sections/sect35}
\end{document}