I know how tow draw the:
\triangle{ABC}
it will show
but how can I draw the:
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}
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}
just-do-it-for-mesite. – Raaja_is_at_topanswers.xyz Jul 01 '19 at 08:02\triangleis 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