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

learn more… | top users | synonyms

13
votes
2answers
38k 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 ...
7
votes
1answer
12k 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
3k 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 ...
19
votes
1answer
19k 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, ...
14
votes
1answer
5k 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 ...
13
votes
2answers
15k 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?: ...
5
votes
5answers
9k 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. ...
0
votes
1answer
542 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.
7
votes
1answer
8k 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: ...
8
votes
1answer
2k 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 ...
10
votes
2answers
10k 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
2answers
4k 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 ...
7
votes
3answers
8k 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 & ...
7
votes
3answers
2k 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.} ...
2
votes
1answer
218 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 ...
8
votes
2answers
349 views

Making an odd shaped table

I'm trying to make a table that looks like this: +--------------+ | Class 1 | +--------------+ | A | B | ...
6
votes
1answer
1k 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
841 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; ...
4
votes
1answer
4k 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} ...
4
votes
1answer
2k 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 ...
3
votes
1answer
2k 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 & ...
2
votes
1answer
86 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
660 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
287 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
220 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, ...
3
votes
2answers
1k 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 ...
5
votes
1answer
9k 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 ...
4
votes
2answers
4k 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} ...
3
votes
3answers
6k 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. ...
7
votes
1answer
425 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 ...
5
votes
2answers
166 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
1answer
2k 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 ...
4
votes
3answers
240 views

Table with multirows, multicolumns, and a combination of both

I need to create similar table using LaTeX: I have tried to use \tabular and \multicolumn, but every time I get something wrong. Could someone help me? \begin{table}[!ht] \small \begin{tabular}{ ...
4
votes
2answers
5k 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}\\ ...
3
votes
1answer
2k views

Table \rowcolor \columncolor \multirow and \multicolumn Alignment

I'm trying to recreate this table from Word in LaTeX: I'm getting close, but the "Effectiveness" section is not aligned properly, and the "Probability" section is not fully filled in with color. ...
1
vote
3answers
2k views

Center-align text in columns in tabular environment in multicol environment

I need the text in the second two columns to be center-aligned. I also need someone to please help me clean up this table. It looks ugly. Notice it is inside a multicolumn (2-column) environment, ...
8
votes
2answers
15k 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 ... ...
7
votes
2answers
711 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
4answers
213 views

How to color a cell of a table using multirow and center the cell content?

I have checked for other similar questions. I followed the suggested solution in the question Color in multirows. After implementing this solution, I still have a problem. I want to develop the ...
5
votes
1answer
301 views

How to adjust the width of a wrap text sideways column header in tabular [duplicate]

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 ...
5
votes
1answer
2k views

Prevent longtable breaking in multirow

How can I prevent multirow from breaking in longtable environment, so this won't break at wrong position as shown by code below. \documentclass{article} ...
5
votes
1answer
2k 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
2k views

Image Dropping Down in MultiRow Table

I am trying to build a table of images in Latex. Two of my images are portrait, two are landscape. My end goal, is to have them look like this: | | B | | | A |---| D | | | C | | With my ...
4
votes
1answer
201 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
100 views

Problems with \rowcolors and booktabs

I'vegot 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 ...
3
votes
1answer
102 views

List Numbering Through Multiple Tables

I am seeking to create a math workbook that looks similar to the picture below. I have included a selection of code I am attempting to get working - marked as MWE. My issue is that I want to continue ...
3
votes
2answers
2k 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 ...
3
votes
1answer
382 views

Misalignment of table columns when using multirow

I have a LaTeX document in which I am using custom environment and commands to make everything a bit easier. However, when I use the multirow command in one of my custom environments, the alignment of ...
3
votes
1answer
4k views

Multirow and tabularx

I'm trying to make a table that should be pretty straight forward. But somehow, the text in the two first cells seems to "forget" that it's using the X-alignment command in tabularx: ...
3
votes
2answers
2k views

how to vertically align text in multirow cell with tabularx with renewcommand?

Here I come again, Following the indications on this url I managed to get almost exactly what I want. However the problem is that the first multirow cell (with text "5 and 6") is not vertically ...