TransWikia.com

Flushing with hfill under tabular (for resume template)

TeX - LaTeX Asked on June 6, 2021

I am having trouble flushing the years all the way to the right on the same line with the company name. I tried /hfill but failed. I think my tabular format is actually not ideal to do so. Any suggestions to improve what I have below? It is a part of a resume template!!

documentclass[letterpaper,11pt,oneside]{article}
begin{document}
        noindent begin{tabular}{@{} l l}
           large{Internships}   & ABC Company hfill 2020--Present
           & ABC Corp hfill 2019-2020 
         & Non-profit hfill 2018-2019
         end{tabular}
end{document}

One Answer

This works:

documentclass[letterpaper,11pt,oneside]{article}
usepackage{tabularx} 

begin{document}

        noindent begin{tabularx}{linewidth}{@{} l Xr}
           large{Internships} & ABC Company & 2020--Present
           & ABC Corp & 2019-2020 
         & Non-profit & 2018-2019
         end{tabularx}

end{document}

enter image description here

Correct answer by Bernard on June 6, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP