[Tex/LaTex] \parbox and horizontal rule inside a LaTeX table

spacingtables

I'm building a table and I wish to have the contents of one of my cells break a line in order to keep the table nice and tight and keep it on the page (not to mention avoid excess whitespace). So I'm using a \parbox.

However, because the content of some of the cells is in Hindi and the vowel diacritics tend to clash with horizontal rules (or at least everything has a very cramped appearance) I've decided to stretch the table out a bit by using

\renewcommand{\arraystretch}{1.75}

However, this of course means that there is far far too little vertical space (none, in fact) between the contents of the \parbox and the rule:

\documentclass[12pt]{article}

\renewcommand{\arraystretch}{1.75}

\begin{document}

\begin{tabular}{cc}
  \parbox{57pt}{\textsc{Inf}/\textsc{Ger}/\\ Obligatory} & Conjunctive
  \\ \hline
  Lorem & Ipsum
\end{tabular}

\end{document}

enter image description here

Clearly what I need is to specify a height of the \parbox, or add a strut. The problem is, I don't know what the normal vertical separation is! What I would like is precisely the normal amount of vertical space between content and rule but obviously that's taking into account the new value of \arraystretch.

Best Answer

see if one of the following solution is acceptable for you:

\documentclass[12pt]{article}
\usepackage{booktabs}

\begin{document}
    \begin{tabular}{p{57pt}c}
\textsc{Inf/Ger}/\newline Obligatory & Conjunctive  \\ \midrule
Lorem                                & Ipsum
    \end{tabular}

\bigskip

\renewcommand{\arraystretch}{1.2}
    \begin{tabular}{p{57pt}c}
\textsc{Inf/Ger}/\newline Obligatory & Conjunctive  \\ \hline
Lorem                                & Ipsum
    \end{tabular}
\end{document}

enter image description here

Related Question