In the article class with twocolumn option, I can set figures which spread all over the column space with figure and all over the text space with figure*. I have two subfigures, containing a picture, in a text-space figure and I want the inner pictures to be horizontally aligned with the corresponding ones in column-space figures (all pictures have the same width):
Using
for textwidth,
for columnwidth,
for the picture width,
for the space occupied by hfill and
for a hspace set to an arbitrary value.
To achieve this, I can use an adjustable hspace just as following:
\null\hfill
{picture 1}
\hspace{\hs} % adjustable space
{picture 2}
\hfill\null
And I can determine the adjustable space hs for the pictures to be horizontally aligned:

But I get an unwanted space on the right:
What is wrong?
MWE:
(I have used the lipsum package to adjust figures so as to be close each other.)
\documentclass[11pt,a4paper,twocolumn]{article}
\usepackage{calc}
\usepackage{lipsum}
\newlength{\pict}
\setlength{\pict}{5cm}
\begin{document}
\lipsum[1-3]
%
\begin{figure*}
\null\hfill
%
\rule{\pict}{1cm}
%
\newlength{\hs}% adjustable space
\setlength{\hs}{\linewidth-\columnwidth-\pict}%
\hspace{\hs}%
%
\rule{\pict}{1cm}
%
\hfill\null
\end{figure*}
%
\lipsum[4-5]
\lipsum[11]
%
\begin{figure}[h]
\centering
\rule{\pict}{1cm}
\end{figure}
%
\lipsum[7-11]
\end{document}

