# Making outdented/grayed block in CV

This page has a tutorial for making CV, but it doesn't have the example to make grayed/outdented section as follows:

How can I make this? The copied code from the poster without the outdenting/grayed area is as follows.

\documentclass[a4paper, oneside, final]{scrartcl}

\usepackage{soul}
\usepackage{scrpage2}
\usepackage{titlesec}
\usepackage{marvosym}

\titleformat{\section}{\large\scshape\raggedright}{}{0em}{}[\titlerule]

% add the symbols for email and phone contact data
\cofoot{\so{Liefdestraat, 7 - 1234LI, Amsterdam, Nederland}\\
\so{ {\Large\Letter} jeff@gmail.com \ {\Large\Telefon} +31 (0)6 12345678}}

\begin{document}
\begin{center}

\textsc{\Huge{\so{Iulius Caesar}}}

\section{Experiences}
\section{Skills}
\section{Education}
\section{Publications}
\section{Personal Info}
\section{Languages}
\section{Interests}

\end{center}
\end{document}


### Update package if necessary

One needs to update enumitem package with tlmgr update --self when the output is as follows:

-
You can use the package framed. –  Marco Daniel Apr 27 '12 at 21:19

The following could be a start:

\documentclass[a4paper, oneside, final]{scrartcl}
\usepackage{soul}
\usepackage{scrpage2}
\usepackage{titlesec}
\usepackage{marvosym}
\usepackage{xcolor}% http://ctan.org/pkg/xcolor
\usepackage{enumitem}% http://ctan.org/pkg/enumitem
\usepackage{framed}% http://ctan.org/pkg/framed
\usepackage{lipsum}% http://ctan.org/pkg/lipsum

\newlist{experience}{description}{1}
\setlist[experience]{labelwidth=7em,align=right}
\setlength{\FrameSep}{0pt}
\titleformat{\section}{\large\scshape\raggedright}{}{0em}{}[\titlerule]

% add the symbols for email and phone contact data
\cofoot{\so{Liefdestraat, 7 - 1234LI, Amsterdam, Nederland}\\
\so{ {\Large\Letter} jeff@gmail.com \ {\Large\Telefon} +31 (0)6 12345678}}

\begin{document}
\begin{center}
\textsc{\Huge{\so{Iulius Caesar}}}
\end{center}

\section{Experiences}
\begin{experience}
\item[Period] \textbf{October 2006 --- today}
\item[Employer] \textbf{TomTom BV} \hfill Amsterdam, The Netherlands\mbox{\hspace*{.5em}}
\item[Job Title] \textbf{Architect/Senior Programmer}
\item[Languages] C++, Java
\end{experience}
\begin{experience}[leftmargin=\dimexpr\FrameRule+7em+\labelsep]
\item[] \unskip\lipsum[1]
\end{experience}

\section{Skills}
\section{Education}
\section{Publications}
\section{Personal Info}
\section{Languages}
\section{Interests}

\end{document}


Items are organised within an experience list which is based on description. All of which are set using enumitem. framed provides the shaded box (via the shaded environment), while lipsum provides some dummy text, Lorem Ipsum-style.

Settings for the shaded box is controlled via \FrameRule and \FrameSep, while the color is set using \definecolor{shadecolor}. Read more on this in the framed documentation.

-
I tried your solution to get a different result, and I updated my post. Could you care to check? –  prosseek Apr 28 '12 at 4:50
@prosseek: Did you compile my MWE as-is? If so, please include \listfiles in your preamble and include the contents after *File List* in your .log file. It could be that you have an outdated enumitem package (my version is 2011/09/28 v3.5.2). –  Werner Apr 28 '12 at 5:07
Yes, it works fine with the package update. Thanks. –  prosseek Apr 28 '12 at 6:15