%我的 tex 模版 documentclass[UTF8,a1paper,landscape]{ctexart}%UTF8 中文支持,a1paper 纸张大小,landscape 横向版面,ctexart 中文文章 usepackage{tikz}%图包 usetikzlibrary{trees}%树包 usepackage{geometry}%页边距设置 geometry{top=5cm,bottom=5cm,left=5cm,right=5cm} usepackage{fancyhdr}%页头页尾页码设置 pagestyle{fancy} egin{document} itle{标题} author{作者} maketitle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ewpage%另起一页 egin{center}%居中 egin{tikzpicture} [ grow=right, r/.style={rectangle,draw,fill=red!20,align=center,rounded corners=.8ex}, g/.style={rectangle,draw,fill=green!20,align=center,rounded corners=.8ex}, b/.style={rectangle,draw,fill=blue!20,align=center,rounded corners=.8ex}, grow via three points={one child at (0.5,-0.7) and two children at (0.5,-0.7) and (0.5,-1.4)}, edge from parent path={( ikzparentnode.south)|-( ikzchildnode.west)}, ]%属性定义 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 用户编辑处 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% end{tikzpicture} end{center} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% end{document}