简历版式设计

简历版式设计

几周前我问过这个问题问题。现在我想知道如何在部分和部分区域之间画一条垂直线。因为它是简历,所以看起来会更漂亮。

答案1

一个简单的解决方案mdframed(根据您的需要更改长度):

\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}

在此处输入图片描述

相关内容