How to start a long table in the same page with a two column text article? I have a long table within a two column text article. I want to draw a long table starting in the same page with the text or after a paragraph, but it is move to the next top page. This is my MWE. Please help.
\documentclass[twocolumn]{article}
\usepackage{booktabs, makecell, xltabular}
\renewcommand\theadfont{\normalsize\bfseries}
\usepackage{lipsum}
\begin{document}
\lipsum[1-2]
\onecolumn
\begin{xltabular}{\linewidth}{@{} lX @{}}
\caption{Descriptions of learning styles}
\label{learningstyles} \
\toprule
\thead{Learning\ Style} & \thead{Description} \
\midrule
\endfirsthead
\caption[]{Descriptions of learning styles (cont.)} \
\toprule
\thead{Learning\ Style} & \thead{Description} \
\midrule
\endhead
\midrule
\multicolumn{2}{r}{%
\footnotesize\textit{Continue on the next page}}\
\endfoot
\bottomrule
\endlastfoot
- Visual
& People who understand work better when it is in the form of a diagram. Knowledge and concept maps are good tools for such learners.\
\addlinespace
- Aurala
& People who dislike reading, but enjoys hearing someone else say something aloud. Hearing the information is key for such students and group discussions can be of great aid.\
\addlinespace
- Verbal
& Verbal learners are people who express themselves easier through writing and speaking. Mnemonics, scripting and role playing are some great techniques to helps those learners.\
\addlinespace
- Physical
& Hands-on activities rather than lectures or demonstrations appeal to these learners. They are a small percentage of the population, but they learn better through practical experience.\
\addlinespace
- Logical
& People who are good with numbers and using logic to understand. They easily recognize patterns and often tend to group information to further their understanding.\
\addlinespace
- Social
& When communicating and socialising with others come easy, someone is a social learner. Studying in group formats and learning from others are their speciality and is how they excel.\
\addlinespace
- Solitary
& People who are more comfortable studying in private and introspective. The concentration of these students are at their peak when they can focus on their own thoughts without the distractions of others around them.\
\end{xltabular}
\twocolumn
\lipsum[1-3]
\end{document}
table*float? If it is longer, than tray to split it manually in two parts and than usingtable*similarly as is done in https://tex.stackexchange.com/questions/278727/split-subfigures-over-multiple-pages/278748#278748. – Zarko Mar 30 '21 at 06:54lXcan be better set as a description list. longtable does not support twocolumn so yiu have to switch to one column, and a new page. – David Carlisle Mar 30 '21 at 07:38