1

A few week ago I ask this question. Now I am wondering how it is possible to draw a vertical line between the section and the bibsection area. As it is a CV, it would look like nicer.

0

1 Answer 1

1

An easy solution using mdframed (change the lengths according to your needs):

\documentclass[10pt]{article}
\usepackage{calc}
\usepackage{graphicx}
\usepackage[framemethod=tikz]{mdframed}
\usepackage{caption}

\makeatletter
\newlength{\bibhang}
\setlength{\bibhang}{1em}
\newlength{\bibsep}
 {\@listi \global\bibsep\itemsep \global\advance\bibsep by\parsep}
\newenvironment{bibsection}%
        {\vspace{-\baselineskip}\begin{mdframed}[hidealllines=true,leftline=true,innerleftmargin=.5em,leftmargin=-.5em,skipabove=0pt]\begin{list}{}{%
       \setlength{\leftmargin}{\bibhang}%
       \setlength{\itemindent}{-\leftmargin}%
       \setlength{\itemsep}{\bibsep}%
       \setlength{\parsep}{\z@}%
        \setlength{\partopsep}{0pt}%
        \setlength{\topsep}{0pt}}}
        {\end{list}\end{mdframed}\vspace{-.6\baselineskip}}
\makeatother

\reversemarginpar

\usepackage[paper=a4paper,
            %includefoot, % Uncomment to put page number above margin
            marginparwidth=25mm,    % Length of section titles
            marginparsep=1.5mm,       % Space between titles and text
            margin=25mm,              % 25mm margins
            includemp]{geometry}

\usepackage{paralist}
\setlength{\parindent}{0in}



\usepackage{fancyhdr,lastpage}
\pagestyle{fancy}
\fancyheadoffset[L]{\dimexpr\marginparsep+\marginparwidth}
\fancyfootoffset{.2\textwidth}%\marginparsep+\marginparwidth
\lhead{The Curiculum Vitae of Vahid Ebrahimzade}
\rhead{\thepage}
\chead{}
\fancyfoot{}

\usepackage{color,hyperref}
\definecolor{darkblue}{rgb}{0.0,0.0,0.3}
\hypersetup{colorlinks,breaklinks,
            linkcolor=blue,urlcolor=blue,
            anchorcolor=blue,citecolor=kblue}

\renewcommand{\section}[2]%
        {\pagebreak[2]\vspace{1.3\baselineskip}%
         \phantomsection\addcontentsline{toc}{section}{#1}%
         \hspace{0in}%
         \marginpar{
         \raggedright \scshape #1}#2}

\newenvironment{innerlist}[1][\enskip\textbullet]%
        {\begin{compactitem}[#1]}{\end{compactitem}}

\newcommand{\blankline}{\quad\pagebreak[2]}

\begin{document}

\section{Forschungs-\newline t\"atigkeit}
%\vspace{.5cm}
\begin{bibsection}
\item Modellreduktion Methoden
\item Surrogate Modellierung; Polynomfunktion Methoden, Radiale Basisfunktion Methoden
\end{bibsection}

\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .