1

How do I decrease the space between the rows in the table shown? I was unable to do so using \arrayrowstretch and \extrarowheight. Here is the code I used:

\newcommand*{\cvpressentry}[4]{
  {\setlength\tabcolsep{1ex}}
  {\setlength{\extrarowheight}{0pt}}
  \def\arraystretch{0.7}
  \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}L{1.5cm} L{14.5cm}}    
           \publdatestyle{#1} & \publpubtitlestyle{#2}  \publauthorstyle{#3} \publvenuestyle{\href{#4}{\faExternalLink}}
  \end{tabular*}

table with row borders showing the space between the rows

The table \hlines are added for clarity of the issue.

UPDATE: Based on the Sveinung's observation of separate tabular environments, I removed it and made it into a single tabular environment and it solved the problem.

1

It seems from your code that each text line is a separate tabular. The space between tabulars may be reduced by different means, but the simplest may be to set a negative space before the tabular:

\newcommand*{\cvpressentry}[4]{
  {\setlength\tabcolsep{1ex}}
  {\setlength{\extrarowheight}{0pt}}
  \def\arraystretch{0.7}
  \vspace{-10pt}              %% <- test with different values
  \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}L{1.5cm} L{14.5cm}}    
           \publdatestyle{#1} & \publpubtitlestyle{#2}  \publauthorstyle{#3} \publvenuestyle{\href{#4}{\faExternalLink}}
  \end{tabular*} 

NB! Not tested (you have not provide a compilable MWE).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.