This is the Latex code I have to create a table:
\documentclass{article}
\usepackage{amsmath}
\usepackage{tabularx}
\usepackage[top=0.5cm, bottom=0.5cm, left=0.5cm, right=0.5cm, columnsep=0.75cm]{geometry}
\begin{document}
\subsubsection*{Fourier Transform properties}
\begin{tabular}{l@\quad|@\quad l@\quad|@\quad l@\quad|@\quad l}
Property & Time domain & Frequency domain & Condition \\
\hline
Time-shift & $f(t - \tau)$ & $\hat{f}(\omega)e^{-i \omega \tau}$ \\
Frequency-shift & $f(t) e^{i \omega_0 t}$ & $\hat{f}(\omega - \omega_0)$ \\
Modulation Thm. & $f(t)\cos(\omega_0 t)$ & $\cfrac{\hat{f}(\omega-\omega_0)+\hat{f}(\omega+\omega_0)}{2}$ \\
Differentiation (time) & $f^{(n)}(t)$ & $(i\omega)^n \hat{f}(\omega)$ & $\lim_{t \to \pm \infty} f(t) = 0$
\end{tabular}
\end{document}
With this code there is no space between the rows in the table. How can I add some space (let's say 0.3 cm) between the rows? I've tried a few things, but they don't work as expected.
When using \setlength{\extrarowheight}{0.3cm}
, the table looks like this:
As you can see, no space is added between the third and the fourth row. Also, the text in the header row is aligned at the bottom, which does not look nice.
When using \renewcommand{\arraystretch}{1.8}
, the table looks like this:
This looks better, but the space between the second and third row is twice as big as the space between the third and fourth row.
Which command can I use that always puts the same amount of spacing between two rows?