I am trying to add a horizontal line in an align environment using the macro provided in this questiion and Package amsmath . The horziontal line looks okay with the equation but the contents below the line are right aligned .
\documentclass{sig-alternate-05-2015}
\usepackage{float}
\usepackage{amsmath}
\newcommand*{\tline}{%
\ifmeasuring@
% first measuring run
\else
% second run
% \typeout{\meaning\maxcolumn@widths}% debug info
\ifodd\column@
\expandafter\rlap
\else
\expandafter\llap
\fi
{%
\vrule height-1ex depth \dimexpr1ex+.4pt\relax width
\ifcase\numexpr\column@+1\expandafter\relax
\maxcolumn@widths
\fi
}%
\fi
}
\makeatother
\begin{document}
\begin{alignat*}{1}
\tau_{P1}.P1 \overset {\overline{pts_{p_1}}}\longrightarrow P1' \tau_{SC1}SC_1 \overset {{stp_{p_1}}.\overline{stp_{p_1}}}\longrightarrow SC1'
\tline\tline \\
P1|SC1|P2 \longrightarrow P1
\end{alignat*}
\end{document}
Below is how the final PDF looks like so : How can i make the beow 2 changes : 1) notations below the horizontal line to be center aligned with the line and 2) add a tab space before SC1 in the below diagram



\documentclass{...}, the required\usepackage's,\begin{document}, and\end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Holene Mar 14 '16 at 12:07\underline{}in agatherenvironment instead solve your problem? – Holene Mar 14 '16 at 12:57\fracor\dfrac? – daleif Mar 14 '16 at 14:16