Problem
I'm trying to create fancy section heading using titlesec. I need to put the section name into a \parbox to have line breaks. I want the parbox to extend to the far right margin, but I don't know how to achieve this.
MWE
\documentclass[draft]{article}
\pagestyle{empty}
\usepackage[explicit]{titlesec}
\usepackage{xcolor,lipsum}
%% Section
\titleformat{\section}[block]%
{\normalfont\sffamily}%
{\colorbox{black}{\parbox[c][17pt][c]{30pt}{%
\hfil\color{white}\Large\thesection\hfil}}}%
{0.15cm}%
{%
\raisebox{-3pt}{\parbox{10.5cm}{\hspace*{0.7pt}\color{black}\Large\sffamily#1\\[-3.5pt]%
\color{black}\footnotesize\textbf\dotfill}}%
}
\titlespacing*{\section}
{0pt}{3.5ex plus 1ex minus .2ex}{1.3ex plus .2ex}
\begin{document}
\section{Ridiculously overly extermely long section title, that definitely spans several lines.}
\lipsum[2]
\end{document}


\textwidthor\linewdith. – Sigur Nov 27 '13 at 21:39\hsize(link) – masu Nov 27 '13 at 21:39