双列页面上的大表格

双列页面上的大表格

这是我的问题。我有一个双列环境,我用tabu表格书写。我在问自己是否有可能将它们放在多列上,就像这样

blah blah blah blah ||  |                 |
blah blah blah blah ||  |      TABLE      |
blah blah blah blah ||  |                 |
blah blah blah blah ||  |_________________|
blah blah blah blah ||  blah blah blah blah
blah blah blah blah ||  blah blah blah blah
 _________________  ||  blah blah blah blah
|                 | ||  blah blah blah blah
|      TABLE      | ||  blah blah blah blah
|                 | ||  blah blah blah blah

变得更加复杂:我的表环境包含4 子表(已装入subcaption包装)。

如果可能的话,我更喜欢保留tabu表格。

一如既往,提前感谢您!

阿尔贝托

编辑:应用户的正确要求,我发布了一个 MWE:

\documentclass[a4paper,9pt,twosize]{extbook}

\usepackage{lipsum}
\usepackage{tabu}
\usepackage{subcaption}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[table]{xcolor}
\usepackage[italian]{babel}

\renewcommand{\baselinestretch}{0.9}

\newcommand\TheParagraphIUse{
    \subsection{The subsection}
    \lipsum[1-2]

    \begin{table}[h]\tabulinesep=2pt
    \begin{subtable}{\columnwidth}\small\centering\sffamily
    \rowcolors{2}{white}{green}
            \begin{tabu}{X[0.1pc] X[2pl]}
            \rowfont{\bfseries}no   &   Text    \\
            1   &   Here's some text.                   \\
            2   & It could be bigger than 1 line, like in this case in which the text describe Carl the Capybara.   \\
            3   &   The number 3.   \\
            4   & Four is an "a" on 133t sp33ch.    \\
            5   & All the multiple of 5 are numbers that end with 5 or 0.   \\
            6   &   The number of the beast.
            \end{tabu}
    \end{subtable}  \vspace{3pt}

    \begin{subtable}{\columnwidth}\small\centering\sffamily
    \rowcolors{2}{white}{green}
            \begin{tabu}{X[0.1pc] X[2pl]}
            \rowfont{\bfseries}no   &   Text    \\
            1   &   Here's some text.                   \\
            2   & It could be bigger than 1 line, like in this case in which the text describe Carl the Capybara.   \\
            3   &   The number 3.   \\
            4   & Four is an "a" on 133t sp33ch.    \\
            5   & All the multiple of 5 are numbers that end with 5 or 0.   \\
            6   &   The number of the beast.
            \end{tabu}
    \end{subtable}  \vspace{3pt}

    \begin{subtable}{\columnwidth}\small\centering\sffamily
    \rowcolors{2}{white}{green}
            \begin{tabu}{X[0.1pc] X[2pl]}
            \rowfont{\bfseries}no   &   Text    \\
            1   &   Here's some text.                   \\
            2   & It could be bigger than 1 line, like in this case in which the text describe Carl the Capybara.   \\
            3   &   The number 3.   \\
            4   & Four is an "a" on 133t sp33ch.    \\
            5   & All the multiple of 5 are numbers that end with 5 or 0.   \\
            6   &   The number of the beast.
            \end{tabu}
    \end{subtable}  \vspace{3pt}

    \begin{subtable}{\columnwidth}\small\centering\sffamily
    \rowcolors{2}{white}{green}
            \begin{tabu}{X[0.1pc] X[2pl]}
            \rowfont{\bfseries}no   &   Text    \\
            1   &   Here's some text.                   \\
            2   & It could be bigger than 1 line, like in this case in which the text describe Carl the Capybara.   \\
            3   &   The number 3.   \\
            4   & Four is an "a" on 133t sp33ch.    \\
            5   & All the multiple of 5 are numbers that end with 5 or 0.   \\
            6   &   The number of the beast.
            \end{tabu}
    \end{subtable}
    \end{table} 
\lipsum[1]
}

\begin{document}
\twocolumn

\TheParagraphIUse

\TheParagraphIUse

\TheParagraphIUse

\end{document}

答案1

由于您的示例中根本没有标题,因此无论您做什么都没有关系。您不必使用环境tablesubcaption环境。

尽管如此,我还是使用标题来表明可以拆分表格并继续编号。不过,这需要一点手动干预。

\documentclass[a4paper,9pt,twocolumn]{extbook}

\usepackage{lipsum}
\usepackage{tabu}
\usepackage{subcaption}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[table]{xcolor}
\usepackage[italian]{babel}

\renewcommand{\baselinestretch}{0.9}

\newcommand\TheParagraphIUse{
    \subsection{The subsection}
    \lipsum[1-2]

    \begin{table}\tabulinesep=2pt
        \caption{The first tables}
        \begin{subtable}{\columnwidth}\small\centering\sffamily
            \caption{No Wombat here}
            \rowcolors{2}{white}{green}
            \begin{tabu}{X[0.1pc] X[2pl]}
                \rowfont{\bfseries}no   &   Text    \\
                1   &   Here's some text.                   \\
                2   & It could be bigger than 1 line, like in this case in which the text describe Carl the Capybara.   \\
                3   &   The number 3.   \\
                4   & Four is an "a" on 133t sp33ch.    \\
                5   & All the multiple of 5 are numbers that end with 5 or 0.   \\
                6   &   The number of the beast.
            \end{tabu}
        \end{subtable}  \vspace{3pt}

        \begin{subtable}{\columnwidth}\small\centering\sffamily
            \rowcolors{2}{white}{green}
            \begin{tabu}{X[0.1pc] X[2pl]}
                \rowfont{\bfseries}no   &   Text    \\
                1   &   Here's some text.                   \\
                2   & It could be bigger than 1 line, like in this case in which the text describe Carl the Capybara.   \\
                3   &   The number 3.   \\
                4   & Four is an "a" on 133t sp33ch.    \\
                5   & All the multiple of 5 are numbers that end with 5 or 0.   \\
                6   &   The number of the beast.
            \end{tabu}
        \end{subtable}  \vspace{3pt}
    \end{table}

    \begin{table}
        \ContinuedFloat
        \caption{The rest of the tables}
        \begin{subtable}{\columnwidth}\small\centering\sffamily
            \caption{My hovercraft is full of eels.}
            \rowcolors{2}{white}{green}
            \begin{tabu}{X[0.1pc] X[2pl]}
                \rowfont{\bfseries}no   &   Text    \\
                1   &   Here's some text.                   \\
                2   & It could be bigger than 1 line, like in this case in which the text describe Carl the Capybara.   \\
                3   &   The number 3.   \\
                4   & Four is an "a" on 133t sp33ch.    \\
                5   & All the multiple of 5 are numbers that end with 5 or 0.   \\
                6   &   The number of the beast.
            \end{tabu}
        \end{subtable}  \vspace{3pt}

        \begin{subtable}{\columnwidth}\small\centering\sffamily
            \rowcolors{2}{white}{green}
            \begin{tabu}{X[0.1pc] X[2pl]}
                \rowfont{\bfseries}no   &   Text    \\
                1   &   Here's some text.                   \\
                2   & It could be bigger than 1 line, like in this case in which the text describe Carl the Capybara.   \\
                3   &   The number 3.   \\
                4   & Four is an "a" on 133t sp33ch.    \\
                5   & All the multiple of 5 are numbers that end with 5 or 0.   \\
                6   &   The number of the beast.
            \end{tabu}
        \end{subtable}
    \end{table} 
    \lipsum[1]
}

\begin{document}

\TheParagraphIUse

\TheParagraphIUse

\TheParagraphIUse

\end{document}

相关内容