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

learn more… | top users | synonyms

17
votes
2answers
58k views

Combine 4 cells in a table

Here is some simple table - I cannot upload, because I'm just a guest. I want to merge 4 cells. I mean I want to combine three "this" area in this table. I thought I have to use multirow and ...
31
votes
1answer
42k 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, ...
7
votes
2answers
17k views

Formatting of Tables in Latex, using multirow and multicolumn together

When I used this piece down, I got. \documentclass[a4paper,12pt]{report} \usepackage[inner=0.75in,outer=0.65in,top=0.75in,bottom=0.75in]{geometry} \usepackage{graphicx} \usepackage{url} ...
4
votes
1answer
4k views

Table with multiple merging

Most of the places, examples for merging of cells in tables are given. But, I could not find a merging of cells in complicated fashion as shown below. This question may summarize all the possible ...
15
votes
1answer
9k views

Cellcolor overwrites partial horizontal lines (\cline)

So I need to make a colored table with multirows, together with the use of partial horizontal lines. I used \cline which does not work: the \cellcolor-command overwrites the line. This question told ...
15
votes
5answers
23k views

Centering mutirow text in a table whose cells contain several lines of text

I'd appreciate advise in centering a multirow text. In the MWE below the multirow text "spring" is NOT centered over the three rows that it spans. ...
17
votes
3answers
27k views

Text wrap in tables (multirow package loaded)

I searched a bit, but I could not find a reliable way to wrap text in tables with columns spanning more than one row. Any ideas on how to fit this table in the page?: ...
12
votes
1answer
17k views

Vertical Alignment in multirow using cells with >1 lines

I want to vertically align (best would be to center) the text ("TEST") in the left (yellow) column of the following table. It works fine with multirow when every row has exactly the hight of one line: ...
0
votes
1answer
703 views

How to make table with divided column [duplicate]

Possible Duplicate: How to merge columns in a table? How can I make a table of the type above? I am writing a seminar report using the report class.
6
votes
2answers
7k views

Vertical alignment using multirow and booktabs

I'm trying to format correctly the following table: \documentclass[a4paper,twoside]{report} \usepackage{array,colortbl,multirow,multicol,booktabs,ctable} ...
9
votes
1answer
20k views

Combining multirow and multicolumn

When combining multirow and multicolumn in the same cell of a table I am getting extra vertical lines: \documentclass[plain]{article} \usepackage{multirow} \pagestyle{empty} \begin{document} ...
19
votes
2answers
31k 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 ... ...
4
votes
1answer
677 views

Problems with \rowcolors and booktabs

I've got few tables created with few packages included booktabs where I use the command \rowcolors from the xcolor package. But in the last I notice that the colour is wider that the lines of the same ...
8
votes
1answer
3k views

longtable multirow problem with cline and nopagebreak

I have a problem using with the package lontable and multirow together. It seems that the \* is not avoiding the page breack, if I'm using \cline{i-j} just afterwards. Here the original code for ...
1
vote
1answer
3k views

Table cell vertical line missing

The vertical line at the end of the cell where i used cell merge is missing.
25
votes
2answers
25k 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 ...
17
votes
1answer
103k 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} ...
4
votes
2answers
6k views

Cannot insert multirow within multicolumn

I want to make a matrix that incorporates both multirow and multicolumn. However the code doesn't work. Sorry if the question is stupid, I am playing with matrices the whole day and probably I am ...
9
votes
5answers
14k 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 & ...
6
votes
3answers
11k views

Text wrapping in multirow columns [duplicate]

How do I make the long multirow cell wrap its text? Ideally I'd like to be able to specify a width for the entire column. The text should also be centered both vertically and horizontally. ...
2
votes
1answer
675 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 ...
8
votes
3answers
3k views

How can I achieve proper vertical spacing for long blocks of text within a \multirow?

I'm trying to work with a table of the form: \begin{tabular}[]{l D{.}{.}{-1}} \multirow{2}{1in}{Here is a ton of text that is not going to fit in one single line in this 1 inch column.} ...
3
votes
1answer
876 views

How can I put some white space between consecutive bigdelim braces in tabular, without inserting space between rows?

In one column of a table (using the tabular environment), I have consecutive braces created using the bigdelim package, as in the following: &\rdelim\}{3}{60pt}[\ S--S--L] & & ...
3
votes
2answers
364 views

Centering text in tables problems with colortabs

I am trying to produce a basic color table as shown below \documentclass{article} \usepackage{booktabs} \usepackage[dvipsnames*,svgnames]{xcolor} \usepackage{colortbl} \usepackage{array} ...
2
votes
1answer
389 views

