\input{preamble-standalone.ltx} \begin{document} % Ex. No. 90 (Section 15.5.1 : Labels multiples) \begin{tikzpicture} \tkzInit \tkzDefPoint(0,0){A} \tkzDefPoint(6,0){B} \tkzDrawSegment(A,B) \tkzLabelSegment[above,pos=.8](A,B){$a$} \tkzLabelSegment[below,pos=.2](A,B){$4$} \end{tikzpicture} \end{document}