![如何在简历乳胶中插入垂直线](https://linux22.com/image/343481/%E5%A6%82%E4%BD%95%E5%9C%A8%E7%AE%80%E5%8E%86%E4%B9%B3%E8%83%B6%E4%B8%AD%E6%8F%92%E5%85%A5%E5%9E%82%E7%9B%B4%E7%BA%BF.png)
答案1
假设你已经对布局进行了排序,可以通过以下方式在页面左侧放置垂直规则eso-pic
:
\documentclass{article}% Your resume class
\usepackage{eso-pic,xcolor,lipsum}
\newlength{\siderulewidth}\setlength{\siderulewidth}{25pt}
\definecolor{siderulecolor}{RGB}{139,196,128}
\AddToShipoutPictureBG{
\AtPageLowerLeft{%
\color{siderulecolor}\rule{\siderulewidth}{\paperheight}%
}
}
\begin{document}
\lipsum[1-50]% Your resume
\end{document}
如果您希望在垂直栏中添加一些内容:
\documentclass{article}% Your resume class
\usepackage{eso-pic,xcolor,graphicx,lipsum}
\newlength{\siderulewidth}\setlength{\siderulewidth}{25pt}
\definecolor{siderulecolor}{RGB}{139,196,128}
\AddToShipoutPictureBG{%
\AtPageLowerLeft{%
\rotatebox{90}{\colorbox{siderulecolor}{\makebox[\dimexpr\paperheight-2\fboxsep]{%
\Large
\rule[-.4\baselineskip]{0pt}{1.4\baselineskip}% strut
\textcolor{white}{Curriculum vitea}%
}}}
}
}
\begin{document}
\lipsum[1-50]% Your resume
\end{document}