34 列长桌

34 列长桌

我有一些非常基本的 LaTeX 知识,所以我希望在 TeX 社区中找到一个解决方案,并且我希望有人能够好心提供帮助。

我有一个 34 列 25 行的数据框。我需要使用这些数据来制作一个横向布局的表格。这就是我目前所做的,正如您所见,我必须缩小表格才能将其放在一页上。我想在某一列处拆分它,并重现第一列的州名。

\documentclass{article}

\usepackage{longtable}
\usepackage{adjustbox}
\usepackage{tikz}
\usetikzlibrary{trees}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{caption}
\usepackage{graphicx}
\begin{document}

\begin{minipage}[t]{0.5\textwidth} 
  \begin{center}
  \begin{adjustbox}{rotate=90, width=\columnwidth-80pt }
  \begin{tabular}{rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr}
  \hline
  & AIF & BLOS & C-UAS & CBRN SaaS & Co-basing & CRRT MACS & Cyber Threats & DIVEPACK & DMDRCP & EHAAP & EMC & EOF & ESSOR & EU IntSchool & EU TCC & EU TEC & EU TIGER Mark & EU TMCC & EU-SSA-N & EUFOR Crisis & EURAS & Eurodrone & GEMSCE & GMSCE & H3 Training & HARMSPRO & IFS & JISR & MAS MCM & Military Mobility & NLHSuOp & SOF C2CP & Strategic C2 & UGS & Upgrade MS \\ 
  \hline
  Austria &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 \\ 
  Belgium &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 \\ 
  Bulgaria &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   1 \\ 
  Croatia &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   1 \\ 
  Cyprus &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 \\ 
  Czech Republic &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   0 \\ 
  Estonia &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   1 &   0 \\ 
  Finland &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   1 &   0 \\ 
  France &   0 &   1 &   0 &   1 &   1 &   1 &   0 &   1 &   0 &   1 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   1 &   1 &   1 &   1 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   1 &   1 &   0 \\ 
  Germany &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   1 &   0 &   1 &   1 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   0 &   1 &   1 &   0 &   1 &   0 &   0 \\ 
  Greece &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   1 &   1 &   0 &   0 &   1 \\ 
  Hungary &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   1 &   0 \\ 
  Ireland &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 \\ 
  Italy &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   0 &   1 &   1 &   1 &   1 &   1 &   0 &   1 &   0 &   0 &   1 &   1 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   0 &   1 &   0 &   1 \\ 
  Latvia &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   1 &   0 \\ 
  Lithuania &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 \\ 
  Luxembourg &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 \\ 
  Netherlands &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 \\ 
  Poland &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 \\ 
  Portugal &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   1 &   0 &   0 &   1 &   0 &   0 \\ 
  Romania &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   0 \\ 
  Slovakia &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 \\ 
  Slovenia &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 \\ 
  Spain &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   1 &   0 &   1 &   1 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   1 &   1 &   1 \\ 
  \hline
  \end{tabular}
  \end{adjustbox}
    % add a caption if you want
  \end{center}
\end{minipage}

\end{document}

答案1

您的表格实在太大了...我会使用包sidewaystable中定义的命令来旋转它rotating。列标题也必须旋转。为此,我将使用包\rothead中定义的命令makecell

