summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2023-10-29 17:50:21 +0900
committerNguyễn Gia Phong <cnx@loang.net>2023-10-29 17:50:21 +0900
commit53bab81dc1230edab6248a5c4d1b0794f99c9d91 (patch)
treed7e7b0d59f182debbaca38d6ffff70eb950a5fee
parent29ec67340c03fb15dce465381737b96e12ef764b (diff)
downloadthesis-53bab81dc1230edab6248a5c4d1b0794f99c9d91.tar.gz
Add nix shell manifest
-rw-r--r--all.tex6
-rw-r--r--shell.nix8
2 files changed, 9 insertions, 5 deletions
diff --git a/all.tex b/all.tex
index 4073a61..1ac8e96 100644
--- a/all.tex
+++ b/all.tex
@@ -1,8 +1,6 @@
 \documentclass[11pt, a4paper, onecolumn, oneside]{report}
 \usepackage[vietnamese,english]{babel}
 \usepackage{mathptmx}
-\usepackage[T1]{fontenc}
-\usepackage[utf8]{inputenc}
 \RequirePackage[top=3cm, bottom=1in, left=1in, right=1in]{geometry}
 \linespread{1.3}
 
@@ -13,13 +11,11 @@
 \usepackage{caption}
 \usepackage{cases}
 \usepackage{cite}
-\usepackage{enumerate}
 \usepackage{fancyhdr}
 \usepackage{glossaries}
 \usepackage{graphicx}
 \usepackage[hidelinks]{hyperref}
 \usepackage{pdfpages}
-\usepackage{subcaption}
 \usepackage{tikz}
 \usepackage{tocloft}
 
@@ -88,7 +84,7 @@
 \listoffigures{}
 \thispagestyle{empty}
 \clearpage
-\renewcommand{\glossaryname}{\hfill\Large Glossary\hfill\hfill}
+\renewcommand{\glossaryname}{\hfill\Large Technical Terms\hfill\hfill}
 \printnoidxglossaries
 \thispagestyle{empty}
 \clearpage
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..434dbe1
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,8 @@
+with import <nixpkgs> { };
+mkShell {
+  packages = [ (texlive.combine {
+    inherit (texlive) scheme-basic algorithms algorithmicx amsmath
+      babel-vietnamese caption cases cite fancyhdr float glossaries
+      hyperref pdflscape pdfpages pgf psnfss rsfs times tocloft vntex;
+  }) ];
+}