Letters in a table touch the line above or below. To add a tiny space in between, I did the following:
(1) I created the following commands in my preamble:
1 2 3 4 |
\newcommand{\T}{\rule{0pt}{2.6ex}} \newcommand{\B}{\rule[-1.2ex]{0pt}{0pt}} \newcommand{\TT}{\rule{0pt}{3ex}} \newcommand{\BB}{\rule[-2ex]{0pt}{0pt}} |
Background knowledge: latex command rule: \rule[raise-height]{width}{thickness}
- raise-height specifies how high to raise the rule (optional)
- width specifies the length of the rule (mandatory)
- thickness specifies the thickness of the rule (mandatory)
(2) In the table, it looked like this:
1 2 3 4 5 6 7 |
\begin{table} \begin{tabularx}{\textwidth}{ l r d d X } content \T & very & interesting & must & read \\ content & very & interesting & must & read \\ content \B & very & interesting & must & read \\ \end{tabularx} \end{table} |
Several latex runs might be necessary to activate the command.
It should work in all common table environments (tabularx, tabular, longtable, … )