I would like to position some grafics in an special order and layout. I try to seperate one "column" using vrule
as you can see here, the vrule is not aligned on both positions, but for me the width settings of both "rows" looks like the same.
here is the code I'm using:
\documentclass{article}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subfig}
\begin{document}
\begin{figure} [h]
\centering\renewcommand{\thesubfigure}{a}
\subfloat[A Text]{
\includegraphics[width=0.28\textwidth]
{example-image}}
\hspace{0.03\textwidth} \renewcommand{\thesubfigure}{b}
\subfloat[B Text]{
\includegraphics[width=0.28\textwidth]
{example-image}}
\hspace{0.03\textwidth} \vrule\ \hspace{0.015\textwidth} \renewcommand{\thesubfigure}{e}
\subfloat[E Text]{
\includegraphics[width=0.28\textwidth]
{example-image}}
\renewcommand{\thesubfigure}{c}
\subfloat[C Text]{
\includegraphics[width=0.28\textwidth]
{example-image}}
\hspace{0.03\textwidth}\renewcommand{\thesubfigure}{d}
\subfloat[D Text]{
\includegraphics[width=0.28\textwidth]
{example-image}}
\hspace{0.03\textwidth} \vrule\ \hspace{0.015\textwidth} \renewcommand{\thesubfigure}{f}
\subfloat[F Text]{
\includegraphics[width=0.28\textwidth]
{example-image}}
\captionof{figure}[]{A-F Text}
\end{figure}
\end{document}
any suggestions why it is not aligned?


example-imageas the image, which is in distributions for that use. – David Carlisle May 08 '17 at 19:00example-image– flor1an May 08 '17 at 19:08\hspace{0.03\textwidth} \renewcommand{\thesubfigure}{b}, i.e.:\hspace{0.03\textwidth}\renewcommand{\thesubfigure}{b}– esdd May 08 '17 at 19:16\captionof? – egreg May 09 '17 at 06:04