-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreamble.sty
113 lines (100 loc) · 2.59 KB
/
preamble.sty
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
104
105
106
107
108
109
110
111
112
113
\usepackage[subpreambles=false]{standalone}
\usepackage{import}
\usepackage{amsmath, amsthm, amssymb, mathtools}
\usepackage[backend=biber, style=numeric]{biblatex}
\usepackage{enumitem}
\usepackage{fancybox}
\usepackage{forloop}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{iftex}
\usepackage{indentfirst}
\usepackage{scrextend} % adjust local margin
\usepackage{tabu, longtable, booktabs, multirow, makecell, caption}
\usepackage{titlesec}
\usepackage[nottoc]{tocbibind}
% Last packages to be loaded
\usepackage[unicode]{hyperref}
\usepackage[numbered]{bookmark}
\ifPDFTeX
\usepackage[utf8]{vntex}
\usepackage{mathptmx}
\fi
\ifXeTeX
\usepackage{fontspec}
\usepackage[vietnamese]{babel}
\setromanfont{Times New Roman}
\setmonofont[Ligatures=TeX]{Consolas}
\fi
\geometry{
a4paper,
top=3cm,
bottom=3.5cm,
left=3.5cm,
right=2cm
}
\author{Huỳnh Quang Dự}
\title{TÌM HIỂU MÃ HÓA DỰA TRÊN ĐỊNH DANH VÀ ỨNG DỤNG}
\date{Tháng 5, 2019}
\renewcommand*{\small}{
\fontsize{10pt}{12pt}\selectfont
}
\renewcommand*{\normalsize}{
\fontsize{13pt}{15.6pt}\selectfont
}
\renewcommand*{\large}{
\fontsize{14pt}{16.8pt}\selectfont
}
\renewcommand*{\Large}{
\fontsize{16pt}{19.2pt}\selectfont
}
\newcommand*{\rootPath}{D:/WORK/Thesis/Thesis}
% \addbibresource{\rootPath/bibliography.bib}
\addbibresource{\rootPath/bibliography_full.bib}
% \addbibresource{\rootPath/conference.bib}
\newtheorem*{theorem}{Định lý}
% \newtheorem{proposition}[theorem]{Mệnh đề}
% \newtheorem{lemma}[theorem]{Bổ đề}
\theoremstyle{definition}
\newtheorem{definition}{Định nghĩa}[chapter]
% \newtheorem{example}[theorem]{Ví dụ}
\theoremstyle{remark}
\newtheorem*{remark}{Nhận xét}
\newenvironment{game}[2]{\par\noindent\textbf{#1} (#2). \hspace{1ex}}{}
\newenvironment{problem}[2]{\par\noindent\textbf{#1 (#2).} \hspace{1ex}}{\par}
\newsavebox{\mybox}
\newenvironment{supposition}[1]
{
\noindent
\begin{lrbox}{\mybox}
\begin{minipage}{\textwidth}
\vspace{0.2\baselineskip}
\hspace{1ex}
\textbf{Giả thiết.} (#1)
\vspace{0.2\baselineskip}
\begin{addmargin}[1cm]{0.5cm}
}
{
\end{addmargin}
\vspace{0.5\baselineskip}
\end{minipage}
\end{lrbox}
\fbox{\usebox{\mybox}}
\par
}
\hypersetup{
colorlinks=false,
pdftitle=\@title,
pdfauthor=\@author,
bookmarks=true,
bookmarksopen=true,
linkbordercolor={1 1 1},
citebordercolor={1 1 1},
urlbordercolor={1 1 1}
}
\urlstyle{same}
\newcommand{\algo}{$\mathcal{A}\ $}
\newcommand{\adversary}{$\mathcal{A}\ $}
\newcommand{\challenger}{$\mathcal{C}\ $}
\newcommand{\scheme}{$\mathcal{E}\ $}
\newcommand{\abs}[1]{\left| \ #1 \ \right|}