7 votes

Writing multiline equation in align environment -> integrals become smaller?

Instead of inserting a number of \displaystyle directives ahead of \int statements in the denominators of various fractions, one could define a variant form of \frac called, say, \ddfrac -- short for &...
Mico's user avatar
  • 508k
7 votes
Accepted

Can anyone help me to draw this table?

You did not show any MWE, so it is unclear which packages you (want to) use, but with the nicematrix package you could do the following: \documentclass[border=10pt]{standalone} \usepackage{nicematrix, ...
Jasper Habicht's user avatar
6 votes
Accepted

Writing multiline equation in align environment -> integrals become smaller?

You are looking for \displaystyle. Thus, one can define \newcommand\dint{\displaystyle\int} to achieve what you want with \dint. As David notes in a comment, \dint will make everything following ...
Steven B. Segletes's user avatar
5 votes
Accepted

Converting table from word to latex

Here's my proposition to fit your table, although you are still strongly advice to visit the link: My table doesn't fit; what are my options?. In your case the main reason the table doesn't fit is c-...
Celdor's user avatar
  • 9,274
5 votes

Table within a table

One way is to use the nicematrix package. \documentclass{article} \usepackage{nicematrix} \begin{document} \begin{NiceTabular}{lw{l}{1cm}w{c}{2cm}w{c}{2cm}} & & \Block{1-2}{\textbf{Trust ...
Sandy G's user avatar
  • 43.1k
5 votes

Table within a table

I just discovered the amazing tabularray package, which provides many customisations for tables through a modern key-value interface and replicates the functionalities of classic table packages. It's ...
jlab's user avatar
  • 2,498
4 votes

Complex table (multicolumn within multirow) how to

Another possibilities is to use tabularray packages for writing your table- Using it resulted table is to my opinion more nice. \documentclass{article} \usepackage{tabularray} \UseTblrLibrary{booktabs,...
Zarko's user avatar
  • 297k
4 votes
Accepted

How to color a range of cells in a row in a table?

The tabularray package can be used. The options are set with keys. For example, cell{1}{2}={bg=myyellow} sets a background with color myyellow. Similarly, cell{2}{2-Z}={bg=myyellow2} sets a background ...
matexmatics's user avatar
  • 4,999
4 votes
Accepted

How can I fix this multicolumn to not destroy my table?

With the package xurl you don't have to worry about url hypenation (see here). I also used threparttable for the table notes and an ordinary tblr (just to give you another alternative w.r.t. NonnoDino'...
CarLaTeX's user avatar
  • 63.2k
3 votes
Accepted

How can I make the small cells expand all the way regardless of their number

\documentclass{article} \usepackage{nicematrix} \begin{document} \begin{NiceTabular}{lw{c}{5cm}}[hvlines,cell-space-limits=3pt] \Block{4-1}{Expressiveness} & Modality \\ & \...
F. Pantigny's user avatar
  • 40.8k
3 votes
Accepted

How can add the lines in this table

Use \cline to add horizontal lines that go through partial cells. \documentclass{article} \usepackage{multirow} \begin{document} \begin{table} \centering \begin{tabular}{|c|c|} \hline \...
Stephen's user avatar
  • 3,870
3 votes

Automatically expand height of multirow cells’ second row to fit content

You can create this table only at TeX primitive level: \def\p #1#2#3#4#5#6#7#8#9{% \hbox to\hsize{% \vtop{\leftskip=5pt \parindent=-5pt \hsize=.55\hsize #1\par\kern-\prevdepth}% \hfil ...
wipet's user avatar
  • 74.7k
3 votes

How to make the elements of the first row of this table rotate like this photo

EDIT: With the version 6.21 of nicematrix which provides \rotate[c]: \documentclass{article} \usepackage[margin=25mm]{geometry} \usepackage{nicematrix} \begin{document} \begin{table}[ht] \setlength{\...
F. Pantigny's user avatar
  • 40.8k
3 votes
Accepted

How to make the elements of the first row of this table rotate like this photo

Like this: With tabularray, makecell and rotating package is simple: \documentclass{article} \usepackage[margin=25mm]{geometry} \usepackage{rotating} % needed \usepackage{makecell} % needed \...
Zarko's user avatar
  • 297k
3 votes
Accepted

Table editing tools

As a quick hack, you can use \multicolumn{1}{c}{} to switch of the lines for a given cell. I think your table would look better if the limits would be centred with respect to the filled cells in the ...
samcarter_is_at_topanswers.xyz's user avatar
3 votes

How can I create the following table?

With {NiceTabular} of nicematrix. \documentclass{article} \usepackage{nicematrix} \begin{document} \color{red} \begin{NiceTabular}{*9{c}}[hvlines] Part 1 & Part 2 & \Block{1-3}{Part 3} &...
F. Pantigny's user avatar
  • 40.8k
3 votes
Accepted

Line breaks inside multirow does not make cell bigger

With tabularray: \documentclass{article} \usepackage{tabularray} \begin{document} \begin{table} \centering \begin{tblr}{colspec={*4c}, vlines, hlines, hspan=even, vspan=even} \...
CarLaTeX's user avatar
  • 63.2k
3 votes
Accepted

Specify line break in booktabs tabular without specifying cell width

I suggest you look into what the threeparttable package, its user environments (called threeparttable and tablenotes), and its user macro \tnote can do for you. Importantly, the width of the ...
Mico's user avatar
  • 508k
3 votes
Accepted

Multicolumn & Multirow leads to an unwanted vertical line

There are two, separate issues with your longtable environment: double-thickness vertical separator line in row 1 unwanted vertical separator line in row 2 To fix the first issue, change \...
Mico's user avatar
  • 508k
3 votes

Multicolumn & Multirow leads to an unwanted vertical line

With tabularray. You didn't show which document class you're using. Please note that, given its column width, your table goes out of the border, with an ordinary article class. \documentclass{article} ...
CarLaTeX's user avatar
  • 63.2k
3 votes
Accepted

issues with overfull \vbox and tabularx figure arrangement

First off, tabularx is doing no good as you already know how wide your pictures should be. The overfull is due, I believe, to \multirow, but you're misusing also this tool (which is rarely useful, in ...
egreg's user avatar
  • 1.1m
3 votes

Table within a table

Here's another example \documentclass{article} \usepackage{multirow} % Merge rows \usepackage{array} % More convenient column spec. \newcolumntype{L}{@{}p{2.5cm}} \newcolumntype{C}{w{c}{2.5cm}}...
Celdor's user avatar
  • 9,274
2 votes

Horizontal line overlapped by colored cells in table

Here is a solution with {NiceTabular} of nicematrix. In {NiceTabular}, you merge cells both horizontally and vertically with the command \Block. For the rows, you give the number of logical rows (and ...
F. Pantigny's user avatar
  • 40.8k
2 votes
Accepted

Incomplete vertical lines in tabular

The immediate cause of the issue is that you're missing two & symbols in the header row following "Resample". There's a larger issue with your table, though: All those vertical lines and ...
Mico's user avatar
  • 508k
2 votes

Adding vertical space in multirow table

By use of tabularray package is simple: \documentclass{article} \usepackage{tabularray} \UseTblrLibrary{amsmath} \usepackage{amssymb,amsthm,mathrsfs} \begin{document} \begin{table} \centering \...
Zarko's user avatar
  • 297k
2 votes

How can add the lines in this table

With use of the tabularray package you can write simpler and shorter code for table, and get a wee bit nicer looking table: \documentclass{article} \usepackage{tabularray} \begin{document} \begin{...
Zarko's user avatar
  • 297k
2 votes

\rowcolor is not working with \multirow

The trick is to merge cells from the bottom to top and apply \multirow in the last of the merging cells with a negative argument \documentclass{article} \usepackage{array} \usepackage{multirow} \...
Celdor's user avatar
  • 9,274
2 votes
Accepted

Trying to convert multi row table to multi row + multi column

As far as I know, this can be obtained by nesting tabular in tblr cells For example, as starting point: Edit: from OP comment follows, the table in nested tabulars hasn't vertical lines, so code is ...
Zarko's user avatar
  • 297k
2 votes

Trying to convert multi row table to multi row + multi column

With {NiceTabular} of nicematrix. \documentclass{article} \usepackage{nicematrix} \begin{document} \begin{NiceTabular}{lw{c}{5cm}}[hvlines,cell-space-limits=3pt] \Block{4-1}{Expressiveness} & ...
F. Pantigny's user avatar
  • 40.8k
2 votes

Table editing tools

Here how you can do that tabular with nicematrix. I have used {NiceArray} since all the entries are in math mode. In the environments of nicematrix, you merge cells both horizontally and vertically ...
F. Pantigny's user avatar
  • 40.8k

Only top scored, non community-wiki answers of a minimum length are eligible