I want to remove the border spacing of a table created by longtable package. I wish to preserve the column spacing as such and wish to only remove the right side border spacing so that a two column table spanning in two pages will be well aligned. I'm aware of using \brgin{tabular}{@{}ll@{}} for removing table border space in normal table or tabular environment. I'm using the table for creating a table inside a section of my resume made using res.cls. I've also attached a screenshot of the problem that I'm facing.
Asked
Active
Viewed 504 times
0
1 Answers
3
longtable are centred by default so you want a left-algned one with no column padding on the left so
\begin{longtable}[l]{@{}ll}
David Carlisle
- 757,742

@{}also works inlongtables. You might want to add theloption as in\begin{longtable}[l]{@{}l}. – leandriis May 19 '19 at 12:37res.cls. Alternative might be found for example here: LaTeX template for resume/curriculum vitae – leandriis May 19 '19 at 12:40moderncvand other packages. This one is for academic purpose. I tried\begin{longtable}[@{}ll], but the table collapsed and now it's like the skills section is looking like it's written using normal line breaks. @leandriis – Govind May 19 '19 at 12:52@{}to remove the inter-column space but what we can not see without code is why the text "National institute..." is not already aligned – David Carlisle May 19 '19 at 12:53\begin{longtable}[@{}ll]then you would have had multiple errors reported, the column specifications have to go in a mandatory{}argument not an optional[]one. Please show your actual code, in a code block in your question. – David Carlisle May 19 '19 at 12:55