I am trying to remove the whitespace above a title that is formatted with leftmargin and that also has an image as part of it. The problem is very similar to this question, but the solution there does not work for me and it is not using leftmargin. There are a variety of other similar questions, but none that I can find with solutions to this particular situation.
When I remove the leftmargin formatting the space disappears.
My code is as follows. I would welcome any feedback as to whether there is a better way of achieving the same result (with a wide left margin).
\documentclass[a4paper]{article}
\usepackage[document]{ragged2e}
\usepackage{graphicx,titlesec,lipsum}
\usepackage[vmargin=0.8cm,hmargin={8.3cm,0.8cm},showframe]{geometry}
% Unrelated: how do you include parameters to commands in \titleformat
\newcommand{\includerotate}[1]{\includegraphics[angle=180,origin=c]{#1}}
\titleformat{\section}[leftmargin]
{\huge}
{}
{0em}
{}
[\hspace{-7.5cm}\includerotate{3_lines.pdf}\\]
\titlespacing{\section}
{0cm}{0pt}{7.5cm}
\begin{document}
\section{service overview}
\lipsum[1-2]
\end{document}
Which produces the following document. The whitespace that I am trying to remove is between the top margin and the coloured line. Here is a link to 3_lines.pdf if you want to compile the code.



3_lines.pdf not found. – Bernard Apr 03 '14 at 13:18