I'm trying to build a table using tabularx but I'm get the following error:

! Undefined control sequence.
<template> ...centering \arraybackslash \compress 

Can anyone explain why I'm getting this?

Here's my code


\usepackage[letterpaper, landscape, margin=1in]{geometry}
\usepackage{booktabs}%For tables
\usepackage{enumitem}%For lists
\usepackage{tabularx}%For tables


% Table
\setlist[itemize]{leftmargin=3pt, itemsep=1pt, label=$\bullet$}
\setlist[itemize,1]{itemindent=12pt, topsep=0pt}
\setlist[itemize,2]{itemindent=30pt, topsep=0pt}
    \textbf{Disease modeling} & \textbf{Drug Screening} & \textbf{Personalized Medicine}\\
        \item Metastasis modeling
            \item Invasion/intravasation
            \item Survival/dormancy
            \item Extravasation
            \item Metastatic niche
            \item Epithelial-mesenchymal transition
        \item Tumor heterogeneity/evolution
        \item Mechanical forces
        \item Tumor-ECM interactions
        \item Tumor-stromal interactions
        \item Organ-specific microenvironments
        \item Immuno-oncology studies
        \item Species-specific models
        \item PK-PD modeling
            \item Absorption
            \item Distribution
            \item Metabolism
            \item Excretion
        \item Toxicity
        \item High-throughput designs
        \item Efficacy testing
        \item Novel compound validation
        \item Tumor resistance/sensitivity
        \item Mechanistic studies
        \item Incorporation of primary cells
            \item Induced pluripotent stem (iPS) cells
            \item Adult tissue resident stem cells
            \item Biopsy-, blood- or tissue-derived cells
            \item Cancer stem cells
            \item Patient-derived organoids
            \item Genetically modified cells
        \item Integration with Big Data
            \item `Omics' signatures/readouts
            \item Genome wide association studies (GWAS)
            \item Computational modeling
        \item Biomarker discovery/validation
        \item Individualized trials-on-chip
        \item Tailored clinical management
    \end{itemize} \\
\caption{Applications of Tumor Chip Technology}

  • 2
    \compress isn't defined by latex or by any package that comes to mind, what do you want it to do, where did you see it documented? – David Carlisle Jun 20 at 18:43
  • 1
    Try adding \makeatletter\newcommand*{\compress}{\@minipagetrue}\makeatother to your preamble. This \compress command seems to be a thing here in TeX.SX: tex.stackexchange.com/a/442442/134574 tex.stackexchange.com/a/489185/134574 tex.stackexchange.com/a/114287/134574... – Phelype Oleinik Jun 20 at 18:46
  • 2
    @PhelypeOleinik searching the site for answers again? It'll never catch on:-) – David Carlisle Jun 20 at 18:47
  • 1
    It is a command which is used to remove the vertical spacing added to a list in a tabular cell. – Bernard Jun 20 at 18:49
  • 1
    @agf1997 If TeX tells you Undefined control sequence, the undefined command is always the one at the end of the first line of error which, in this case, is the \compress, which Bernard just explained. – Phelype Oleinik Jun 20 at 18:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.