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

learn more… | top users | synonyms

1
vote
2answers
73 views

Using `\multirow` [duplicate]

I need to build a table that looks like this: Quite obviously the \multirow package must be what I'm looking for, but every example I've seen so far only shows how to do this the other way around - ...
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 ...
1
vote
0answers
111 views

prevent color from overlapsing cell border

All question I have looked to doesn't help me to solve my problem. Here's my code : \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \usepackage{color} ...
4
votes
2answers
100 views

Multirow with strike through?

Could somebody give me a hint, why the \multirow doesn't work as it should? \documentclass{article} \usepackage{multirow} \begin{document} \begin{tabular}{c|c|c|c|c|c|} \emph{step} & 0 & 1 ...
4
votes
3answers
237 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
1answer
108 views

Multirow and decimal alignement

Here's my code \documentclass[a4paper]{article} \usepackage{booktabs} \usepackage{multirow} \usepackage{dcolumn} \newcolumntype{d}[1]{D{.}{.}{5}} \begin{document} \begin{tabular}{c l l c ...
2
votes
2answers
50 views

tabular & multirow: taking a multirow back to a single

I have a table that I needed multirow for say column 2, but for column 3, I am putting the best result from column 2. \documentclass{article} \usepackage{tabu} \usepackage{multirow} \begin{document} ...
0
votes
0answers
768 views

bad boxes made by picture

I got bad boxes (3pt too high), It because of picture. I need it in multirow environment, I want it to be in the middle of all rows (5). How can I achieve this without bad boxes? ...
5
votes
2answers
155 views

image inside a multirow: problems with the vertical space

I have a problem when including an image inside a table using the multirow option. My problem comes from the vertical space dedicated to this row. As you can see in the picture included, the image ...
4
votes
2answers
192 views

Large curly braces for ONLY SOME rows of an array?

I'd like to use curly braces to demarcate parts of an equation. Right now I'm trying to do so using multirow. Is there a better way, ideally one that is compatible with automatic sizing? ...
1
vote
1answer
109 views

Cell lines of table not aligned cleanly

I'm trying to make a small table, but where only certain cell lines are drawn. I followed a general code outline I found elsewhere (the "Spanning in both directions simultaneously" part of this ...
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 ...
1
vote
0answers
28 views

Why do I get the errors 'Missing number' and 'Illegal unit of measure'? [duplicate]

The problem is in using the \multirow function. This is not the main document, the \usepackage{multirow} is already defined in the main document from which I compile. I can not see the error: ...
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. ...
3
votes
1answer
101 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 ...
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} ...
2
votes
1answer
66 views

Multirow bad behaviour on partial last column

