# How to insert a vertical rule in a resume latex

I am designing my resume on latex and I need to put a colored vertical rule in my resume like this light green rule in this CV

• It would be helpful to show us what you have tried. Posting a minimal working example that indicates what you are trying to do makes it easier for people to understand what you want. It also makes it easier for people to help you, since they have some code to start from, and much more likely that some one will try to help you. – user30471 Nov 1 '16 at 4:02

Assuming that you already have the layout sorted, placement of a vertical rule along the left side of the page can be done by eso-pic:

\documentclass{article}% Your resume class

\usepackage{eso-pic,xcolor,lipsum}

\newlength{\siderulewidth}\setlength{\siderulewidth}{25pt}
\definecolor{siderulecolor}{RGB}{139,196,128}
\AtPageLowerLeft{%
\color{siderulecolor}\rule{\siderulewidth}{\paperheight}%
}
}
\begin{document}

\end{document}


If you wish to add some content to the vertical bar:

\documentclass{article}% Your resume class

\usepackage{eso-pic,xcolor,graphicx,lipsum}

\newlength{\siderulewidth}\setlength{\siderulewidth}{25pt}
\definecolor{siderulecolor}{RGB}{139,196,128}
\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}

\end{document}

• Perfect! Could we write a center vertical text like "Curriculum vitae" – BetterEnglish Nov 1 '16 at 18:30
• @BetterEnglish: See the updated answer. – Werner Nov 1 '16 at 20:22
• it does not work! it is an horizontal bar – BetterEnglish Nov 1 '16 at 20:24
• @BetterEnglish: Then why does it work in my minimal example? – Werner Nov 1 '16 at 20:26
• @Werner How to shift this green side rule forward by about 1cm so that it just touches the left side of the paragraph--so blank space 1cm+green vertical rule – js bibra Dec 20 '19 at 5:31