New answers tagged

1 vote

How to modify colorful table?

Here is a way to construct that table with nicematrix. \documentclass{article} \usepackage{lipsum} % for dummy text \usepackage{xcolor} \usepackage{nicematrix} \usepackage{caption} \begin{document} ...
user avatar
  • 26.4k
0 votes

\Xcline (makecell) doesn't lign up with \vrule

With the version 6.11 (2022-07-16) of nicematrix, it's possible to define commands similar to the command \cline with characteristics of Tikz lines (eg: thickness with the Tikz key line width). In the ...
user avatar
  • 26.4k
1 vote

Long table example

I'd suggest longtblr as probably the easiest solution (see @Zarko's answer). In case you can't add it in your project, xltabular is an option due to its X column-type, which has a perfect use case in ...
user avatar
  • 1,577
2 votes
Accepted

Long table example

It is not entirely clear how should long table looks ... Also you not give any tip, about content of your table. Without coloring the first row, and columns types as you have in your tabular table: \...
user avatar
  • 257k
0 votes

centering longtable and changing distance between lines

Your table is not centred because you didn't take into account the value of \tabcolsep and thus it was too wide to fit the line width. I reduced a bit the first column width, and now it is centred. ...
user avatar
  • 263k
3 votes
Accepted

longtable in multicols overflows due to preceding text

you can try to set the longtable outside the multicol environment: \documentclass[11pt, a4paper]{article} \usepackage[margin=3cm]{geometry} \usepackage{longtable} \usepackage{multicol} \newsavebox\...
user avatar
0 votes

Extra alignment tab has been changed to \cr and cannot see any extra alignment tabs - the output is wrong

Since you wish to have \raggedright apply to all cells' contents, you might as well modify the p column type so that \raggedright applies automatically. I suggest you load the array and ragged2e ...
user avatar
  • 443k
1 vote

Large Multicolumn table in latex

It is not entirely clear, how your table should look. MWE is broken, showed image is unclear. table is huge, so it present in frame is quite fragile ... possible solution (based on guessing) can be: ...
user avatar
  • 257k
1 vote
Accepted

Large Multicolumn table in latex

This web page can help you to create any type of table at the following address: https://www.tablesgenerator.com/
user avatar
2 votes
Accepted

How to create an empty mxn table in latex using \foreach?

This cannot work for an important reason, namely that \foreach doesn't work as you may think: it doesn't just spit out the given code and, even if it did, you cannot start a loop in a table cell ...
user avatar
  • 1.0m
0 votes

Horizontal line is not showing in table - tabularx

Inserting your code snippet into working article document where are in preamble loaded all needed paclages works fine: \documentclass{article} \usepackage{booktabs, tabularx} \newcolumntype{C}{>{\...
user avatar
  • 257k
1 vote
Accepted

table exceeds page height

I'm not familiar with doxygen, so my understanding of your table code is very limited Your simple table I would write directly with help of some package for long tables as are longtable, xltabular and ...
user avatar
  • 257k

Top 50 recent answers are included