summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/xepersian/xepersian-thesis.tex
blob: 761621572a593166c5cc71aac60ece4086d3a645 (plain)
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
\part{Thesis Typesetting}
We typeset thesis by a class called \textsf{xepersian-thesis} which is the modified version of \textsf{report} class, therefore it contains all the commands and options that \textsf{report} class has. I just give an input example  since the commands are easy to understand and this manual is already too long and boring enough!

\begin{LVerb}
  \documentclass[a4paper,11pt]{xepersian-thesis}
  \usepackage{xepersian}
  \settextfont[Scale=1]{XB Zar}
  \setromantextfont[Scale=1]{Linux Libertine}
  \setdigitfont[Scale=1]{XB Zar}
  \begin{document}
  \title{<title name in Persian>}
  \author{<author name in Persian>}
  \degree{<degree name in Persian>}
  \supervisor{<supervisor name in Persian>}
  \department{<department name in Persian>}
  \university{<university name in Persian>}
  \city{<city name in Persian>}
  \thesisdate{\today}
  \maketitle
  \begin{acknowledgementpage}
  ... <text> ...
  \end{acknowledgementpage}
  \begin{abstractpage}
  ... <text> ...
  \keywords{<text>}
  \end{abstractpage}
  \tableofcontents
  \listoftables
  \chapter{<chapter name>}
  ... <text> ...
  \Roman
  \romantitle{<title name in English>}
  \romanauthor{<author name in English>}
  \romandegree{<degree name in English>}
  \romanthesisdate{\romantoday}
  \romansupervisor{<supervisor name in English>}
  \romandepartment{<department name in English>}
  \romanuniversity{<university name in English>}
  \romancity{<city name in English>}
  \begin{romanabstract}
  ... <text> ...
  \romankeywords{<text>}
  \end{romanabstract}
  \makeromantitle
  \end{document}
\end{LVerb}

\begin{Warning}
\begin{itemize}
\item You should rename the image of your university logo to \textsf{logo} and put it in the current directory so \XePersian\ can compile your document correctly.
\item The argument of \n\romanuniversity\ does not contain the word {\UsageFont University} so this means you have to type it yourself, i.e. If your want to produce \textsf{University of Tehran}, then you have to type \texttt{University of Tehran} for "<university name in English>".
\end{itemize}
\end{Warning}
\endinput