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

learn more… | top users | synonyms

2
votes
2answers
2k views

Multicolumn/multirow inside align

Is there a way to use \multicolumn or \multirow inside an array environment which is inside align environment? For instance, the following piece of code gives me an error. What is the way around this? ...
7
votes
1answer
1k views

How to create a table with merged columns and rows, and wrapped text, like in MS Word?

The above can easily be created in MS word, but how can I create something like this in latex? Basically changing the columns for specific cells, merging a bunch of cells together, wrapping text in a ...
6
votes
1answer
430 views

Multirow in multirow

I am trying to get this to work. It is supposed to have a cell (that was already created with multirow) with three rows but I do not know how to get it to work. I am using shortstack to get it, but ...
3
votes
1answer
148 views

Column line overshooting the horizontal line in table

\begin{tabular}{|m{3.5cm}|m{5.5cm}|m{4.5cm}|} \hline \emph{Category of Benefits} & \emph{General Benefit} & \emph{Operational Advantages} \\ \hline \multirow{3}{*}{\pbox{3.5cm}{Robust ...
4
votes
1answer
348 views

Color in multirows

I have a similar problem to that on the post xcolor package; color multirows with the following table. The four-row-cell containing the word 'HHeader' should be completely gray. I have tried to ...
3
votes
1answer
2k views

Multirows, multicolums and vertical centring in the tabu environment

I have a table, using the tabu environment, in which I would like multirow and multicolumn cells. Inside the cells, any content that doesn't vertically fill the cell should be vertically centred. ...
2
votes
1answer
734 views

How to implement this table in LaTeX

I really tried hard to do this on my own, but I keep failing ... Using multi-column and multi-row commands confused me. I know some of you might frown upon such a request but I really need help ...
1
vote
1answer
857 views

How to properly use tabular within \multirow?

For \multirow{3}*{\minitab[c]{India \\ Canada}} I get various error messages in the code below; whereas both \multirow{3}*{India Canada} and \multirow{4}*{\minitab[c]{Common \\ g text}} & ...
21
votes
2answers
34k views

Misplaced \noalign

Unfortunately I cannot solve the error with noalign on my own: ! Misplaced \noalign. \hline ->\noalign {\ifnum 0=`}\fi \hrule \@height \arrayrulewidth \futurelet... l.12 ... &...
6
votes
3answers
1k views

How to get the braces in the multirow spanning all three rows?

In the following table I would like to have the braces in both multirows span the three rows that the multirow is covering. I tried using \left.\right\} and editing the vertical space, but nothing has ...
1
vote
1answer
392 views

multiple uses of multirow

I'm trying to create a table in LaTeX using the multirow package that is such that we have in the first column, a row that spans six (with a title/whatever in it) with an empty space in the top row, ...
1
vote
0answers
13 views

Multiple uses of multirow in LaTeX [duplicate]

I'm trying to create a table in LaTeX using the multirow package that is such that we have in the first column, a row that spans six (with a title/whatever in it) with an empty space in the top row, ...
6
votes
2answers
6k views

How to get line-breaking / multirow to work in the caption of my beginner's table?

How to get line-breaking / multirow to work in the caption of my beginner's table? \caption{this is my first table's captive caption} I'd like the caption to look sth like this: this is my ...
1
vote
1answer
739 views

How to get line-breaking / multirow to work in my beginner's table?

I can't seem to get the multirow or pbox to give me a line break (of "automatic" width). The following won't compile successfully: note the two variations in the "TOTALLY" line. How can I fix it? \...
6
votes
1answer
373 views

Table Configuration

I'm new to LaTeX, and I'm currently struggling with trying to create a table for a lab report. The table has to look like this: I have tried looking at the \tabular, \tabulary and \tabularx ...
6
votes
1answer
1k views

Table - remove row lines in column to furthest right

How do I remove row lines in the column to furthest to the right. I have seen examples where they do it the left. I would like the "powers" from the table here to be on the right side instead of the ...
6
votes
1answer
2k views

Problem while using multirow with graphics

I have a problem with the multirow command. \begin{array}{|c|c|} \includegraphics[width=1.5in]{1} & \multirow{2}{*}{ \includegraphics[width=1.5in]{3} } \\ \hline \includegraphics[width=1.5in]{2} &...
1
vote
1answer
1k views

Longtable with multicolumn and multirow not working

I'm using a table generated from Excel2Latex in my document. Despite using longtable, the table gets truncated at the end of page after overflowing the bottom margin. Min. working example provided ...
1
vote
1answer
332 views

Extra space added in table with multi-rows and columns

I am working with a table with multi-rows and headers. The problem is when I run it, extra space is added both between rows and at the end of the last column. \documentclass{article} \...
3
votes
2answers
306 views

line-breaking inside multirow environment in a pgfplotstable

I want to combine two string columns into one column. The contents of the columns should be in two lines, i.e., first column's content must be in the first row of the combined column and second column'...
1
vote
1answer
140 views

Creation of Column

I am making a table of made up of two columns, but the problem is that in the last row I have multiple column with in a single row, I don't know how to do this. I applied \multicolumn but it did not ...
2
votes
2answers
330 views

How to align rotated table texts?

I turned the captions of my table by 90 degrees. Unfortunately, the headings do not fit to the table contents. Screenshot: Can this be changed? I already tried parbox but that did not work. Here ...
2
votes
0answers
310 views

Formatting big matrix and ratios using multi-row entries [closed]

It is possible to write the denominator or the numerator of a ratio, as well as the entries of a matrix, in multiple rows? This could be helpful in order to format long equations inside a document. ...
0
votes
1answer
4k views

Setting single row height with multirow

I have a table in LyX document. And I'm using multirow to span text across multiple rows. For example I might want the text to span across 2 rows, the problem occurs when it doesn't fit, then it just ...
8
votes
1answer
1k views

Make \addlinespace globally to work with all tables

I found that useful command \addlinespace[3pt] to create an extra white border around the rows. See example: \documentclass[a4paper]{report} \usepackage{multirow,booktabs} \usepackage[table]{xcolor} ...
34
votes
1answer
47k views

How to rotate text in multirow table?

I have a big table with a problem, when I want to rotate the text in a \multirow cell, the text is placed outside and is bigger than the dimensions of the cell, I took some advice from here, using\...
7
votes
1answer
3k views

xcolor package; color multirows

Consider the following table: \documentclass[a4paper]{report} \usepackage{multirow} \usepackage[table]{xcolor} \begin{document} \begin{table} \rowcolors{1}{gray!15}{gray!15} \centering \...
0
votes
1answer
2k views

Problem setting the width of a column with multirow command

I have an issue with the width of a column, I have a long word in a cell which is larger than the column width, I've tried with \parbox, changing the width of the box and the column, but I can't fix ...
1
vote
1answer
341 views

Table without using booktabs

I would like to know how to create the following table without using the package booktabs. Is this even possible? \begin{table*}\centering \begin{tabular}{@{}rrrrcrrrcrrr@{}}\toprule & \...
11
votes
1answer
25k views

Vertical lines in a multirow and multicolumn table

I am trying to finish this table scheme but I can't figure out what I am doing wrong. I want to convert those discontinued lines into continuous lines and I want to center the label "Total" between ...
3
votes
1answer
146 views

Undesirable lines with multi rows in tables

I'd like to get your help with a table where I'm using multi rows. It appears lines from rows, it's undesirable. Also I have a weird alignment of the text in cells, title in 6th row isn't centered. I ...
4
votes
1answer
208 views

Creating a specific (locally vertical-first) cell highlighting order in the PDF

I have a table with a bunch of split cells (or large \multirow cells, depending on how one looks at it). This is a minimal example, for the setup I need the table in: \documentclass{memoir} \...
13
votes
1answer
4k views

Problem with multicolumn color tables

edition might be grateful since i don´t know how to name this problem. English is not my native idioms. Also I don't know how to interpret this problem as well on so apologies in advance. I am ...
1
vote
1answer
2k views

Multirow Nested Table

I am trying to built a 6x6 table which contains mutlirows. My code is \documentclass[a4paper,11pt]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{multicol} \...
3
votes
2answers
3k views

Using tabularx, multirow, and parbox for line-wrapping

I am using a multirow inside a tabularx, but because the multirow doesn't wrap, I am putting the multirow's text inside a parbox environment: \begin{tabularx}{\textwidth}{@{}XX@{}} \toprule blah &...
6
votes
1answer
5k views

Tabular inside longtable

I need a longtable like this table shown in HTML: but when I use \multirow, the data inside the \multirow is continued inside the next cell. I have tried with the following \begin{longtable}{|>{...
2
votes
1answer
2k views

Text in rotated multirow cell crosses table border

I'm trying to create a table like this: For it, I wrote the following code: \begin{table}[h!] \begin{tabular}{|c|c|c|} \hline \multicolumn{2}{|c|}{one} & \...
2
votes
2answers
364 views

How to make a cell content take up multiple lines

I am creating a table where some cells would contain very long text. For these cases, I want the content of this cell to take up multiple lines. With the default implementation, after building , I see ...
3
votes
2answers
159 views

\multirow - Long name breaking/ruining layout

When I use this tabular enviroinment, for some reason the second-lowest row gets messed up badly. Can anybody please tell me how to fix this? \documentclass[11pt, a4paper, fleqn, parskip]{scrartcl} \...
5
votes
1answer
2k views

multirow and text wrapping

I have a problem using multirow along with text wrapping when spanning cell contains a lot of text. Here is my code: \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage{...
27
votes
2answers
27k views

Table rowspan and colspan

I need to create similar table using LaTeX: I have tried to use \tabular and \multicolumn, but every time I get something wrong. I want: Fixed width columns and fixed height rows; Centered cells ...
4
votes
1answer
988 views

Vertical alignment with multirow in tabularx

I have looked around for a solution that allows me to vertically centrally align a multirow row that spans two intermediate rows, which potentially span multiple lines since the tabular environment is ...
5
votes
2answers
1k views

How to make TeX fit rotated text into table cell?

This is what I have in HTML: <style type="text/css"> table, th, td { border: 1px solid black; border-collapse: collapse; padding: 2px; margin: 2px; } th { background-color: #dddddd; ...
6
votes
3answers
835 views

Build table with different cells sizes

I have written this code for the table shown bellow on the left but I like to make some modifications so it looks like the table on the right. Can you help me? \begin{table}[t]\footnotesize\...
10
votes
6answers
15k views

Text alignment on top with multirow command

\begin{table}[!h] \centering \caption{Titel} \resizebox{.95\columnwidth}{!}{% \begin{tabular}{p{4.5cm}p{10cm}p{3.5cm}} \hline Name & \multicolumn{2}{p{\textwidth-3\...
23
votes
1answer
123k views

How to use \multirow

I can compile this table separately but when I want to compile the whole file, it gives me an error, which is fixed by removing \multirow. \usepackage{multirow} \begin{table}[htbp] \begin{center} \...
6
votes
2answers
5k views

table with tabularx and multirow

While using tabularx and multirow I tried to import this table (made with Word) in LaTeX: but it's not really working. It seems as if there isn't enough space for the text, but shouldn't taburlarx ...
1
vote
1answer
181 views

Complex tables - commentry

I have a table which I need to go over multiple pages, hence I am using \usepackage{longtable}. However I am also using \multirow as my comments are simply too long to fit into one! But there are ...
2
votes
1answer
758 views

How to avoid text overlap when using `multirow` in `longtable`?

I have a two column table. The first column contains (for eg) name and designation and second column has lots of text. I want the name and designation to stay close but on separate lines. For this I ...
4
votes
1answer
311 views

New command employing \multirow and \multicolumn

I define a new command like this: \newcommand{\rowcol}[4]{ % \multicolumn{#1}{#3}{\multirow{#2}{*}{#4}} % } I then use it inside the column as, \rowcol{2}{2}{|c|}{Factor}}&\multicolumn{2}{...