The entries in cells need to appear one by one and at the same time content (entire row) in the reference table no. 1 needs to be struck through.
%\documentclass[aspectratio=169, handout]{beamer}
\documentclass[aspectratio=169]{beamer} % Document class
\usepackage{subcaption}
\usepackage[english]{babel} % Set language
\usepackage[utf8x]{inputenc} % Set encoding
\usepackage{nicematrix,tikz}
\mode<presentation> % Set options
{
\usetheme{default} % Set theme
\usecolortheme{rose} % Set colors
\usefonttheme{default} % Set font theme
\setbeamertemplate{caption}[numbered] % Set caption to be numbered
}
\usepackage{tabularx}
\usepackage{graphicx} % For including figures
\usepackage{booktabs, caption} % For table rules
\usepackage{hyperref} % For cross-referencing
\usepackage{fontawesome}
\usepackage{charter} % serif
\usepackage{xcolor}
\usepackage{colortbl}
\usepackage{pdflscape,array,booktabs}
\usepackage[font=scriptsize]{caption}
\begin{document}
\setbeamertemplate{frametitle}[default][center]
\begin{frame}
\begin{itemize}[<+|+->]
\small
\item[] \tiny{\begin{table}
\caption{Feeding table}
\begin{tabular}{ c | c | c }
\toprule
Task & Time &Positional weight\
\midrule
1 & 12 &70 \
2 & 6 &58 \
3 & 6 &31\
4 & 2 &27 \
5 & 2 & 20\
6 & 12 & 29 \
7 & 7 & 25\
8 & 5 & 18\
9 & 1 &18 \
10 & 4 &17 \
11 & 6&13 \
12 & 7 &7 \
\bottomrule
\end{tabular}
\end{table}
}
\item Method:
\item From the available tasks, choose the task for which the sum of following task times is the longest.
\vspace*{-0.2cm}
\item[] \begin{table}
\caption{Data picked up from feeding table}
\centering
\tiny
\begin{tabular}{l | m{1cm} | m{1cm} | m{1cm} | m{1cm} | m{1cm} | m{1cm}}
\toprule
Station & 1 & 2 & 3 & 4 & 5 & 6 \
\midrule
Tasks &\onslide<5->{1} &\onslide<6->{2,3,4} & \onslide<7->{6,5,9}& \onslide<8->{7,8} & \onslide<9->{10,11} & \onslide<10->{12} \
\bottomrule
\end{tabular}
\end{table}
\end{itemize}
\end{frame}
\end{document}
For the table number 2 in the row marked Tasks, the tasks number are picked up from the table number 1. As the task numbers get picked, the corresponding entry (entire row) in the table number 1 needs to be striked through. Also, for the cells which are having multiple task numbers the entries need to appear one by one. For example: \onslide<6->{2,3,4}, the content should appear one by one, first 2, then 3, and 4. How to do this simultaneous striking through in the table 1 (entire row) as tasks get filled in table 2 from table 1?



utf8xinputenc option with a current latex distribution – samcarter_is_at_topanswers.xyz Aug 14 '23 at 07:46