2

I know how tow draw the:

\triangle{ABC}

it will show

enter image description here

but how can I draw the:

enter image description here

244boy
  • 125
  • 1
    Welcome to TEXSE, please show us what you have tried so-far in the form of an MWE. Please note that this site is not a just-do-it-for-me site. – Raaja_is_at_topanswers.xyz Jul 01 '19 at 08:02
  • I found all of the LaTeX mathetical signals, do not found it. I only can found the $\triangle{ABC}$. – 244boy Jul 01 '19 at 08:03
  • have a look here: https://tex.stackexchange.com/questions/15779/materials-for-learning-tikz this may serve for you as a starting point. – Raaja_is_at_topanswers.xyz Jul 01 '19 at 08:05
  • 1
    \triangle is a symbol which does not even take an argument. You on the other hand do not want a symbol but to draw a triangle. You can search for "TikZ triangle" as a starting point. – TeXnician Jul 01 '19 at 08:06
  • 1
    You used the pgf-tikz tag. It is a good starting point. You must draw the triangle. How coud TeX guess you want this kind and size of trangle? – Alain Merigot Jul 01 '19 at 08:07

2 Answers2

6

A PSTricks solution only for either fun or comparison purposes. Compile it with xelatex or 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}

enter image description here

Display Name
  • 46,933
2

With 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}

enter image description here

StefanH
  • 13,823