\documentclass[12pt]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\RequirePackage{amsmath,amssymb,latexsym}
\pagestyle{empty}
\begin{document}
$  \overline{AB} = \overline{p} = (x_{p}, y_{p}, z_{p}), \overline{AC}=\overline{q}= (x_{q}, y_{q}, z_{q}) $
\end{document}
