summaryrefslogtreecommitdiff
path: root/install.latex.ubuntu.sh
diff options
context:
space:
mode:
authorTong Hui <tonghuix@gmail.com>2016-09-30 19:14:52 +0800
committerTong Hui <tonghuix@gmail.com>2016-09-30 19:14:52 +0800
commit9d5ff9651f52ca825285f542bbf0cb173b12a53a (patch)
treeb39c14c4afebdb585afc83106e794d9cfdcc101a /install.latex.ubuntu.sh
parente2f6efd13a4a6a8cb843ff9bb3e4386ba7f328c7 (diff)
downloadfsfs-zh-9d5ff9651f52ca825285f542bbf0cb173b12a53a.tar.xz
add latex install script for ubuntu
Diffstat (limited to 'install.latex.ubuntu.sh')
-rwxr-xr-xinstall.latex.ubuntu.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/install.latex.ubuntu.sh b/install.latex.ubuntu.sh
new file mode 100755
index 0000000..0af07b1
--- /dev/null
+++ b/install.latex.ubuntu.sh
@@ -0,0 +1,9 @@
+sudo apt-get -y install texlive-xetex
+sudo apt-get -y install texlive-latex-recommended # main packages
+sudo apt-get -y install texlive-latex-extra # package titlesec
+sudo apt-get -y install ttf-wqy-microhei ttf-wqy-zenhei # from WenQuanYi
+sudo apt-get -y install texlive-fonts-recommended
+sudo apt-get -y install latex-cjk-all fonts-liberation ttf-liberation
+sudo apt-get -y install fonts-arphic-gkai00mp fonts-arphic-ukai latex-cjk-chinese-arphic-gkai00mp #install Kaiti font
+sudo apt-get -y install fonts-arphic-gbsn00lp latex-cjk-chinese-arphic-gbsn00lp
+sudo fc-cache