I am following this example to add text (in my case Math) inside tikz arrow nodes. In the cells adjacent to the arrows I have equations. I have two problems:
- How to horizontally align the arrow and equations?
- How to reverse the direction of the blue arrow? Instead of left to right, right to left (-Latex doesn't seem to work!? ).
Below is what I have so far.
\documentclass[table]{beamer}
\usetheme{Boadilla}
\usepackage{makecell}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{shapes, arrows, arrows.meta}
\begin{document}
\begin{frame}{Relationship Among Frequency Variables}
\begin{table}[]
\setlength{\tabcolsep}{6pt} % Default value: 6pt
\renewcommand{\arraystretch}{1.5} % Default value: 1
\begin{center}
\label{tab:table1}
\begin{tabular}{@{}ccc@{}} \toprule
Continuous-time signals & & Discrete-time signals \\
\midrule
$\Omega = 2\pi F$ & & $\omega = 2\pi f$ \\
$\frac{\text{radians}}{\text{sec}} \quad \text{Hz}$ & & $\frac{\text{radians}}{\text{sample}} \quad \frac{\text{cycles}}{\text{sample}}$ \\
\midrule
&
\begin{tikzpicture}[every node/.style={single arrow}]
\node (A) [draw,fill=red!10] {$\omega=\Omega T, f=F\//F_s$};
\end{tikzpicture}%
& $ -\pi \leq \omega \leq \pi $ \\
&
\begin{tikzpicture}[every node/.style={single arrow}]
\node (B) [draw,fill=blue!10, -Latex] {$\Omega=\omega\//T, F=f \cdot F_s$};
\end{tikzpicture}%
& $ -\frac{1}{2} \leq f \leq \frac{1}{2} $ \\
\midrule
$-\infty < \Omega < \infty$ & & $-\pi\//T \leq \Omega \leq \pi\//T$ \\
$-\infty < F < \infty$ & & $-F_{s}\//2 \leq F \leq F_{s}\//2$ \\
\bottomrule
\end{tabular}
\end{center}
\end{table}
\end{frame}
\end{document}


shape border rotate. I will add this option ASAP. – Zarko Feb 22 '21 at 09:54