怎样画等角三角形?

怎样画等角三角形?

我想画一个等角三角形(像下面这样),但用小句子代替 A、B、C

在此处输入图片描述

谢谢

答案1

使用tkz-euclide包:

\documentclass{article}
\usepackage{tkz-euclide}
\begin{document}
\begin{tikzpicture}
        \tkzDefPoints{0/0/A,3/0/B}
        \tkzDefPointBy[rotation=center A angle 60](B)\tkzGetPoint{C}
        \tkzDrawPolygon(A,B,C)
        \tkzLabelPoint[above](C){Top small sentence}
        \tkzLabelPoint[below left](A){below left small sentence}
        \tkzLabelPoint[below right](B){below right small sentence}
        \tkzDrawPoints(A,B,C)
\end{tikzpicture}
\end{document}

在此处输入图片描述

答案2

\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=2]
  \draw (0,0) node[left]{this is a small sentence}
  -- (1,0) node[right]{this is another}
  -- ++ (120:1) node[above]{a final small sentence}
  -- cycle;
\end{tikzpicture}
\end{document}

答案3

使用 Mathcha 编辑器只是为了好玩:

在此处输入图片描述

\documentclass{article}
\usepackage{tikz}
\begin{document}
\tikzset{every picture/.style={line width=0.75pt}} %set default line width to 0.75pt        

\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
%uncomment if require: \path (0,300); %set diagram left start at 0, and has height of 300

%Shape: Triangle [id:dp007425499608796571] 
\draw   (301.4,53) -- (397.8,210.8) -- (205,210.8) -- cycle ;

% Text Node
\draw (160,203) node [anchor=north west][inner sep=0.75pt]   [align=left] {Here\\there is another small sentence};
% Text Node
\draw (306,31) node [anchor=north west][inner sep=0.75pt]   [align=left] {this is a small sentence};
% Text Node
\draw (409.41,197) node [anchor=north west][inner sep=0.75pt]  [xslant=-0.07] [align=left] {another \\ small sentences};


\end{tikzpicture}
\end{document}

相关内容