How to adjust the width of a wrap text sideways column header and width of a paragraph cell in tabular

I am trying to create table as below, in Texmaker. . here i am facing following issues. To wrap text the column headers from 4 to 6 and align it center. Hspace on paragraph [row 3 last column] is ...
1
vote
2answers
78 views

dash line between rows in a table

Why there is no dash-line between the rows s12 and s1n like between the columns s22 and s2m? Normally there should be one. What I did wrong? Thank you!! \documentclass[a4paper, ...
9
votes
2answers
449 views

Making an odd shaped table

I'm trying to make a table that looks like this: +--------------+ | Class 1 | +--------------+ | A | B | ...
7
votes
2answers
895 views

problem with \ifthenelse + multicolumn

I encounter various problems when i want to control the display of a table with a ifthenelse test. For example, consider the following M(non)WE : \documentclass{article} \usepackage{multirow} ...
6
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 ...
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; ...
5
votes
1answer
3k views

Cell colouring a multirow in LyX

I've got a multirow cell and I need to make it all have one background colour, but I'm having trouble achieving this. I've defined my color (lightgreen) in the preamble, but don' know how to apply it ...
4
votes
1answer
5k views

! Missing number, treated as zero, for creating table in Latex

I'm trying to create the following table. This is the code which I wrote. \begin{table}[!htb] \centering \caption{"table1"} \begin{tabular}{|c|c|c|c|c|c|c|c|} System & ...
3
votes
1answer
142 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 ...
2
votes
3answers
65 views

Help with table multicolumn [duplicate]

I'm going crazy in trying to draw the following table in LaTeX: Can you help me please? Thank you in advance Here's what I've done: \begin{tabular}{c c c} A & \multicolumn{2}{c}{B}\\ E ...
2
votes
1answer
211 views

Multirow and Multicolumn with missing lines

I am trying to create a table which uses both multicolumns and multirows, and I am getting some graphical problems. As you can see on below image, the top right corner is missing a line and the ...
2
votes
1answer
129 views

longtable multirow problem with cmidrule and nopagebreak

I'm trying to reimplement the David Carlisle solution given here for breaking long tables over certain rows (breaking in \hline commnands instead \cline ones). This solution is complemented with the ...
2
votes
1answer
141 views

Problem with abbreviation of `\multirow` and `\multicolumn` (LaTeX)

I have had to typeset several block matrixes lately. So I thought of defining abbreviations of \multirow and \multicolumn so as to avoid having to remember the former needs {*} and the latter {r} and ...
2
votes
2answers
865 views

Multirow tabular: un-indent the first line

In pdfLaTeX, tabular environment, the first line of each \multirow cell is indented. No matter if I use l, r or p for column specifier. How to get rid of that?!? Here is the screenshot: Here is ...
1
vote
2answers
459 views

Multirow and multicolum memoir

I am trying to implement a table given in the snapshot. Firstly, I just want to draw a multirow, as it is shown in the image. \documentclass[12pt, a4paper,twoside]{memoir} \begin{document} ...
1
vote
1answer
374 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, ...
11
votes
1answer
23k 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
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 ...
9
votes
2answers
4k views

Placing a figure inside a multirow table cell

Is it possible to place a figure within a multirow cell? The vertical alignment is ruined. Does it have to do anything with tikz's bounding boxes? The following mwe produces the following result ...
4
votes
1answer
976 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 ...
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} ...
8
votes
1answer
4k views

How to get multiple multirows in a table?

I want to render a table with results of experiments. There are 6 experiments (multirows) described by 2 columns and each of them is performed 5 times (rows). My code: \begin{tabular}{l r | l || r ...
7
votes
1answer
561 views

Sideways label for table with alternating row colours

I have a multirow column in a longtable with alternating coloured rows. The alternating colour overflows into the multirow. Colouring the first column white wipes out the specialrule but doesn't seem ...
6
votes
1answer
4k views

Newline in \multirow environment

One element of a multirow column is long. How can I split it so that it spans over multiple line. The following code \documentclass{article} \usepackage{multirow,array} \usepackage{booktabs} ...
5
votes
2answers
262 views

In a table: Problem equalling the width of only three columns

I am writing a thesis in a large .tex file in Vim. As I show in this image, the first, second and third column have different spacing (width): This is the code for the table: \begin{table}[h] ...
5
votes
4answers
7k views

Coloring a multirow

i have currently this code in LaTeX \begin{footnotesize} \begin{center} \begin{longtable}[c]{ll} \caption[API da listagem de um docente]{API da listagem de um docente.} \label{relStruct}\\ ...