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

learn more… | top users | synonyms

6
votes
1answer
7k 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
93 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
2k 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
117 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
115 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
398 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
275 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
209 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
151 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 ...
4
votes
1answer
3k 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
3k 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
122 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
2k 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
184 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
125 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 ...
5
votes
2answers
126 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
249 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
169 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
326 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
210 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
72 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
152 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
116 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
970 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
726 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
130 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
109 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
113 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
153 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
120 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
244 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
2k 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
400 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
667 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
47 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
58 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 ...
3
votes
1answer
175 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
63 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
394 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: ...
3
votes
1answer
1k 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 ...
1
vote
1answer
84 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
299 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 ...
1
vote
0answers
578 views

Packages multirow and columncolor give ugly stripes

I have two problems on one slide. This is an example: \documentclass{beamer} \usepackage{graphicx} \usepackage{tabulary} \usepackage{colortbl} \usepackage{multirow} \usepackage{xcolor} ...
2
votes
1answer
5k views

Is it possible to use \cline multiple times when using multirow?

\documentclass{article} \usepackage{multirow} \begin{document} \begin{table}[ht] \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|c|}\cline{3-8} ...
3
votes
0answers
335 views

Evenly split the columns of a multirow table in lyx

I would like to have a table like this: % Preview source code %% LyX 2.0.6 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. ...
1
vote
0answers
31 views

how can i add more space on Table [duplicate]

My code is here. \begin{table}[t] \centering \begin{tabular}{|c|c|c|} \hline Graph $G$ & Graph $H$ & An isomorphism between $G$ and $H$\\ \hline ...
1
vote
1answer
442 views

Using multicolumn and multirow together with spreadtab

I tried this piece down \documentclass[a4paper,12pt]{article} \usepackage[inner=0.75in,outer=0.65in,top=0.75in,bottom=0.65in]{geometry} \usepackage{multirow} \usepackage{spreadtab} ...
5
votes
1answer
359 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 ...