Questions tagged [tabularray]

tabularray provides much of the functionality of the outdated tabu package. It can also completely separate styles from the contents of tables, and the styles of tables can be set in keyval way. Also it supports long tables with X columns in two-column documents.

Filter by
Sorted by
Tagged with
1 vote
1 answer
45 views

Change font size according to text length inside tabularray cell

I have a tabularray table that I want to keep its cell height fixed at 2 centimeters. So, if there is a rather long text entry to one of its cells, then I want the text size to be smaller. I haven't ...
user avatar
  • 212
0 votes
0 answers
54 views

How to force cell dimensions in a tblr from tabularray

\documentclass{article} \usepackage{tabularray} \begin{document} \begin{tblr}{ hlines, vlines, rows={15mm}, columns={15mm}, } a & bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb \\ ...
user avatar
  • 469
0 votes
2 answers
46 views

Misplaced alignment tab character &. with tabularray and expl3

I'm trying to pass as a parameter a list of rows in tabularray. (the same list will be used a 2nd time) With Showing `\_tl` variables that contain `&` and `\hline` tokens I tried to use this code ...
user avatar
  • 612
0 votes
2 answers
66 views

\SetTblrInner[tblr]{cells={bg= can't change the @{} background color in tabularray in LaTeX

I set tables' background to {RGB}{245,246,246} in tabularray package, but the content from @{} in the table below didn't change to that colour, so it is still the original white. So is there a way to ...
user avatar
  • 633
0 votes
1 answer
53 views

How to align numbers with \sim in tabularray in LaTeX?

I need to align numbers as 99.88%~9.8% in tables in LaTeX: \documentclass{article} \usepackage{siunitx,amsmath,tabularray} \UseTblrLibrary{booktabs, siunitx} \begin{document} \begin{table} \begin{...
user avatar
  • 633
2 votes
1 answer
86 views

Redefine \\ for multiline cells in tabularray

When using multiline cells with tabularray like in the example below, I have the problem that my editor (emacs) recognizes the \\ that indicate a newline in a cell as the end of a row and thus messes ...
user avatar
  • 1,494
0 votes
4 answers
61 views

Multicolumn table - tabularray

I would like to design a table like the one bellow, but I am not proficient enough in Latex and it would take me too long. Can someone help with writing a "mockup" table like this? \...
user avatar
1 vote
1 answer
87 views

Synctex don't work with tabularray package

With the tabular environment I can jump to the correct line with inverse search: ctrl click in the pdf output (with Texstudio or Texworks). Why it doesn't work with the tabularray package? \...
user avatar
  • 177
3 votes
1 answer
69 views

Use tabularray in xsim template

Is there a way to use tabularray in the xsim ExerciseTableTemplate? I copied the default template from xsim, just replacing tabular with tblr which results in an error I cannot make sense of: \...
user avatar
0 votes
1 answer
65 views

Tabularray.sty Not loading

I have trying to figure out why the package tabularray.sty is not found in TexShop. I have the latest version (4.76). I thought maybe I was typing the package name incorrectly, but that does not seem ...
user avatar
  • 494
3 votes
1 answer
62 views

Remove subfigures from list of figures when using tabularray package

I am using the code below to create a figure with multiple subfigures which looks like this: However, when I make the list of figures it also includes entries for the subfigures, which I don't want. ...
user avatar
  • 63
0 votes
1 answer
51 views

Is there a way to merge symbols in line position in tabularray in LaTeX?

I want to merge two } in the picture below to become a big }. When I tried it with: \documentclass{article} \usepackage{tabularray,tabularx} \begin{document} \begin{table} \begin{talltblr}[caption={...
user avatar
  • 633
0 votes
2 answers
45 views

Vertical alignment tabularray when r=1 not working

I'm using tabularray to create a table cause it was supposed to be simple to configure the alignment of the cells. Especially, I want to use the vertical alignment to center the text in specific cells....
user avatar
  • 3
0 votes
2 answers
90 views

Family Group Sheet with tabularray - suggestions for improvements welcome

With the imminent birth of my first grandson, I am trying to record two generations of family history research (mine, and my Father's), by writing a book in latex. There are hundreds of names, going ...
user avatar
3 votes
2 answers
105 views

Tabularray - Display row one by one on Beamer?

Following this question regarding Tabularray and beamer compatibility, How do you get to display a the table row by row in beamer ? MWE \documentclass{beamer} \usepackage{tabularray} \UseTblrLibrary{...
user avatar
  • 2,495
0 votes
0 answers
53 views

Different lontblr header in different pages

I am currently writing a document where I would like to have a multi-page table which is divided in sections by some headers and I would like the section header to be printed as the first line of each ...
user avatar
1 vote
1 answer
60 views

Tabularray Undefined Control Sequence "\DeclareRelease" {v2021}

Using lualatex but I encountered an error like this: ! Undefined control sequence. l.15 \DeclareRelease {v2021}{2021-01-01}{tabularray-2021.sty} ? x \documentclass{article} \usepackage{tabularray} \...
user avatar
  • 1,388
5 votes
2 answers
148 views

tcolorbox inside tabularray leading to [0]s

I am creating a program that produces .pdf files based on .xlsx input through a .py GUI with .tex files. So far, in order to create the respective .tex file, I have used Overleaf. However, now that I ...
user avatar
  • 51
0 votes
1 answer
61 views

Tabularray +pmatrix not working in align

It seems that the tabularray environment +pmatrix does not work with align environments. Is there a fix or something I am missing? MWE: \documentclass{scrartcl} \usepackage{tabularray} \UseTblrLibrary{...
user avatar
1 vote
0 answers
43 views

tabularray use both columns like table*?

I can span two columns in a twocolumn document with \begin{table*}...\end{table*}. How can I get a tabularray to span both columns? \begin{tblr}[full-width?]{} \end{tblr*}
user avatar
0 votes
1 answer
107 views

How to center table and move header and footer with `tabularray` and `pdflscape`?

I know centring table with \begin{adjustwidth}{-1cm}{-1cm} and how to delete header and footer with \thispagestyle{empty}. But in tabularray and pdflscape environments, it seems not centered and can't ...
user avatar
  • 633
2 votes
2 answers
142 views

Tabularray with footnotes

I'm almost done switching to tabularray but have just one final problem to solve. Using \footnote inside tblr doesn't work properly, but it's a known problem with most (all?) table-like environments. ...
user avatar
  • 1,443
0 votes
1 answer
49 views

Error with `listings` and `tabularray` used together

I'm in the process of replacing tabular and array environments with tblr in some of my documents. It's already done for dozens of them, with no problem. But I hit a bump with the following MWE: \...
user avatar
  • 1,443
0 votes
1 answer
56 views

How to indent notes in `tabularray`

I use the tabularray package to make a table, into which I insert a note, but it shows with insuitable indentation. How to change the indentation of the note to make it align with the colon? \...
user avatar
  • 633
2 votes
1 answer
72 views

Generate tabularray and compute sub-result for each row using functional library

I must use longtblr from tabularray package and would like to calculate simple products on each row. Trouble is, the product displayed in the final result is the same for every row : the product from ...
user avatar
2 votes
1 answer
82 views

Latex3 floating point calculations in longtblr (tabularray)

I'm learning LaTeX3 and trying to do simple calculations on floats in a longtblr environment. Trouble is that I cannot manage to dynamically compute sub-totals per row. The global total is working ...
user avatar
0 votes
1 answer
76 views

Missing number, treated as zero in longtblr? [closed]

I tried to reproduce a table I found in tabularray, and it did not look like what I expected it to. I use Overleaf. MWE: \begin{document} \usepackage{tabularray} \UseTblrLibrary{...
user avatar
  • 81
0 votes
1 answer
57 views

LaTeX3 Verbatim-Like Command Illegal in Argument

LaTeX cmd: Verbatim-like command '\checkboxYesNo' illegal in argument. I get the above message when I tried to migrate away from using tabu & xstring combination to tabularray & native LaTeX3 ...
user avatar
  • 115
1 vote
1 answer
58 views

How to change the default background color in `tabularray` package in LaTeX?

I make a lot of table in my tex file and I want to change all the table's background color to RGB{245,246,246}. Is there a way to change all the tables' background color to that? What should I do?
user avatar
  • 633
0 votes
1 answer
61 views

how to fit a table into one page using longtable package? [duplicate]

I have asked here before and tested one of the most suitable answers, but there is still an error that I cannot find a solution for. In addition, the table is still split into two pages in a way that ...
user avatar
  • 81
2 votes
4 answers
242 views

Make table whose width is more than the text width to center with `tabularray` in LaTeX?

I make a table whose width is more than the width of the text, so the table is too right on the paper. How should I move it to center? For example: \documentclass{article} \usepackage{tabularray} \...
user avatar
  • 633
2 votes
1 answer
76 views

How to rotate a table in "tabularray" environment with "\begin{turn}{180}" in LaTeX?

I want to rotate a table of tabularray environment by rotating package in LaTeX. When I tested, I found that there is an error about tabularray. For example: \documentclass{article} \usepackage{...
user avatar
  • 633
0 votes
1 answer
74 views

how to generate long tables with tabularray?

i am trying to generate an unconventional table like the one below here is my attempt: \documentclass[12pt,reqno]{report} \usepackage{siunitx} \setlength{\arrayrulewidth}{1mm} \setlength{\tabcolsep}{...
user avatar
  • 81
5 votes
5 answers
614 views

Typeset sudoku grid using tabular syntax

This is a sort-of follow-up to the question Create environment whose contents are passed to TikZ matrix, which did not reveal any solution to the specific question (but did make me aware of another ...
user avatar
  • 1,373
4 votes
1 answer
107 views

Tabularray: correct row numbering in longtblr

I'm trying to get numbered rows for a test plan. The expected result is "1", "2", etc. in the first column. However, when tabularray processes the table, it increments the ...
user avatar
2 votes
1 answer
134 views

tabularray keeps middle vertical alignment of its content

I would like to know what is forcing a middle vertical alignment in the following example in the main table. The inner tables are OK but the outer table does not respect the different alignments, ...
user avatar
  • 819
1 vote
1 answer
60 views

Align equations on different rows inside tabularray environment

I'm trying to find a solution for my problem: align different equations on different rows at their respective equal sign. I tried the most popular environments for this: eqparbox equation* align* but ...
user avatar
  • 61
1 vote
1 answer
54 views

Cannot compile Tabularray with a math environment in it and a \NewColumnType

I have this code \documentclass{report} \usepackage{tabularray} \usepackage{mathtools} \NewColumnType{C}{>{$}c<{$}} \def\myformula{Area = side \times side \\ Perimeter = side \times 4} \begin{...
user avatar
  • 61
0 votes
2 answers
146 views

How to input/include individual files as rows for a table?

In a scenario where attempting to build multiple documents where each document will have a page with their own (long) table using common data. The following is a minimal example of the table ...
user avatar
  • 103
1 vote
1 answer
62 views

How to align equations in different rows in a table at "=" with tabularray?

I made a table that contains several equations which are located in different rows. I need to align them at = symbol. Such as this one: My table is: My code is: \documentclass{article} \usepackage{...
user avatar
  • 633
2 votes
1 answer
81 views

Is there a way to make equations aligned in a table with 'tabularray' package?

I use tabularray package to make tables as it is very convenient. But now I find now way to make formulas in a table to align at the = sign. For example The formulas in this table have been adjusted ...
user avatar
  • 633
0 votes
1 answer
50 views

Why can't I get a long table across pages from tabularray using the example?

I hope to make a long table across pages by tabularray package. First, I need to understand the example on page 36 of the book. When I tested it, it showed weird: The code: \documentclass{article} \...
user avatar
  • 633
3 votes
1 answer
113 views

How to keep `X` and `Q` styles at the same time in `tabularray`?

tabularray is quite useful as I need to do these things: Keep the table as wide as \textwidth I need to insert note{} in the caption of the table The head of the table are two many characters, so ...
user avatar
  • 633
2 votes
0 answers
86 views

tabularray and babel french

I need to use \usetikzlibrary{babel} but it causes an error in the folowing example. \documentclass[french]{article} \usepackage{babel} \usepackage{tabularray} \usepackage{pgfplots} \usepackage{...
user avatar
  • 177
1 vote
1 answer
73 views

How to evenly distribute cells of a multicolumn?

I am trying to build a table that has the two columns evenly distributed (yes/no columns): This is what I have achieved so far with the help of the community, thereby using the following code: \...
user avatar
  • 61
1 vote
2 answers
50 views

Reduce font size for all tables in my document : inside these tables, there are \begingroup and \begin{tabular}

I would like to reduce the font size into of all my tables. The ideal would be to put new macro at the top of my Latex source. I show you for the moment the current formatting : we have 4 bins and not ...
user avatar
3 votes
1 answer
65 views

Tabularray inside longtabularray

Some hlines are missing when I use the long option. \documentclass{article} \usepackage{tabularray} \begin{document} \begin{tblr}[long]{ colspec={XXX}, vlines,hlines} \begin{tblr}{ ...
user avatar
  • 177
0 votes
1 answer
169 views

Set column width for Q-column in tabularray

I have some Q-column but using a \TblrNote seems to break the auto-width of those columns... How can I re-adjust the width so columns 3-8 are of equal width? \documentclass{scrartcl} \usepackage{...
user avatar
2 votes
1 answer
76 views

Tabularray padding per cell

In tabular, a cell can have a \multicolumn{1}{@{\hspace{1em}}l}{Some text} to set some left padding to that cell alone. In tabularray, the \SetCell command can be used to span columns but not to set ...
user avatar
1 vote
2 answers
53 views

Text not shown in tabularray table

I want to create a table with descriptions with line breaks. Unfortunately, one title is not displayed and I do not know why and how to solve it. My code is the following: \documentclass{article} \...
user avatar
  • 25