7

This is the triangle I want to draw. I have used GeoGebra to draw this, so in LaTeX I do not want to draw these: "=45°",and the points.

I want to draw a triangle (with the package TikZ). I don't know how to draw the line, which links the BC points. I know I have to use these commands: +(a,b), ++(a,b), (a:b|-c,d). Unfortunately I cannot use any of these commands, so please explain, how to use these commands and what do they mean.

Please, introduce the commands in detail. And also, I need the line, which links the points AB. I do not need the points and the "=45°" in my LaTeX document.

  • 2
    Here you can find a very good user guide with facilities. ctan.org/pkg/tkz-euclide See Sections 14.2.1 triangle de Pythagore and 14.12.1 Colorier un polygone. – Sigur May 11 '15 at 17:14
  • Welcome to TeX.sx! Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you. – adn May 11 '15 at 19:51
  • I'm assuming that @Sigur knows you can read French... – cfr May 11 '15 at 20:24
  • @cfr, I don't, know. But I informed the section number. It is easy to see the code. – Sigur May 12 '15 at 4:56
14

I probably do not know tikz more than you (being a MetaPost user), but out of curiosity I've just consulted the quite elegant tutorial at the beginning its documentation (p. 28-93), and I've come to this result:

\documentclass[12pt, border=5mm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw (0,0) node[anchor=north]{$A$}
  -- (4,0) node[anchor=north]{$C$}
  -- (4,4) node[anchor=south]{$B$}
  -- cycle;
\end{tikzpicture}
\end{document}

enter image description here

This tutorial has probably the answers to most of your questions: a must-read.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.