draw a B+ tree in latex

[亡魂溺海] 提交于 2019-12-11 02:17:22

问题


Is there some way to draw a B+ tree in latex? It would look something like the picture below (ignoring the animations)


回答1:


You can use PGF/Tikz to draw vector graphics with latex. I was satisfied with this latex package. It has a very detailed manual with many examples. Chapter 11.6 of the manual gives a Special syntax for Specifying Trees.




回答2:


I don't know if it's possible to draw the B+ tree directly in LaTeX, but it's definitely possible to include an image. With GraphicX installed, insert \usepackage{graphicx} in the header and \includegraphics{imagefilename} and the body. See this Wikibook on LaTeX for more information.



来源:https://stackoverflow.com/questions/5878286/draw-a-b-tree-in-latex

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!