More specifically, the line should take all the height of the page, and be placed on the left of the first page (odd number), on the right of the second page (even number), and so on. Take note that the line should also appears on the pages with a roman number (i, ii, iii, iv, ... for the ToC and other frontmatter contents).
The line's horizontal distance from the paper's border should be 0.5in.
Here's a mwe, without the vertical line :
Code: Select all
\documentclass[12pt,letterpaper,twoside]{book}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[total={6in,10in},left=1.5in,top=0.5in,includehead,includefoot]{geometry}
\usepackage{lipsum}
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{Test chapter one}
\lipsum[1-7]\clearpage
\chapter{Test chapter two}
\lipsum[1-10]
\end{document}