I found an example here , but this only applies to one column, and I can not adapt it to fit my needs. I would like something like this:
Try the following:
\begin{tabular}{|m{3.5em}|b{1em}|b{1em}|b{1em}|} \hline %% row 1 &x1 &x2 &x3 \\\hline %% row 2 Long Label &1 &0 &1 \\\hline %% row 3 Long Label &1 &0 &1 \\\hline \end{tabular}
For more information on formatting tables, see http://en.wikibooks.org/wiki/LaTeX/Tables
EDIT: changed c to b {}
For this you will need \usepackage{array}.
\usepackage{array}
, , m{}, . , - :
m{}
\begin{tabular}{|m{2cm}|m{1ex}|m{1ex}|m{1ex}} \hline & x1 & x2 & x3 \\\hline Long Label & 1 & 0 & 1 \\\hline Long Label & 0 & 1 & 1 \\\hline \end{tabular}
Source: https://habr.com/ru/post/1763686/More articles:Why can't I check the values ββwith the $ character in it? - asp.netPHP caching (HTML + PHP) - phpsigset: ignoring ctrl-c on Unix - cReading an excel file and inserting records into a database in C # - Windows Azure - c #How to change word color in jquery - javascriptHow to run multiple PHP sites using the same APC cache? - phpTroubleshoot XamlParseExceptions in Expression Blend 4 - silverlightWhat is if if you look in IL? - c #Why is my own form not filling out correctly in PowerPoint? - vbaASP.NET MVC PartialView postback: how to check data? - jqueryAll Articles