Skip to main content

Questions tagged [multirow]

{multirow} is a package for facilitating multirow cells in {tables} and {arrays}.

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

Multispan cells in longtblr

I'm trying to use \SetCell to create multi-row cells in a longtblr environment. It's working very well, except in the first column, where the multispan options don't work - the cells remain unmerged. ...
Coretta's user avatar
  • 13
2 votes
1 answer
149 views

What should I do so that the length of the brackets remains constant when I color the table?

\documentclass[a4paper,10pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} %\usepackage[table]{xcolor} %\usepackage{colortbl} %\usepackage{xcolor} \usepackage{...
Özgür's user avatar
  • 3,344
5 votes
6 answers
441 views

How to produce this table: Probability datatable with multirow

I want to produce the the following table: This is my working(only data for Male) \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{multirow} \begin{document} \begin{tabular}{|p{1.5cm}...
Rafiq's user avatar
  • 255
1 vote
1 answer
30 views

Merge column does not work using multicolumn

I use this code, but merging the column does not work exactly in the 4th row. \begin{table}[ht] \centering \caption{An overview of source of uncertainties, uncertainty propagation, and ...
Heri's user avatar
  • 13
4 votes
2 answers
136 views

Formatting errors when creating a table

this is my first question, so please bare with me. I am new to Latex and are using it to create a investigation I have conducted on Snells law. I need assistance with creating a results table. I am ...
user avatar
2 votes
2 answers
49 views

Text outside of the cell

How can i fix the issue shown in this image, the text 'Controler' spawns outside the cell. Here is my code : \documentclass[a4paper,10pt]{report} \usepackage[utf8]{inputenc} \usepackage{amsfonts} \...
SpikeSp's user avatar
  • 23
2 votes
4 answers
203 views

Problems with coloured tables with \multirow and \multicolumn and text-wrapping for table with a lot of text. Getting blank, white areas

I have a table where I need to display lots of text in the first column and the first 3 rows. I therefore require to wrap the text so I have been using centered |p| cells. Since i have so much text i ...
JustAnotherPerson's user avatar
0 votes
0 answers
25 views

Create multirows based on CSV content

I have the following Latex code: \documentclass{article} \usepackage{csvsimple} \usepackage{multirow} \usepackage{booktabs} \usepackage{rotating} \begin{document} \begin{sidewaystable} \...
nflgreaternba's user avatar
2 votes
2 answers
97 views

Problem with multirow and long text

I am having a problem with multirow in my table. I have very long text in some of the cells. Here's the MWE: \documentclass[conference]{IEEEtran} % Essential packages \usepackage{cite} \usepackage{...
Kenneth Ligutom's user avatar
2 votes
3 answers
79 views

Drawing table in LaTeX

This is my code: \documentclass{article} \usepackage{graphicx} % Required for inserting images \title{asdagd} \author{Finn Krammer} \date{June 2024} \RequirePackage{ifluatex} \ifluatex % source: ...
Q170's user avatar
  • 23
0 votes
2 answers
46 views

Multirow cell obfuscated by \hline

Here is an unfinished (yet properly compiling) table that I made in LaTeX. I'd like to be able to say that I tried different things to fix it, but I'm not even sure where to start, as I'm coming back ...
GPWR's user avatar
  • 267
2 votes
2 answers
87 views

Insert Image beside Tabular

I have some issues with Image Inserting. That's the Code part. \begin{rSection}{Persönliches} \begin{tabular}{ @{} >{\bfseries}l @{\hspace{6ex}} l r } Geburtsdatum: & xyz & \multirow{3}...
luks's user avatar
  • 21
3 votes
1 answer
93 views

Remove vertical line between two cells in a LaTeX longtable

I use this code in LaTeX to make a table: \begin{center} \begin{longtable}{|c|p{0.08\linewidth}|p{0.08\linewidth}|} \hline \multirow{3}{*}{Text O} & \multicolumn{2}{c|}{\multirow{2}{*}{...
Tari's user avatar
  • 31
2 votes
1 answer
32 views

Footnote in tables in revtex4-2 gets wrapped when multirow is used

MWE: \documentclass[twocolumn,amsmath,amssymb,aps,prb]{revtex4-2} \usepackage{multirow} \usepackage{booktabs} \begin{document} \begin{table}[htbp] \caption{Using star * in \texttt{\textbackslash ...
Boyoung Zheng's user avatar
2 votes
2 answers
65 views

Latex table content overflow

I have a table with multiple long texts, and can't fit them into page width. I have figured out an optimal set of column widths(with trial-and-error according to textwidth), but when I put the ...
Kawshik Banerjee's user avatar
1 vote
3 answers
65 views

Latex table with complex multirow structure including intermittent lines

I am new to Latex and I know the basic coding, however I would like to create the following complex table (see attachement) in latex and I can't find a way to succeed. I already read some of the ...
Marthe's user avatar
  • 11
1 vote
2 answers
53 views

How to color Multicolumn and Multirow correctly

i am new to LaTeX and i need to create a specific Table. It is important that the top topics in the left column are coloured grey. Because these are cells that consist of several rows, it is difficult ...
alpa's user avatar
  • 21
1 vote
2 answers
42 views

Longtable: White stripes in colored multirow cell

My problem comes whenever I create a longtable using this page: https://www.tablesgenerator.com/ and paste it into Overleaf. Most of it comes out well but in this case, a thin white/uncolored stripe ...
Alquídreo's user avatar
3 votes
4 answers
456 views

Table within a table

I am having trouble with this table that I originally made in Excel There are two things that I am having trouble with: Setting up the borders just for the bottom right Making sure that "Trust ...
YouLocalRUser's user avatar
1 vote
3 answers
47 views

Create mutlicolumns and multirows simultaneously

I want to create several columns and rows simultaneously. I found different approaches (\Block or nested \multicolumn in \multirow) but they did not work for me. (Especially because the examples did ...
Fantastic MsFox's user avatar
0 votes
2 answers
40 views

LaTeX table - Multirow Issues

I'm not very familiar with LaTeX and I'm having issues formatting a table. I'm using longtable and mulitrow, and the following portion of code is causing issues: REQ-015 & \multirow{1}{=}{Verified ...
tmcg's user avatar
  • 1
2 votes
1 answer
74 views

Mixed NiceTabular, MultiRow, Multicolumn, Alignments problems and Missing $

I love the way Latex looks, but sometimes, it's a nightmare to sort things out. I am trying to make a table, and I am at his point. At first, I tried to create the table using "tabular", but ...
Alberto Gonzalez Berrio's user avatar
2 votes
1 answer
59 views

issues with overfull \vbox and tabularx figure arrangement

Hi there I was looking into a clever way to present five figures in LaTex. I found this post which I believe it's quite useful in my case since I can present an enlarged version for one of the ...
Matteo's user avatar
  • 365
2 votes
2 answers
150 views

Multicolumn & Multirow leads to an unwanted vertical line

What I wanted to get: What I'm getting: Minimum Working Example: \begin{longtable}{ | l | p{7cm} | l | p{6.5cm} | } \hline \multicolumn{2}{|c|}{\multirow{2}{*}{Índice}} & \multicolumn{2}{|c|}{...
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar
0 votes
1 answer
50 views

Table as a page header

I started using Overleaf this year for my lab reports, and I am wondering if there is a way to use a table as a header. I have tried pasting Excel data into a table generator, but this hasn't worked ...
Luis Franco Hermoza Navinta's user avatar
0 votes
1 answer
103 views

Longtable alternatives

I have a number of problems with this table. (1) Presently it does not span two pages, I'm aware I need to use the longtable package but I am aware there is a problem with this in the APA7 document ...
Dylan's user avatar
  • 3
2 votes
1 answer
166 views

Conflict between Springer document class and \cline [duplicate]

So, I am trying to write down a table in the "sn-jnl" document class from Springer: when I do it it "article" instead I get exactly what I want: \documentclass{article} \usepackage{...
GVT's user avatar
  • 173
-1 votes
1 answer
72 views

Can anyone help me to draw this table?

I wanna draw in LaTeX the following table. But I found it is rather difficult, especially the header, which contains some non-vertical lines. Can anyone help me with this? Thank you very much.
南洋小學生's user avatar
0 votes
1 answer
50 views

text of the first line disappears after using rowcolors

\usepackage[table]{xcolor} \usepackage{xcolor} \usepackage{soul} \begin{table*} \rowcolors{1}{yellow!50}{yellow!30} \setlength\tabcolsep{3pt} \caption{Related Surveys Comparison} \begin{tabularx}{\...
Ossama Nazih's user avatar
2 votes
2 answers
109 views

Vertical alignment (centering) not working (multirow, longtable, booktabs)

I am having an issue that I cannot resolve, even after searching online, I apologize as I'm fairly new to Latex and this is basically my first table (which needs to span over multiple pages). As you ...
Mr42's user avatar
  • 23
4 votes
3 answers
110 views

Specify line break in booktabs tabular without specifying cell width

I have a table with lots of columns which will most of the available horizontal space in my page layout. And I would like to add a "note" of sorts to the bottom of the table, which: Spans ...
Zak's user avatar
  • 175
1 vote
3 answers
100 views

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

\begin{document} \begin{table}[h]{Erstmalig im Inland in Verkehr gebrachte Düngemittel} \caption{Düngemittel Reinnährstoffabsatz von 1995/96 bis 2013/14 (Menge in t)} \resizebox{\textwidth}{!}{...
Lukas E.'s user avatar
2 votes
1 answer
55 views

Line breaks inside multirow does not make cell bigger

I have some long lines in a table and I am using \makecell to add in line breaks. Usually this works fine (vertically centres the text and expands the cell to fit), but I need this inside of a ...
Henry Ginn's user avatar
1 vote
2 answers
81 views

Combining columns and rows in overleaf

I would like to put "U.S. census" in the middle of the given space, and also "GroupA" as well. Currently it's somewhat shifted. How should I combine the rows? \begin{table} \begin{...
snowman's user avatar
  • 41
1 vote
2 answers
155 views

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

In the below code I have tried to redefine the \cellcolor command to achieve the effect of coloring a range of consecutive cells in a row by creating a command called \colorrow. It didn't work out. I ...
tonygrey's user avatar
  • 137
2 votes
2 answers
144 views

Complex table (multicolumn within multirow) how to

I'm trying to construct a table that looks like the following: I know I need to use multirow package in the tabular environment, but I can't figure out how since I couldn't find examples that are ...
ValientProcess's user avatar
1 vote
2 answers
57 views

Table Does not Wrap properly

I tried to change my columns with p{unit} and also tried to use thead to get my final row in my table to wrap. There is too much text and it runs of the page, causing some other text not to show. Is ...
Nick B's user avatar
  • 937
0 votes
4 answers
88 views

How can I create the following table?

How can I create the following table?
DSPinfinity's user avatar
1 vote
2 answers
72 views

How to format tables with multiline cell values by incorporating word wrap?

I am trying to make a table with multiline values in a cell. Following is the MWE: \documentclass[12pt]{article} \usepackage[a4paper, total={170mm,262mm}, left=20mm, top=20mm]{geometry} \usepackage{...
TRK's user avatar
  • 399
3 votes
3 answers
50 views

using counter in multirow commande

I'd like to create a macro that creates a table from a list, with the first column merged. I still have 2 problems, the first being to obtain the size of my list, for the moment I'm getting size + 1 ;(...
FrancoisFEM's user avatar
1 vote
1 answer
32 views

multirow out of boundary

Try to create a table with a merged cell. For some reason, there are two empty rows and the number are out of boudary? How should I make the merged cell start from the top instead of with two empty ...
Han Chen's user avatar
0 votes
2 answers
40 views

Multirow text disappears behind cell

I wanted to use multirow, but the text of it disappears between the first cell. Here is my table %multi-row \usepackage{multirow} \begin{xltabular}{\textwidth}{ | >{\columncolor[gray]{.8}\...
Sebastian Byg's user avatar
0 votes
0 answers
58 views

Why is \tablenum{} needed for correct table alignment using siunitx and multirow?

I am trying to typeset a very big and complicated table and was struggling to correctly align the last column (the 10 in the MWE should not be centered but under the last two 0s of the 7000000 above ...
ask_ask's user avatar
  • 35
2 votes
3 answers
86 views

Specifying the column width and centered vertical alignment of latex table

I have a table with multi-rows and columns. I need to specify the column width of some of the columns because the table is too wide for the page. But I can't find a way to do so and vertically center ...
Devin Dalton's user avatar
5 votes
2 answers
244 views

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

My goal is to reproduce the following math snippet. The problem is not the many symbols but the fact that when I use the align environment, the integral sign becomes small, which results in less '...
Pazu's user avatar
  • 255
2 votes
3 answers
90 views

Table editing tools

I was trying to create a double entry table but as I'm extremely new to Latex using the nicematrix/nicetabular packages seemed a bit daunting. I decided to try my luck messing around with the "...
Nadimanator's user avatar
0 votes
1 answer
169 views

Converting table from word to latex

I'm very new to overleaf and coding in general - I'm struggling quite a bit with the tables. My problem is I can't figure out how to transform this table (from Word) into LateX. I know there is some ...
patta83's user avatar
1 vote
1 answer
190 views

Wrap text in table column with \textwidth, \multicolumn and \multirow in LaTeX

I'm looking to wrap the text in the 3rd column, so that the table doesn't render too small (and disproportionate) on my document. Here is my code: \begin{table}[] \resizebox{\textwidth}{!}{\begin{...
mk123's user avatar
  • 13
3 votes
1 answer
46 views

Adding vertical space in multirow table

How can I add some vertial space above and underneath the vector (and the line) with keeping the two entries in the second column vertically centered? \documentclass{article} \usepackage{multirow} \...
esner1994's user avatar
1 vote
1 answer
49 views

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

What I want is this This is my code \documentclass{article} \usepackage{nicematrix} \begin{document} \begin{NiceTabular}{lccccc}[hvlines,cell-space-limits=3pt] \Block{4-1}{Expressiveness} & \...
zEn feeLo's user avatar
  • 175

1
2 3 4 5
24