Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.74 KB | None | 0 0
  1. \documentclass[11pt,fleqn]{book} % Default font size and left-justified equations
  2.  
  3. %----------------------------------------------------------------------------------------
  4.  
  5. \input{structure} % Insert the commands.tex file which contains the majority of the structure behind the template
  6.  
  7. \begin{document}
  8.  
  9.  
  10. %----------------------------------------------------------------------------------------
  11. % TITLE PAGE
  12. %----------------------------------------------------------------------------------------
  13.  
  14. \begingroup
  15. \thispagestyle{empty}
  16. \begin{tikzpicture}[remember picture,overlay]
  17. \coordinate [below=12cm] (midpoint) at (current page.north);
  18. \node at (current page.north west)
  19. {\begin{tikzpicture}[remember picture,overlay]
  20. \node[anchor=north west,inner sep=0pt] at (0,0) {\includegraphics[width=\paperwidth]{background}}; % Background image
  21. \draw[anchor=north] (midpoint) node [fill=ocre!30!white,fill opacity=0.6,text opacity=1,inner sep=1cm]{\Huge\centering\bfseries\sffamily\parbox[c][][t]{\paperwidth}{\centering Arabic Chatbot\\[15pt] % Book title
  22. {\Large msh 3arf nktb eh hna}\\[20pt] % Subtitle
  23. {\huge Under Supervision Of : Dr. Khaled Nagi}}}; % Author name
  24. \end{tikzpicture}};
  25. \end{tikzpicture}
  26. \vfill
  27. \endgroup
  28.  
  29. %----------------------------------------------------------------------------------------
  30. % ACKNOWLEDGMENT PAGE
  31. %----------------------------------------------------------------------------------------
  32.  
  33. \newpage
  34. \frontmatter
  35. \include{acknowledgements}
  36.  
  37. %----------------------------------------------------------------------------------------
  38. % ABSTRACT PAGE
  39. %----------------------------------------------------------------------------------------
  40.  
  41. \newpage
  42. \frontmatter
  43. \include{abstract}
  44.  
  45. %----------------------------------------------------------------------------------------
  46. % TABLE OF CONTENTS
  47. %----------------------------------------------------------------------------------------
  48.  
  49. %\usechapterimagefalse % If you don't want to include a chapter image, use this to toggle images off - it can be enabled later with \usechapterimagetrue
  50.  
  51. \chapterimage{chapter_head_1.pdf} % Table of contents heading image
  52.  
  53. \pagestyle{empty} % No headers
  54.  
  55. \tableofcontents % Print the table of contents itself
  56.  
  57. \cleardoublepage % Forces the first chapter to start on an odd page so it's on the right
  58.  
  59. \pagestyle{fancy} % Print headers again
  60.  
  61. %----------------------------------------------------------------------------------------
  62. % LIST OF FIGURES
  63. %----------------------------------------------------------------------------------------
  64.  
  65. %\usechapterimagefalse % If you don't want to include a chapter image, use this to toggle images off - it can be enabled later with \usechapterimagetrue
  66.  
  67. \chapterimage{chapter_head_1.pdf} % Table of contents heading image
  68.  
  69. \pagestyle{empty} % No headers
  70.  
  71. \listoffigures
  72.  
  73. \cleardoublepage % Forces the first chapter to start on an odd page so it's on the right
  74.  
  75. \pagestyle{fancy} % Print headers again
  76.  
  77. %----------------------------------------------------------------------------------------
  78. % LIST OF TABLES
  79. %----------------------------------------------------------------------------------------
  80.  
  81. %\usechapterimagefalse % If you don't want to include a chapter image, use this to toggle images off - it can be enabled later with \usechapterimagetrue
  82.  
  83. \chapterimage{chapter_head_1.pdf} % Table of contents heading image
  84.  
  85. \pagestyle{empty} % No headers
  86.  
  87. \listoftables
  88.  
  89. \cleardoublepage % Forces the first chapter to start on an odd page so it's on the right
  90.  
  91. \pagestyle{fancy} % Print headers again
  92.  
  93. %----------------------------------------------------------------------------------------
  94. % PART
  95. %----------------------------------------------------------------------------------------
  96.  
  97. \part{Part One}
  98.  
  99. %----------------------------------------------------------------------------------------
  100. % CHAPTER 1
  101. %----------------------------------------------------------------------------------------
  102.  
  103. \chapterimage{chapter_head_2.pdf} % Chapter heading image
  104.  
  105. \chapter{Text Chapter}
  106.  
  107. \section{Paragraphs of Text}\index{Paragraphs of Text}
  108.  
  109. \lipsum[1-7] % Dummy text
  110.  
  111. %------------------------------------------------
  112.  
  113. \section{Citation}\index{Citation}
  114.  
  115. This statement requires citation \cite{book_key}; this one is more specific \cite[122]{article_key}.
  116.  
  117. %------------------------------------------------
  118.  
  119. \section{Lists}\index{Lists}
  120.  
  121. Lists are useful to present information in a concise and/or ordered way\footnote{Footnote example...}.
  122.  
  123. \subsection{Numbered List}\index{Lists!Numbered List}
  124.  
  125. \begin{enumerate}
  126. \item The first item
  127. \item The second item
  128. \item The third item
  129. \end{enumerate}
  130.  
  131. \subsection{Bullet Points}\index{Lists!Bullet Points}
  132.  
  133. \begin{itemize}
  134. \item The first item
  135. \item The second item
  136. \item The third item
  137. \end{itemize}
  138.  
  139. \subsection{Descriptions and Definitions}\index{Lists!Descriptions and Definitions}
  140.  
  141. \begin{description}
  142. \item[Name] Description
  143. \item[Word] Definition
  144. \item[Comment] Elaboration
  145. \end{description}
  146.  
  147. %----------------------------------------------------------------------------------------
  148. % CHAPTER 2
  149. %----------------------------------------------------------------------------------------
  150.  
  151. \chapter{In-text Elements}
  152.  
  153. \section{Theorems}\index{Theorems}
  154.  
  155. This is an example of theorems.
  156.  
  157. \subsection{Several equations}\index{Theorems!Several Equations}
  158. This is a theorem consisting of several equations.
  159.  
  160. \begin{theorem}[Name of the theorem]
  161. In $E=\mathbb{R}^n$ all norms are equivalent. It has the properties:
  162. \begin{align}
  163. & \big| ||\mathbf{x}|| - ||\mathbf{y}|| \big|\leq || \mathbf{x}- \mathbf{y}||\\
  164. & ||\sum_{i=1}^n\mathbf{x}_i||\leq \sum_{i=1}^n||\mathbf{x}_i||\quad\text{where $n$ is a finite integer}
  165. \end{align}
  166. \end{theorem}
  167.  
  168. \subsection{Single Line}\index{Theorems!Single Line}
  169. This is a theorem consisting of just one line.
  170.  
  171. \begin{theorem}
  172. A set $\mathcal{D}(G)$ in dense in $L^2(G)$, $|\cdot|_0$.
  173. \end{theorem}
  174.  
  175. %------------------------------------------------
  176.  
  177. \section{Definitions}\index{Definitions}
  178.  
  179. This is an example of a definition. A definition could be mathematical or it could define a concept.
  180.  
  181. \begin{definition}[Definition name]
  182. Given a vector space $E$, a norm on $E$ is an application, denoted $||\cdot||$, $E$ in $\mathbb{R}^+=[0,+\infty[$ such that:
  183. \begin{align}
  184. & ||\mathbf{x}||=0\ \Rightarrow\ \mathbf{x}=\mathbf{0}\\
  185. & ||\lambda \mathbf{x}||=|\lambda|\cdot ||\mathbf{x}||\\
  186. & ||\mathbf{x}+\mathbf{y}||\leq ||\mathbf{x}||+||\mathbf{y}||
  187. \end{align}
  188. \end{definition}
  189.  
  190. %------------------------------------------------
  191.  
  192. \section{Notations}\index{Notations}
  193.  
  194. \begin{notation}
  195. Given an open subset $G$ of $\mathbb{R}^n$, the set of functions $\varphi$ are:
  196. \begin{enumerate}
  197. \item Bounded support $G$;
  198. \item Infinitely differentiable;
  199. \end{enumerate}
  200. a vector space is denoted by $\mathcal{D}(G)$.
  201. \end{notation}
  202.  
  203. %------------------------------------------------
  204.  
  205. \section{Remarks}\index{Remarks}
  206.  
  207. This is an example of a remark.
  208.  
  209. \begin{remark}
  210. The concepts presented here are now in conventional employment in mathematics. Vector spaces are taken over the field $\mathbb{K}=\mathbb{R}$, however, established properties are easily extended to $\mathbb{K}=\mathbb{C}$.
  211. \end{remark}
  212.  
  213. %------------------------------------------------
  214.  
  215. \section{Corollaries}\index{Corollaries}
  216.  
  217. This is an example of a corollary.
  218.  
  219. \begin{corollary}[Corollary name]
  220. The concepts presented here are now in conventional employment in mathematics. Vector spaces are taken over the field $\mathbb{K}=\mathbb{R}$, however, established properties are easily extended to $\mathbb{K}=\mathbb{C}$.
  221. \end{corollary}
  222.  
  223. %------------------------------------------------
  224.  
  225. \section{Propositions}\index{Propositions}
  226.  
  227. This is an example of propositions.
  228.  
  229. \subsection{Several equations}\index{Propositions!Several Equations}
  230.  
  231. \begin{proposition}[Proposition name]
  232. It has the properties:
  233. \begin{align}
  234. & \big| ||\mathbf{x}|| - ||\mathbf{y}|| \big|\leq || \mathbf{x}- \mathbf{y}||\\
  235. & ||\sum_{i=1}^n\mathbf{x}_i||\leq \sum_{i=1}^n||\mathbf{x}_i||\quad\text{where $n$ is a finite integer}
  236. \end{align}
  237. \end{proposition}
  238.  
  239. \subsection{Single Line}\index{Propositions!Single Line}
  240.  
  241. \begin{proposition}
  242. Let $f,g\in L^2(G)$; if $\forall \varphi\in\mathcal{D}(G)$, $(f,\varphi)_0=(g,\varphi)_0$ then $f = g$.
  243. \end{proposition}
  244.  
  245. %------------------------------------------------
  246.  
  247. \section{Examples}\index{Examples}
  248.  
  249. This is an example of examples.
  250.  
  251. \subsection{Equation and Text}\index{Examples!Equation and Text}
  252.  
  253. \begin{example}
  254. Let $G=\{x\in\mathbb{R}^2:|x|<3\}$ and denoted by: $x^0=(1,1)$; consider the function:
  255. \begin{equation}
  256. f(x)=\left\{\begin{aligned} & \mathrm{e}^{|x|} & & \text{si $|x-x^0|\leq 1/2$}\\
  257. & 0 & & \text{si $|x-x^0|> 1/2$}\end{aligned}\right.
  258. \end{equation}
  259. The function $f$ has bounded support, we can take $A=\{x\in\mathbb{R}^2:|x-x^0|\leq 1/2+\epsilon\}$ for all $\epsilon\in\intoo{0}{5/2-\sqrt{2}}$.
  260. \end{example}
  261.  
  262. \subsection{Paragraph of Text}\index{Examples!Paragraph of Text}
  263.  
  264. \begin{example}[Example name]
  265. \lipsum[2]
  266. \end{example}
  267.  
  268. %------------------------------------------------
  269.  
  270. \section{Exercises}\index{Exercises}
  271.  
  272. This is an example of an exercise.
  273.  
  274. \begin{exercise}
  275. This is a good place to ask a question to test learning progress or further cement ideas into students' minds.
  276. \end{exercise}
  277.  
  278. %------------------------------------------------
  279.  
  280. \section{Problems}\index{Problems}
  281.  
  282. \begin{problem}
  283. What is the average airspeed velocity of an unladen swallow?
  284. \end{problem}
  285.  
  286. %------------------------------------------------
  287.  
  288. \section{Vocabulary}\index{Vocabulary}
  289.  
  290. Define a word to improve a students' vocabulary.
  291.  
  292. \begin{vocabulary}[Word]
  293. Definition of word.
  294. \end{vocabulary}
  295.  
  296. %----------------------------------------------------------------------------------------
  297. % PART
  298. %----------------------------------------------------------------------------------------
  299.  
  300. \part{Part Two}
  301.  
  302. %----------------------------------------------------------------------------------------
  303. % CHAPTER 3
  304. %----------------------------------------------------------------------------------------
  305.  
  306. \chapterimage{chapter_head_1.pdf} % Chapter heading image
  307.  
  308. \chapter{Presenting Information}
  309.  
  310. \section{Table}\index{Table}
  311.  
  312. \begin{table}[h]
  313. \centering
  314. \begin{tabular}{l l l}
  315. \toprule
  316. \textbf{Treatments} & \textbf{Response 1} & \textbf{Response 2}\\
  317. \midrule
  318. Treatment 1 & 0.0003262 & 0.562 \\
  319. Treatment 2 & 0.0015681 & 0.910 \\
  320. Treatment 3 & 0.0009271 & 0.296 \\
  321. \bottomrule
  322. \end{tabular}
  323. \caption{Table caption}
  324. \end{table}
  325.  
  326. %------------------------------------------------
  327.  
  328. \section{Figure}\index{Figure}
  329.  
  330. \begin{figure}[h]
  331. \centering\includegraphics[scale=0.5]{placeholder}
  332. \caption{Figure caption}
  333. \end{figure}
  334.  
  335. %----------------------------------------------------------------------------------------
  336. % BIBLIOGRAPHY
  337. %----------------------------------------------------------------------------------------
  338.  
  339. \chapter*{Bibliography}
  340. \addcontentsline{toc}{chapter}{\textcolor{ocre}{Bibliography}}
  341. \section*{Books}
  342. \addcontentsline{toc}{section}{Books}
  343. \printbibliography[heading=bibempty,type=book]
  344. \section*{Articles}
  345. \addcontentsline{toc}{section}{Articles}
  346. \printbibliography[heading=bibempty,type=article]
  347.  
  348. %----------------------------------------------------------------------------------------
  349. % INDEX
  350. %----------------------------------------------------------------------------------------
  351.  
  352. \cleardoublepage
  353. \phantomsection
  354. \setlength{\columnsep}{0.75cm}
  355. \addcontentsline{toc}{chapter}{\textcolor{ocre}{Index}}
  356. \printindex
  357.  
  358. %----------------------------------------------------------------------------------------
  359.  
  360. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement