I've seen the following table in paper and would like to reproduce it in LaTeX. The one thing that I'm struggling with is the broken horizontal lines between the two different "Dep. Var." columns (gap between model "(5)" and "(6)". What is a good way to achieve a similar effect in LaTeX? I can thing only of adding a narrow, empty "dummy" column. Any other ideas?
[Tex/LaTex] LaTeX table header with split horizontal lines
tables
Best Answer
Here is one way following your idea of inserting a narrow, empty "dummy" column
@{}p{...}@{}
:Here is another where you specify the column separation as a gap
@{...}
, and cut horizontal line a bit short:In both instances I've used
booktabs
andtabularx
to draw and stretch the table.geometry
was added to fit the table inside the margins. It may not be necessary for your end-use document.