I want a vertical dashed line, the height being the height of the current line. Thus a direct counterpart to \vline. Currently, I'm using a workaround with the "arydshln" package:
Code: Select all
\begin{tabular}{c:c}
a & b
\end{tabular}
I was hoping for a more direct solution, along the lines of the following example, just with the "1cm" filled in automatically.
Code: Select all
\def\vdashline[1]{
\vbox to #1 {
\xleaders\vbox{\hrule height 4pt width 0.02cm\vskip 2pt plus 1fill}\vfill
}
}
a\vdashline{1cm}b
(Also, the above code does not handle the ends of the line correctly.)
Any advice (besides "stick with arydshln")?