如何在 LaTeX 中绘制三角形? 2024-5-24 • tikz-pgf 我知道如何绘制: \triangle{ABC} 它将显示 但是我该如何绘制: 答案1 PSTricks 解决方案仅用于娱乐或比较目的。使用xelatex或进行编译latex-dvips-ps2pdf。 \documentclass[pstricks,12pt]{standalone} \usepackage{pst-eucl} \begin{document} \pspicture(8,6) \pstTriangle(1,1){A}(7,1){C}(7,5){B} \pstRightAngle{A}{C}{B} \endpspicture \end{document} 答案2 和tikz, \documentclass[border=3mm]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0)node[below left]{A} -- ++(2,0)node[below right]{C}coordinate(C) -- ++(0,2)node[below right]{B} -- cycle; \draw (C) +(-3mm,0mm) |- +(0mm,3mm); \end{tikzpicture} \end{document} 相关内容 乳胶中的边距 Linux(openSUSE)中是否有类似“WIN + 左箭头”的组合键? 基于标签的目录 逐个对服务器进行 haproxy 备份/故障转移 截断具有大值的奇异三维曲面图 保留 LINK 字段中的嵌套字段代码 英特尔 Turbo Boost 无法正常工作 18.04 Mutt send-hook 来清理“收件人”地址? 流量整形 如何在我的网络服务器中设置 SSL