\documentclass{article}
\usepackage{caption}
\usepackage{rotating}
\usepackage{makecell}
\renewcommand\rotheadgape{}
\newcommand\RH[1]{\rothead{#1}}
%---------------- show page layout. don't use in a real document!
\usepackage{showframe}
\renewcommand\ShowFrameLinethickness{0.15pt}
\renewcommand*\ShowFrameColor{\color{red}}
%---------------------------------------------------------------%

\begin{document}
\begin{sidewaystable}[ht]
\settowidth\rotheadsize{\theadfont EU TIGER Mark}
\setlength{\tabcolsep}{0pt}
\renewcommand\arraystretch{0.9}
\begin{tabular*}{\linewidth}{@{\extracolsep{\fill}} r@{\ }|*{35}{r} }
    \hline
  & \RH{AIF}            & \RH{BLOS}                 & \RH{C-UAS}            & \RH{CBRN SaaS}
  & \RH{Co-basing}      & \RH{CRRT MACS}            & \RH{Cyber Threats}    & \RH{DIVEPACK}
  & \RH{DMDRCP}         & \RH{EHAAP}                & \RH{EMC}              & \RH{EOF}
  & \RH{ESSOR}          & \RH{EU IntSchool}         & \RH{EU TCC}           & \RH{EU TEC}
  & \RH{EU TIGER Mark}  & \RH{EU TMCC}              & \RH{EU-SSA-N}         & \RH{EUFOR Crisis}
  & \RH{EURAS}          & \RH{Eurodrone}            & \RH{GEMSCE}           & \RH{GMSCE}
  & \RH{H3 Training}    & \RH{HARMSPRO}             & \RH{IFS}              & \RH{JISR}
  & \RH{MAS MCM}        & \RH{Military Mobility}    & \RH{NLHSuOp}          & \RH{SOF C2CP} 
  & \RH{Strategic C2}   & \RH{UGS}                  & \RH{Upgrade MS} \\
  \hline
Austria
    &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 \\
Belgium
    &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 \\
Bulgaria
    &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   1 \\
Croatia
    &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   1 \\
Cyprus
    &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 \\
Czech Republic
    &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   0 \\
Estonia
    &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   1 &   0 \\
Finland
    &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   1 &   0 \\
France
    &   0 &   1 &   0 &   1 &   1 &   1 &   0 &   1 &   0 &   1 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   1 &   1 &   1 &   1 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   1 &   1 &   0 \\
Germany
    &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   1 &   0 &   1 &   1 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   0 &   1 &   1 &   0 &   1 &   0 &   0 \\
Greece
    &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   1 &   1 &   0 &   0 &   1 \\
Hungary
    &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   1 &   0 \\
Ireland
    &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 \\
Italy
    &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   0 &   1 &   1 &   1 &   1 &   1 &   0 &   1 &   0 &   0 &   1 &   1 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   0 &   1 &   0 &   1 \\
Latvia
    &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   1 &   0 \\
Lithuania
    &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 \\
Luxembourg
    &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 \\
Netherlands
    &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 \\
Poland
    &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 \\
Portugal
    &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   1 &   0 &   0 &   1 &   0 &   0 \\
Romania
    &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   0 \\
Slovakia
    &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 \\
Slovenia
    &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 \\
Spain
    &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   1 &   0 &   1 &   1 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   1 &   1 &   1 \\
  \hline
\end{tabular*}
\end{sidewaystable}
\end{document}

在此处输入图片描述

答案2

只需稍加努力,您就可以将其放在一页上(纵向)。

我会用空白替换所有零,并用更有特色的东西替换一。

\documentclass{article}

\usepackage{longtable}
\usepackage{adjustbox}
\usepackage{tikz}
\usetikzlibrary{trees}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{caption}
\usepackage{graphicx}
\usepackage{showframe}% MWE only

\newcommand*{\Rtext}[1]{\rotatebox[origin=Bl]{90}{#1}}

\begin{document}

%\noindent\begin{minipage}[t]{0.5\textwidth} 
  \begin{center}
  %\begin{adjustbox}{rotate=90, width=\columnwidth-80pt }
  \setlength{\tabcolsep}{1pt}
  \footnotesize
  \begin{tabular}{rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr}
  \hline
  & \Rtext{AIF} & \Rtext{BLOS} & \Rtext{C-UAS} & \Rtext{CBRN SaaS} & \Rtext{Co-basing} & \Rtext{CRRT MACS} & \Rtext{Cyber Threats} & \Rtext{DIVEPACK} & \Rtext{DMDRCP} & \Rtext{EHAAP} & \Rtext{EMC} & \Rtext{EOF} & \Rtext{ESSOR} & \Rtext{EU IntSchool} & \Rtext{EU TCC} & \Rtext{EU TEC} & \Rtext{EU TIGER Mark} & \Rtext{EU TMCC} & \Rtext{EU-SSA-N} & \Rtext{EUFOR Crisis} & \Rtext{EURAS} & \Rtext{Eurodrone} & \Rtext{GEMSCE} & \Rtext{GMSCE} & \Rtext{H3 Training} & \Rtext{HARMSPRO} & \Rtext{IFS} & \Rtext{JISR} & \Rtext{MAS MCM} & \Rtext{Military Mobility} & \Rtext{NLHSuOp} & \Rtext{SOF C2CP} & \Rtext{Strategic C2} & \Rtext{UGS} & \Rtext{Upgrade MS} \\ 
  \hline
  Austria &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 \\ 
  Belgium &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 \\ 
  Bulgaria &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   1 \\ 
  Croatia &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   1 \\ 
  Cyprus &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 \\ 
  Czech Republic &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   0 \\ 
  Estonia &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   1 &   0 \\ 
  Finland &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   1 &   0 \\ 
  France &   0 &   1 &   0 &   1 &   1 &   1 &   0 &   1 &   0 &   1 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   1 &   1 &   1 &   1 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   1 &   1 &   0 \\ 
  Germany &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   1 &   0 &   1 &   1 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   0 &   1 &   1 &   0 &   1 &   0 &   0 \\ 
  Greece &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   1 &   1 &   0 &   0 &   1 \\ 
  Hungary &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   1 &   0 \\ 
  Ireland &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 \\ 
  Italy &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   0 &   1 &   1 &   1 &   1 &   1 &   0 &   1 &   0 &   0 &   1 &   1 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   0 &   1 &   0 &   1 \\ 
  Latvia &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   1 &   0 \\ 
  Lithuania &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 \\ 
  Luxembourg &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 \\ 
  Netherlands &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 \\ 
  Poland &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 \\ 
  Portugal &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   1 &   0 &   0 &   1 &   0 &   0 \\ 
  Romania &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   0 \\ 
  Slovakia &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 \\ 
  Slovenia &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 \\ 
  Spain &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   1 &   0 &   1 &   1 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   1 &   1 &   1 \\ 
  \hline
  \end{tabular}
  %\end{adjustbox}
    % add a caption if you want
  \end{center}
%\end{minipage}

\end{document}

演示


进一步的实验展示了如何使用整个宽度。请注意,这\extracolsep不会影响最左边缘和最右边缘的空间。(没有 showframe 看起来更好。)

\documentclass{article}

\usepackage{longtable}
\usepackage{adjustbox}
\usepackage{tikz}
\usetikzlibrary{trees}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{caption}
\usepackage{graphicx}
\usepackage{showframe}% MWE only

\newcommand*{\Rtext}[1]{\rotatebox[origin=Bl]{90}{#1}}

\begin{document}

%\noindent\begin{minipage}[t]{0.5\textwidth} 
  \begin{center}
  %\begin{adjustbox}{rotate=90, width=\columnwidth-80pt }
  \setlength{\tabcolsep}{0pt}%
  \footnotesize
  \begin{tabular*}{\linewidth}{@{\extracolsep{0pt plus 1fil}}rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr}
  \hline
  & \Rtext{AIF} & \Rtext{BLOS} & \Rtext{C-UAS} & \Rtext{CBRN SaaS} & \Rtext{Co-basing} & \Rtext{CRRT MACS} & \Rtext{Cyber Threats} & \Rtext{DIVEPACK} & \Rtext{DMDRCP} & \Rtext{EHAAP} & \Rtext{EMC} & \Rtext{EOF} & \Rtext{ESSOR} & \Rtext{EU IntSchool} & \Rtext{EU TCC} & \Rtext{EU TEC} & \Rtext{EU TIGER Mark} & \Rtext{EU TMCC} & \Rtext{EU-SSA-N} & \Rtext{EUFOR Crisis} & \Rtext{EURAS} & \Rtext{Eurodrone} & \Rtext{GEMSCE} & \Rtext{GMSCE} & \Rtext{H3 Training} & \Rtext{HARMSPRO} & \Rtext{IFS} & \Rtext{JISR} & \Rtext{MAS MCM} & \Rtext{Military Mobility} & \Rtext{NLHSuOp} & \Rtext{SOF C2CP} & \Rtext{Strategic C2} & \Rtext{UGS} & \Rtext{Upgrade MS} \\ 
  \hline
  Austria &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 \\ 
  Belgium &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 \\ 
  Bulgaria &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   1 \\ 
  Croatia &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   1 \\ 
  Cyprus &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 \\ 
  Czech Republic &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   0 \\ 
  Estonia &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   1 &   0 \\ 
  Finland &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   1 &   0 \\ 
  France &   0 &   1 &   0 &   1 &   1 &   1 &   0 &   1 &   0 &   1 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   1 &   1 &   1 &   1 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   1 &   1 &   0 \\ 
  Germany &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   1 &   0 &   1 &   1 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   0 &   1 &   1 &   0 &   1 &   0 &   0 \\ 
  Greece &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   1 &   1 &   0 &   0 &   1 \\ 
  Hungary &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   1 &   0 \\ 
  Ireland &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 \\ 
  Italy &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   0 &   1 &   1 &   1 &   1 &   1 &   0 &   1 &   0 &   0 &   1 &   1 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   1 &   0 &   1 &   0 &   1 \\ 
  Latvia &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   1 &   0 \\ 
  Lithuania &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 \\ 
  Luxembourg &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 \\ 
  Netherlands &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 \\ 
  Poland &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 \\ 
  Portugal &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   1 &   0 &   0 &   1 &   0 &   0 \\ 
  Romania &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   1 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 &   0 \\ 
  Slovakia &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 \\ 
  Slovenia &   0 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   0 &   0 \\ 
  Spain &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   0 &   1 &   0 &   1 &   1 &   0 &   0 &   0 &   1 &   1 &   1 &   0 &   0 &   1 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   0 &   1 &   1 &   0 &   1 &   1 &   1 \\ 
  \hline
  \end{tabular*}
  %\end{adjustbox}
    % add a caption if you want
  \end{center}
%\end{minipage}

\end{document}

相关内容