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

learn more… | top users | synonyms

1
vote
1answer
87 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
81 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
1k 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
94 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
2k 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
55 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) : ...
0
votes
1answer
963 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
77 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
91 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
182 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
171 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
153 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
117 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
1k 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
114 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
450 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
121 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
82 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
56 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
179 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
137 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
258 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
172 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
61 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
139 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
103 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} ...
15
votes
3answers
693 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
441 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
119 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
92 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} ...
0
votes
0answers
14 views

Text in tabular dissappears if I set gray tabular background [duplicate]

Here is the MWE of a problem. Text dissapears in the cells which are in any way connected to \multirow command. Some cells must stay orange while table background must stay grey. Is there any way to ...
1
vote
1answer
81 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
131 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
99 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
203 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
311 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 ...
1
vote
1answer
503 views

How to create table with multiple multirows and multi columns [duplicate]

I try to create a table like to one here: I tried many options with \multirow and \multicolumn, however, after few hours I'm not even close to the final result. Any ideas how could I achieve this? ...
2
votes
0answers
46 views

Error “Undefined control sequence” [duplicate]

hi there i need help im building a table but i always get this error here's my code: % Table generated by Excel2LaTeX from sheet 'Sheet1' \documentclass{article} \usepackage{booktabs} ...
2
votes
0answers
53 views

How to automatically set the height of the combined cell when using multirow package

Here is the simplified code to demonstrate my issue: \documentclass[11pt]{article} \usepackage{multirow} \begin{document} \begin{tabular}{|c|c|c|} \hline & & \\ \hline \hline ...
2
votes
0answers
134 views

overfull vbox if multirow is bigger than usual

I have the following table which gives an overfull vbox because the multirow takes more vertical space than each of the rows it spans. Also, I would like the multirow to center vertically if possible. ...
1
vote
0answers
61 views

pgfplotstable: how to repeat row entries and combine it with external data [closed]

I want to combine the table data (in a file A.txt) -0.13336 -0.13634 -0.13336 -0.11589 -0.136 0.76158 0.63087 0.76158 0.95729 0.63 0.9543 0.59712 0.9543 0.90589 0.59712 0.17172 0.13013 0.17172 ...
3
votes
2answers
353 views

Multiple paragraphs in a multirow cell?

I'm trying to write multiple paragraphs inside a multirow cell,... but I can't find how! I've tried a lot of options, but none of them worked. First of all, I'll show you what I would like to get: ...
2
votes
1answer
731 views

Losing the vertical line on my table when using multicolumn

I tried to use this for the last part of my table, but I can't get a vertical line at the end. Does anyone know? \begin{tabular}{|CC|C|C|C|C|C|C|C|C|C|C|}\hline \Tab{Method Based on \\\hline ...
0
votes
1answer
77 views

Table lines and alignment problem

I'm using sidewaystable environment with the following configuration: \documentclass[a4paper,oneside,12pt,openright,final,oldfontcommands]{memoir} \usepackage{multirow} \usepackage{booktabs} ...
1
vote
2answers
214 views

Why won't my \otoprule command work in table formatting?

Primer: I'm very new to LaTeX. I am creating a table with the following code. Here is part of the table: \usepackage{tabularx, multirow, booktabs} \begin{table}[tp] \caption{Rain garden site ...