[Tex/LaTex] drawing a basic line segment


please excuse my ignorance because I am VERY new to latex (2 days).

Before I ask my basic question, is anyone aware of a beginners guide to creating basic docs in Latex? I have seen a few "cheat sheets" out there but nothing that provides the basics of getting started.

Anyways, here is my question.

I am looking to create a simple line segment, (180 degrees) with arrows on both ends. On this line segment, I would like to plot and label three points, A, B, C.

Best Answer

Like this?


  mynode/.style={fill,circle,inner sep=2pt,outer sep=0pt}

    \draw[olive,thick,latex-latex] (0,0) -- (7,0)

enter image description here