-
Notifications
You must be signed in to change notification settings - Fork 2
/
main_file.tex
103 lines (102 loc) · 4.43 KB
/
main_file.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
95
96
97
98
99
100
101
102
103
%-----------------------------------------------------------------
%Author: Yan Naing Aye
%Date: 2012 Feb 24
%-----------------------------------------------------------------
\documentclass[12pt,a4paper]{report} % Specifies the document class
\usepackage{graphicx} %for pdf, bitmapped graphics files
\usepackage{amsmath} %to facilitate writing math formulas and to improve the typographical quality
\usepackage{amssymb} %provides an extended symbol collection
\usepackage{wasysym} %provides many glyphs
\usepackage{epstopdf} %converts eps to pdf
\usepackage{xcolor} %color extensions (for tables)
\usepackage{datetime} %date time
\usepackage[pdftitle={Aye-Thesis},pdfauthor={Yan Naing Aye}]{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
\usepackage{lststyles}
%-----------------------------------------------------------------
%change to Burmese language
\usepackage{burmese}
%-----------------------------------------------------------------
%Macros
\def\titleSentence{မြန်မာဘာသာ အတွက် LaTeX Report ပုံစံ}
% I use this title in several places throughout the report
% that is why I define it as \titleSentence command
% so that I only need to change here and all will be updated accordingly
%-----------------------------------------------------------------
%Date format
\newdateformat{mydate}{\monthname[\THEMONTH] \THEYEAR}
%-----------------------------------------------------------------
% Define a new command called \los to include list of symbol easily.
% It is used in ListOfSymbols.tex file
\newcommand{\los}[2]{\parbox[t]{5cm}{$#1 \dotfill$} \parbox[t]{10cm}{#2}\\[0.6cm]}
%-----------------------------------------------------------------
\renewcommand{\baselinestretch}{1.5} %linespace
%-----------------------------------------------------------------
\pagestyle{headings} %to use headings style
%-----------------------------------------------------------------
\makeatletter
\def\input@path{{./Files/}}
\makeatother
\graphicspath{{./Fig/}}
\begin{document} %End of preamble and beginning of text.
\input{Title.tex} %Title page
%-----------------------------------------------------------------------------
\newpage
\pagenumbering{roman} %added it if has Acknowledgment
\begin{abstract}
\input{Abstract}
\end{abstract}
%-----------------------------------------------------------------
\newpage
\chapter*{ကျေးဇူးတင်လွှာ}
\addcontentsline{toc}{chapter}{ကျေးဇူးတင်လွှာ}
\input{Acknowledge}
% -----------------------------------------------------------------
\newpage
\addcontentsline{toc}{chapter}{မာတိကာ}
\tableofcontents
%------------------------------------------------------------------
\newpage
\addcontentsline{toc}{chapter}{ပုံများ}
\listoffigures
%-----------------------------------------------------------------
\newpage
\addcontentsline{toc}{chapter}{ဇယားများ}
\listoftables
\clearpage
%-----------------------------------------------------------------
\newpage
\markboth{သင်္ကေတများ}{သင်္ကေတများ}
\chapter*{သင်္ကေတများ\hfill}
\addcontentsline{toc}{chapter}{သင်္ကေတများ}
\input{ListOfSymbols}
\clearpage
%-----------------------------------------------------------------
\newpage
\pagenumbering{arabic}
\setcounter{page}{1}
%-----------------------------------------------------------------
%For code listing number
\renewcommand{\thelstlisting}{\burmesecounter{chapter}.\burmesecounter{lstlisting}}
%-----------------------------------------------------------------
\input{Ch_Intro}
%-----------------------------------------------------------------
\input{Ch_Description}
%-----------------------------------------------------------------
\input{Ch_Conclusion}
%-----------------------------------------------------------------
\appendix
\input{ApErr}
%-----------------------------------------------------------------
\bibliographystyle{ieeetr}
\bibliography{./Files/Ref}
\addcontentsline{toc}{chapter}{အကိုးအကားများ}
% -----------------------------------------------------------------
\end{document}
% -----------------------------------------------------------------