Here is \multirow documentation (where I didn't find my answer), and here is my MWE (but not working as intended, illustrating the problem) : ...
1
vote
1answer
1k views

Creating complex tables with multicolumn on different lines on latex

Can someone help me creating this table, I can't figure out how \multicolumn work. I can get to the first two rows of the table but no further. Please help. Thanks
1
vote
2answers
91 views

Rotate text next to right brace in multirow environment

The following LaTeX creates a simple table with some rows grouped with a right curly brace: \usepackage{multirow} \usepackage{bigdelim} ... \begin{tabular}{l|l|l|r} \hline $a$ & $b$ & ...
4
votes
1answer
100 views

Multirow not working for subplots

I tried to add a colorbar to a figure consisting of six subplots. In my MWE, I have replaces them with letters to spare you the extra hassle: % Einstellung der Dokumentklasse für A4 und weitere ...
3
votes
1answer
258 views

Misplaced \omit when using \multicolumn within \multirow

I'm trying to put a \multicolumn within a \multirow environment in the following manner: \documentclass{article} \usepackage{multirow} \usepackage{array} \usepackage{mwe} \begin{document} ...
2
votes
1answer
194 views

Bad vertical distance in table using makecell package \multirowhead

This is my working code: \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{multirow} \usepackage{hhline} \usepackage{array} \usepackage{caption} \usepackage{tabu} ...
4
votes
1answer
179 views

multirow table, error

I'm trying to create a table which some of the cells are multirow and this is my code: \begin{table}[!htb] \centering \small\addtolength{\tabcolsep}{4pt} \caption{""} \label{table3} ...
2
votes
3answers
133 views

How can I make lines break automatically in multirow?

I want to obtain a table like the one in my attachment. Then I tried to use \hhline to draw horizontal lines. But I still have a problem about breaking lines automatically. The one that I want to ...
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 & ...
5
votes
3answers
2k views

subfigures in array

How do I create a figure using subfigures with this alignment?: |figure 1 | figure 3 | figure 4 | |figure 2 | | | Note that I want figure 3 to be in both rows and figure 4 to be ...
0
votes
1answer
115 views

How to wrap long text with \multicol in tables?

This is my code: \documentclass[12pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english,french]{babel} \usepackage{geometry} \geometry{a4paper, mag=1000, ...
3
votes
1answer
883 views

Proper centering with cmidrule and multi- row and column

The code below produces the following figure: The issue I am having is that Sample is not vertically aligned, I get proper alignment if \cmidrule(l){2-3} \cmidrule(l){4-5} is removed. How do I ...
4
votes
1answer
139 views

How colorize a merged cell with a multirow?

How colorize a merged cell with a multirow? I want colorize the cell completly and I can't figure out what I must do. Thank you in advance. % XeLaTeX \documentclass[12pt,a4paper,oneside]{article} ...
1
vote
0answers
91 views

Complex longtable with multirow, multicolumn, rotation of text, and a strange header

I want do a table like the next figures 1 and 2. The table go expand in many pages. The header is the same in all of them, and I want put the elements A, B and C in the headers of the tables, because ...
1
vote
0answers
63 views

Auto-coalesce same values into \multirow

I am generating a pgfplotstable from a data file. In that file, within the Class column, subsequent rows with the same value should automatically be coalesced/collapsed/joined to form a ...
2
votes
1answer
191 views

Why do I get this error with pdflatex?

First, apologies for not having an MWE, I know it makes things harder. I am unable to replicate the problem on a small example. I suspect there is some kind of bug with multirow and pdflatex. I keep ...
2
votes
1answer
147 views

Text in long multirow is not vertically centered

I have a large table, and the first two cells are multirow cells which span the height of the table. Instead of centering properly, they are centered in the top portion of the table, and I am ...
1
vote
0answers
52 views

I want to draw a table like this, but my code does not work [duplicate]

Here is my code. \documentclass[12pt,a4paper,twoside]{memoir} \pagestyle{empty}% for cropping \usepackage{colortbl,multirow,hhline} \usepackage[raggedrightboxes]{ragged2e} ...
1
vote
2answers
284 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} ...
3
votes
3answers
188 views

problem with multirow: text runs out of a cell bound

As shown in the attached picture, text runs out of the cell bound. I'd appreciate it if someone could help me fix the problem. \begin{table}[!htbp] \centering \caption{Experiment outline} ...
1
vote
1answer
65 views

Table taking up full width

I am looking to adjust this table in two ways: -Firstly, I would like the second = to be more to the right, next to the $P_{S}(K|GB)$. -Secondly, I would like the table to take up as much width as ...
2
votes
2answers
147 views

Please Help to prepare the following table [closed]

Please, Help me inserting a table like this. I could not prepare this table even after using the \multicolumn package. I am facing difficulties with merging the rows and columns. I am in an urgent ...
3
votes
0answers
111 views

complex table with multirow doesn't close all the boxes

I have made a big table with a table editor and there are two lines that doesn't finish in the place they are suposed to finish. \documentclass{scrartcl} \usepackage[utf8]{inputenc} ...
16
votes
3answers
757 views

Problem typesetting a Prisoner's Dilemma table

I am going to create a table, which should look like The Prisoner's Dilemma, but I can't create it. It should look like this: My preamble look like this: ...
3
votes
2answers
542 views

Color and rules in tables with multirow

I have a problem with colors and lines in tables. I have this code: \usepackage{multirow} \usepackage{colortbl} \begin{tabular}{ll|c|c|c|c|c|c|} \cline{3-8} \cline{3-8} & & ...
3
votes
0answers
124 views

Centering cell content in multirow [closed]

According to the table code below, Could anyone please help me to: center vertically and horizontally TextB1, TextAB, TextC0, TextC1, TextC2, TextC17 and TextC18 Draw vertical line along the right ...
1
vote
2answers
94 views

Creating table with multirow option fixed width and wrapped text

I am trying to create a table using multirow option. I am using the following code: \documentclass[10pt]{article} %\usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} ...
1
vote
1answer
91 views

Table width error with multirow and longtable with consecutive `multicolumn`s?

I have this longtable table, where I want to locate two multicolumns after each other. When I compile with the second multicolumn commented out, everything is fine (pic 1). But with two consecutive ...
2
votes
2answers
137 views

using lists inside multirow

I want to use a multirow item list in a column of a table, but it does not work. it says an \item is missing but it already ended before. \documentclass[a4paper,10pt]{article} \usepackage[a4paper, ...
3
votes
1answer
103 views

Problem with table using \multirow

I'm getting some little problems when using \multirow: Here is my code: \documentclass[a4paper,10pt]{article} % Default font size and paper size \usepackage{multirow} \begin{document} ...
0
votes
1answer
216 views

How to combine multiple rows with multiple columns with headings in one table?

I am struggling to create a table with three dimension to look up a fourth. Consider the following binomial table as an example ##===##=================##===## || || p || || || n ...
0
votes
1answer
1k views

Table cell vertical line missing

The vertical line at the end of the cell where i used cell merge is missing.
3
votes
1answer
337 views

longtable(tabu) with multirow and page breaks

I'm trying to place a bunch of images into the multirow within longtabu. But it looks messy if row is splitted by page break. The same problem with long text in multirow. Neither image nor text are ...
0
votes
0answers
22 views

Table error after using \cline [duplicate]

I try to create bigger table in TeXworks where are different horizontal as well as vertical lines. Everything works fine but it always crash on the \cline command (when I use \hline it works ...