为方便课件编写,本课件采用LaTex Beamer编写,并采用tikz对一些重要图形进行绘制,保证效果。普通读者请直接下载编译后的pdf文件。
欢迎反馈问题和建议。
首先安装完整的text-live,然后安装dot2tex
dot2tex的安装:
pip install dot2tex
课件编译:
xelatex -shell-escape ds.tex
对于dot文件,利用dot编译:
dot -Tpdf filename.dot -o filename.pdf
仓库中已经提交了dot编译后得到的pdf文件。
树: pdf/tree.pdf
图: pdf/graph.pdf
查找: pdf/serach.pdf
排序: pdf/sort.pdf
-
forest – Drawing (linguistic) trees https://www.ctan.org/pkg/forest
-
tikz-graph http://mirrors.ctan.org/macros/latex/contrib/tkz/tkz-graph/doc/tkz-graph-screen.pdf
-
graphviz: http://mirrors.huaweicloud.com/repository/toolkit/CTAN/macros/latex/contrib/graphviz/graphviz.pdf
-
dot2texi https://ctan.org/pkg/dot2texi
dot2texi与xelatex冲突,minted与lualatex冲突,暂时不用dot2texi,改用tkz-graph绘制图。
- tkz-graph