I have a tabbing
environment and I want next to some text lines a horizontal line up to the end of the page. \hrulefill
won't work because of the tabbing
. The \noindent\rule{x}{y}
will put a line, but since the text lines end at a different point the lines with the defined length will too.
\documentclass{article}
\begin{document}
\begin{tabbing}
\textbf{whatever short} \= \noindent\rule{20cm}{0.5pt} \\
2005-2014 \> doesn't matter\\
\> \textit{doesn't matter}\\
2011-2012 \> doesn't matter\\
\> \textit{doesn't mattter}\\
\textbf{whaaaaaaateeeeeeeever long} \noindent\rule{13cm}{0.5pt} \\
from 10/2012 \> first one\\
\> \textit{2nd one}\\
07/2015 - 12/2015 \> first one\\
\> \textit{2nd one}
\end{tabbing}
\end{document}