I write a paper with revtex and would like have a long wide table which spans over multiple pages in landscape mode (as shown on pics below). Is there a way to achieve this?
If I put a longtblr table inside the table environment, I cannot make \pagebreaks, see this answer.
If I don't put it into the table environment, I cannot use the turnpage:
To use the turnpage environment, simply enclose the figure or table environment with the turnpage environment: <...> A turnpage float will be typeset on a page by itself. Currently, there is no mechanism for breaking such a float across multiple pages. (From revtex manual.)
Any suggestions?
UPDATE
The desired output, two-column portrait document with a table spanning over multiple rotated pages:

- Attempt #1:
\documentclass[
aps,
twocolumn,
prx
% ,landscape
]{revtex4-2}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{lipsum}
\usepackage{geometry}
\usepackage{tabularray}
\begin{document}
\title{Title}
\maketitle
\lipsum[1-6]
\newpage
\begin{widetext}
\begin{turnpage} % Doesn't work for {longtblr}
\begin{longtblr}{Q[10cm]|Q[10cm]}
\lipsum[1-3] & \lipsum[1-3] \
\lipsum[1-3] & \lipsum[1-3]
\end{longtblr}
\end{turnpage}
\end{widetext}
\end{document}
The code above does not produce the desired outcome because turnpage cannot be applied to longtblr.
- Attempt #2:
\documentclass[
aps,
twocolumn,
prx
]{revtex4-2}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{lipsum}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{tabularray}
\begin{document}
\title{Title}
\maketitle
\lipsum[1-6]
\newpage
\begin{widetext}
\begin{turnpage}
\begin{table}
\begin{longtblr}{Q[10cm]|Q[10cm]}
\lipsum[1-3] & \lipsum[1-3] \
\newpage % Doesn't work inside the {table}
\lipsum[1-3] & \lipsum[1-3]
\end{longtblr}
\end{table}
\end{turnpage}
\end{widetext}
\end{document}
The code above doesn't work because the \newpage cannot be used inside table.
tablefloat environment! If for some reason need to be intablethan you need to split table into two parts similarly as is done (for sub tables) in https://tex.stackexchange.com/a/278748/. – Zarko Aug 31 '23 at 07:09