Questions tagged [multirow]

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

Filter by
Sorted by
Tagged with
1
vote
3answers
26 views

Vertically align a figure within a multirow environment of a table

I am using multirow to merge two rows of a table - I want the figure in that column to be vertically aligned. MWE \documentclass[11pt]{article} \usepackage{graphicx} \usepackage{multirow} \begin{...
2
votes
3answers
52 views

how to tabulate this table

I would like to tabulate this table, but I have some problem with codes. How to recode this table in a good way? here my code: \begin{table}[th] \centering \scriptsize \caption{Group A.}\label{...
0
votes
0answers
36 views

Prevent pagebreak in the longtable - tabulary hybrid

I like the hybrid of longtable and tabulary environments, that was devised on this site, so much, that I came to use it exclusively. References: Multi-page with Tabulary? Longtable and tabulary ...
0
votes
2answers
35 views

Align vertically text in a multicolumn cell of table

I am trying to recreate the last table on page 4 of this document, and it should look something like this: Here is what I have so far: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{...
0
votes
0answers
31 views

table error: missing number, treated as zero

I face a question: I modify my table with the template as follow,then it shows that ! Missing number, treated as zero [ The following is my partial code: \documentclass[compress,mathserif,CJK]{...
1
vote
2answers
40 views

How to make vertically centering of multirow cell in latex?

I want a multirow cell to be vertically centered. This problem is caused by cells that have been forcefully wrapped. \begin{table*}[!h] \caption{Distinguish success rate according to types of ...
1
vote
1answer
26 views

Adding text above vertical and horizontal column lines

I currently made the following table; Which corresponds to this code: \begin{table}[] \begin{tabular}{lll} & & \\ & \multicolumn{1}{l|}{...
2
votes
2answers
17 views

Shrinking vertical space when using multirow

When using multirow, how can I shrink the space between the two rows while still keeping everything vertically centered? Here's an example \documentclass{article} \usepackage{multirow} % -------------...
4
votes
3answers
150 views

How to resolve this clash between multirow/multicolumn and cellcoloring?

I am trying to put together a little table, but I fail to have the lines between cells displayed correctly: \documentclass{article} \usepackage{multirow} \usepackage{xcolor} \usepackage{colortbl} \...
11
votes
3answers
459 views

Layout of complex table

The MWE \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{tabularx} \usepackage{colortbl} \usepackage{multirow} \usepackage{ragged2e} \...
0
votes
1answer
24 views

Multicolumn + multirow + minitab: vertical lines

In my table, I am using a multirow + multicolumn section to create a "merged" cell. However, I am running into an issue where the column borders bleed into that merged area. I provide an example with ...
2
votes
2answers
69 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
34 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
24 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
196 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
39 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 ...
4
votes
4answers
70 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
81 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
61 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
23 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
91 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 ...
4
votes
3answers
72 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
20 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
60 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
38 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
49 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
55 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
27 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
33 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
55 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
96 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
41 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
149 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{...
2
votes
1answer
43 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
61 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
52 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
112 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
62 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
292 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
88 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{...