Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [multirow]

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

2
votes
2answers
58 views

Latex table: text does not center on cell

I'm trying to create a table in Latex, but the text does not line up in the center of the cell, in some cells, and leaves out of the table. How can I solve the problem? \documentclass[a4paper,11pt]{...
0
votes
1answer
31 views

Horizontal alignment in multirow table

I have this table to which I want the first column to be horizontaly centered and the cells: "annotated messages" "annotated process" "provided guidelines" "annotator agreement" having two lines, ...
0
votes
1answer
18 views

longtable: won't linebreak while underlined or bold + multirow doesn't center vertically next to a figure

I am trying to create a landscaped longtable: there should be 2 rows with one containing a headline and the other an image, while a multirow is vertically centered next to the image and it's headline. ...
3
votes
4answers
186 views

\noalign caused by multirow and colors

I am trying to create the following table However, I keep getting the following error message ! Misplaced \noalign. \rowcolor ->\noalign {\ifnum 0=`}\fi \global \let \CT@do@...
2
votes
2answers
30 views

diagbox and multirow: adjust the diagonal

\documentclass{article} \usepackage[table]{xcolor} \usepackage{graphicx,array,multirow,pict2e} \definecolor{lightgray}{gray}{0.9} \newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}} \usepackage{...
1
vote
1answer
25 views

Vertical lines not passing through all cells

I'm attempting to recreate this table in Latex: My code so far is: \documentclass{article} \usepackage{multirow} \usepackage{multicol} \begin{document} \begin{table}[h!] \centering \begin{...
1
vote
1answer
32 views

Vertical alignment in \multirow

I am using \multirow to produce a table. I would like the first row to be vertically aligned. As you see, the first column of the first row ("Legislature") is not aligned with the rest of the row. Any ...
3
votes
3answers
58 views

Vertical alignment on merged cells with multirow

I have produced the following table with LateX, using the multirow and array packages. The final result is: However, I noticed that the labels L1 and L2 are not quite vertically aligned with the ...
0
votes
1answer
25 views

image and multilines text

i want to display Image parallel with multirows. See attached image My minimal working code: \documentclass[a5paper,oneside,14pt]{article} \usepackage[a5paper,landscape,left=0.5cm,right=1cm,top=0....
3
votes
2answers
73 views

issue with hhline and cellcolor in table

I am trying to setup a table with \hhline and \cellcolor. After I got it so far, that I don't see \hhlines in the colored cells I am now missing the black \hhlines which should separate the cells. ...
3
votes
2answers
55 views

Trouble with table layout

Hello fellows and folks! I need to get what's on the picture: I'm not very good when it comes to multirows. This is what I have tried so far: \documentclass{article} \usepackage{caption} \...
0
votes
1answer
21 views

Multirow table help

I am trying to build a table like this in Latex but I am new to this program and, even though I have read many blogs, I cannot understand how to build a table like this Thank you in advance for your ...
3
votes
3answers
89 views

How to make a table with a variable number of columns?

I am trying to insert a rather complex table in Latex. The problem is that the table actually consists of different tables in one. I am trying to create something like this (the difference in line ...
3
votes
3answers
64 views

Cannot place center while using multirow

I cannot make "Beda Maju", "Beda Mundur", and "Beda Pusat" vertically centered. How do I do this? If I change * in \multirow{2}{*} to \multirow{2}{2.5cm}, the problem is not fixed. Here is my code. ...
2
votes
1answer
19 views

How to insert a second multirow after one in an earlier column?

I'm trying to add second multirow after the first in a later column of a row. The problem is that the text in that column is not centred as shown in the image below. Additionally, there is only one ...
0
votes
2answers
53 views

Drawing table with multi rows and columns

So I am trying to figure this out: Can you help me out with the layout? Those multi rows are hard to draw. Working on a MWE right now: \documentclass{article} \usepackage[margin=1in]{geometry} \...
2
votes
2answers
35 views

How to color a table column

I have this sample table. I made the script below but I still need few requirements that I do not know how to: 1) I need to apply the gray color one row above (i.e. the cell which contains the word ...
1
vote
1answer
40 views

wrap text in table with multirow and landscape

I am new to LaTeX. I am trying to make a table in LaTeX but I cannot figure it out by myself. Any help would be much appreciated! Here is the ideal appearance I made in word. Some details about this ...
1
vote
1answer
43 views

\cline not working properly

\begin{longtable}{|cc|c|c|c|c|c|} \caption{Result table} \cline{3-7} \multicolumn{2}{c}{}&\multicolumn{5}{|c|}{Name} \endfirsthead \multicolumn{2}{c}{}&\multicolumn{1}{|c|}{Line 3}&M&...
0
votes
1answer
25 views

Multirow and Multicolumn Horizontally Positioned Side By Side

I am trying to make a table that has multirow then multicolumn horizontally positioned side by side. I have found a lot of posts that show how to use both in the same table, but none discuss using ...
0
votes
0answers
31 views

How to combine multiple rows and columns in tabu environment

I need to create the following table: I use Xelatex (Texlive) and I wrote the following code (this is my first table in Latex): \documentclass[a4paper,14pt,draft]{extreport} % Стиль документа \...
-1
votes
1answer
36 views

Three column table with different number of multiple rows [duplicate]

I know how to use \multirow for two columns table but I can't figure out how to use it for three columns table in below picture.
2
votes
2answers
18 views

centre multirow horizontally

Consider this example: \documentclass{article} \usepackage{makecell} \usepackage{multirow} \begin{document} \begin{tabular}{|l|r|l|} \multirow{2}{*}{Sample} & \multicolumn{2}{c|}{AA}\\ ...
1
vote
1answer
17 views

Closing table cells in a tabular environment involving multirow and multicolumn

Is there a way to close the cells containing "Field A" and "Field B" only, i.e. with excluding the cell on the top left? Below is a minimal working environment. Thanks for your hints and suggestions. ...
1
vote
2answers
72 views

Multi-row and Multi-column text alignment and grid

I am trying to create the table below using tabular in latex. Exploring the stack exchange for similar problems like this one has brought me to my current table: \usepackage{multirow} \begin{...
2
votes
3answers
74 views

Centre cell vertically in tabularx across multiple multiline rows

Consider this example: \documentclass{report} \usepackage{tabularx} \usepackage{lipsum} \usepackage{multirow} \renewcommand{\tabularxcolumn}[1]{m{#1}} \begin{document} \begin{tabularx}{0.5\linewidth}{...
1
vote
1answer
41 views

fixing the rotated columns such that they'll take less space

I have a camera ready deadline today. How can I fix the following table such that columns gets fixed and also use less space? It is CVPR 2019 conference. \newcommand{\rb}[1]{\rotatebox{80}{#1}}% \...
0
votes
0answers
25 views

File `multirow.sty' not found. TexStudio Fedora 29 [duplicate]

I use TexStudio in Fedora 29 and try to execute this bit of code: \begin{tabular}{ |c|c|c|c| } \hline col1 & col2 & col3 \\ \hline \multirow{3}{4em}{Multiple row} & cell2 & cell3 \\ ...
1
vote
1answer
38 views

Multirow not working properly in combination with booktabs

I am creating a table using booktabs, but I also need multirow in specific places, in combination with long paragraphs of text. If I use multirow normally, there is no way to break the text: \...
0
votes
0answers
11 views

Extra alignment tab while using multirow [duplicate]

Why the following multirow entry doesn't work with tabular? \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \title{my title} \maketitle \section{Section 1} Table~\ref{my-label} ...
0
votes
1answer
107 views

Wrapping text in a cell in a table

Consider the following table \begin{table} \centering \caption{My caption} \label{my-label} \begin{tabular}{|p{2cm}|p{4.5cm}|p{1cm}|} \hline aaaaaaaaaaaaaaa (aaaaaa) & \url{...
1
vote
1answer
41 views

Vertical centering with multirow and tables

I am trying to figure something out that I can't find the answer to. I am trying to create a table where some cells in a row need to have multiple rows. I thought "multirow" would allow me to do ...
2
votes
1answer
53 views

\multirow to fit a figure into a table in a tikzposter

I'm trying to use \multirow to fit a figure into a table in a tikzposter style document and can't quite figure it out. My code is as follows: \documentclass[24pt, a1paper, landscape]{tikzposter} \...
2
votes
2answers
51 views

cells not centering after multicell

I'm trying to create a tabular with all the cells centered. I have found a way to make this possible but all the cells have to contain: \multicolumn{1}{|c|}{"Text"} Is there a way to center the text ...
-1
votes
2answers
105 views

How I can write this multi-column and multi-row table in LaTeX? [closed]

I am trying to write the table but not succeeded. How can I write the attached table in LaTeX. Please see the table. I am trying to write this table in LaTeX but not succeeded.
4
votes
1answer
54 views

Colored cell removes line

I have a problem with coloring a cell in a table because it removes the upper line of the cell. I already found out that there are some issues with \cellcolor and \cline but I couldn't come up with a ...
6
votes
3answers
275 views

How to merge row in the first column in LaTeX

I want to create table like this in Latex. This is my script for create table. \begin{table} \centering \caption{Table} \begin{tabular}{|c|c|l|} \hline \multirow{3}{*}{DEF}&\multicolumn{3}{|c|}{ ...
2
votes
1answer
136 views

Coloring in a multirow

I am using TexStudio with Bibtex. I want to color a multirow table. While, I have seen some questions put up earlier in this forum about that, however still I am not able to resolve the problem. The ...
1
vote
1answer
73 views

How to Remove Horizontal Lines From Colored Multirow Table [duplicate]

I am having some trouble removing the "white lines" from a colored table (where it says 3 and 4). \documentclass{report} \usepackage{wrapfig} \usepackage{colortbl} \usepackage{booktabs} \usepackage{...
1
vote
1answer
54 views

\rowcolor not working in latex IEEEtrans

I am trying to colour rows in some tables in a latex IEEEtran article but the colouring does not show at all, and no error is thrown as well. Here is the snippet of code I used: \usepackage{array, ...
0
votes
1answer
39 views

How to create braces which span multi-lines in a table?

This is my template code for the table I'd like to create: \begin{table}[] \begin{tabular}{cllll} \multirow{3}{*}{multirow} & & & & \\ & & &...
0
votes
1answer
25 views

\shortstack in table throwing Compile Error

I am trying to put some cell text such as "Measurement type" and "Event labels" into multirow cells of two lines, where the aforementioned names would be split into two lines. \begin{table*}[t] ...
0
votes
2answers
112 views
1
vote
1answer
36 views

achieving merge cells in table latex

How can I achieve this table in latex As of now this is the result by using this code \begin{table}[] \centering \caption{My caption} \label{my-label} \begin{tabular}{|l|l|l|l|l|l|l|...
3
votes
2answers
83 views

How to vertically centre a cell spanning multiple rows with the p column type

Bit of a mouthful of a question title I have the following table: I'm not completely convinced it's the absolute best way to display this information, but I'm reproducing a table that is laid out ...
1
vote
1answer
44 views

Insert image as background in multirow in a table

I would like to insert an image as background for a multirow in a table. It would be great to have something like this \documentclass[a4paper,twoside]{report} \usepackage{tabularx} \usepackage{...
0
votes
0answers
28 views

pgfplotstable: How to make and format a multi-line header with math entries

My Code: \documentclass[12pt,a4paper,oneside,titlepage]{article} \pagestyle{headings} %\setcounter{page}{1} \pagenumbering{arabic} %\pagestyle{arabic} %\usepackage[a4paper,left=1.25in,right=1.25in,...
-1
votes
3answers
119 views

Can't read my table

Trying to print this table in one page or two maybe . please help. \documentclass{article} %\usepackage[margin=2in]{geometry} %use this later of you need tp specfy margin %\usepackage{microtype} % ...
5
votes
3answers
41 views

Colored table cell with multirow lets text disappear behind next colored cell

I stumbled over something I do not know how to solve. I don't even know about layers in LaTeX but it seems like my text is disappearing behind a colored cell beneath it and that because I use a ...
-2
votes
3answers
110 views

Create table question [closed]

I would like to create a table like the one I show in the image but I'm a bit lost. Let's see if someone can help me. Thank you.