1

Would anyone know how to set up a vertical bar in the table so it is proportional at both ends of the table?

enter image description here

Code:

\newcolumntype{L}{p{0.00\textwidth}}
\newcolumntype{R}{>{\raggedright\arraybackslash}p{1.0\textwidth}}
\newcommand\VRule{\color{lightgray}\vrule width 0.5pt}
\begin{tabular}{L!{\VRule}@{\hspace{5pt}}R}
& Instructor of record...
& Introduce...
& Demonstrate...
& Develop...
\end{tabular}
  • Hi! Welcome to TeX.SX! N.B.: You are not comparing the distance above the top of the I with the distance below the bottom of, for example, the p – Au101 Oct 13 '15 at 4:25
1

My suggestion would be to insert a strut of appropriate height as the difference you notice really depends on what the tabular contents. Below I've inserted a .9\normalbaselineskip strut which increases the height of the first line every so slightly:

enter image description here

\documentclass{article}

\usepackage{array,xcolor}

\newcolumntype{L}{p{0pt}}
\newcolumntype{R}{>{\raggedright\arraybackslash}p{.5\linewidth}}
\newcommand\VRule{\color{lightgray}\vrule width 0.5pt}

\begin{document}

\noindent
\begin{tabular}{L!{\VRule}@{\hspace{5pt}}R}
  \rule{0pt}{.9\normalbaselineskip}
  & Instructor of record for \ldots \\
  & Introduce basic principles \ldots \\
  & Demonstrate engineering \ldots \\
  & Develop syllabus, \ldots
\end{tabular}

\end{document}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.