Questions tagged [multirow]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
19 views

How to break long citations on a multirow tabular environment?

so I have the following table which I intend to show a summary of some research papers: \documentclass[qualidr]{ppgco} %Não altere o comando seguinte. O título de seu trabalho será especificado mais ...
3
votes
1answer
35 views

Automatic line break in tabularx environment

I'm trying to get a table that automatically inserts a line-break so some very long text can fit in the cell, instead of overflowing to the margins like it's doing now. I tried with \makecell but didn'...
4
votes
2answers
771 views

remove thin white line in dark-colored cells

I have seen a similar problem, but none of what I have found thus far helps me... I have a pretty complicated table (I have adapted from another source, so I cannot really change the structure), and I ...
2
votes
2answers
728 views

hhline and cell color problems revisited

So, I've read a lot of issues with cell coloring and cell border. I tried to fix them as follows: I use hhline to print horizontal cell borders. If I am in the middle of a multirow cell, I print ...
0
votes
0answers
23 views

CSVREADER in creating a fancy table

I'm really struggling to create the following table in LaTeX where only the data comes from a csv file (the numbers in the file is in exactly the same format as it is in this table). The challenge is ...
0
votes
1answer
43 views

Multi column or table row for chapter headers?

I'm trying to recreate this layout for chapter headers for a book: One side is the chapter name and the others is just numbers for the chapter count. I tried making this work with tables and ...
6
votes
3answers
1k views

\cellcolor overwrites table lines (\hhline)

After following the questions related to the same topic where the problem was using \cline, I used the suggestions based on another related question. However, I am still facing the same problem where ...
2
votes
2answers
986 views

Problem with horizontal line in table using \hhline

The following example shows the problem in my table. There is a unwanted white rule in the left. How can i fix that? Thanks for help! \documentclass[dvipsnames,12pt]{article} \usepackage{xcolor,...
2
votes
2answers
35 views

Fix table cells width and alignment

hope you all feeling well and safe please help with the code below, the issue is with the cell width of last 3 column (3rd row onward), I want them to have similar width. please find attached code ...
2
votes
2answers
35 views

cmidrule alignment in multirow and rotatebox

How to align cmidrule when merge cell with multirow and has a cell with rotatebox below? \documentclass{article} \usepackage{booktabs} \usepackage{multirow} \usepackage{tikz} \usepackage{lscape} \...
1
vote
0answers
74 views

How to paste a cell from one table into a merged cell in another table in latex?

I am creating a pdf document in R markdown (.Rmd file)- using latex and R. The R data frame consists of mainly two columns- string column 'Ind' and numeric value 'value'. I need to create 2 types of ...
0
votes
1answer
32 views

Figure with Tabular to illustrate an equation

I would like to the Dice Coefficient by creating from a visual point of view. I.e. The Dice Coefficient is expressed as: $D(A,B) &= \frac{2 \left| A \cap B \right|}{\left| A \right| + \left| B \...
2
votes
3answers
103 views

Can anyone help me draw this table?

Draw a table with the following text wraps and center vertical and horizontal alignment for the cell. I am having problem in text wrapping using \multirow package. A snippet of my code: \newcolumntype{...
3
votes
3answers
143 views

Problem with vertical alignment in a table for a header

I'm really stuck and I would appreciate any advice. I need to design a header for a technical report that looks like this: The first column is 2.5 cm in width, the second column has 11cm, the third ...
0
votes
2answers
56 views

How to set table row heights with multirow and m{} column?

A MWE is as follows (not extremely minumum): \documentclass{article} \usepackage{array, multirow, float, bigstrut} \newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1}} \renewcommand\...
4
votes
3answers
212 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. ...
2
votes
2answers
33 views

Automatically adjusting multirow height in tabular

I am trying to create a table which contains (multiple) multirow cells with a certain width, automatically wrapping the text. However, when the text is too long, it spills over to the next cell. I ...
1
vote
2answers
55 views

How to use multi-row and multi-column with textwidth in latex?

I used a code, I have a table which created by using tabularx, but the problem is that, I want to create that following table by using tabularx and using textwidth, where the value of the first column ...
0
votes
1answer
31 views

Merging two columns in \multicolumn

Please can someone help me how I can add a row above the column headers so that headings Estimate ±95% CL and Inference are merged? \begin{table*} \begin{adjustbox}{max width=1.0\textwidth} \begin{...
1
vote
1answer
34 views

\multirow with top-align functionality incompatibility issue?

I am working on a document, in Overleaf, using \multirow in the usual fashion to make my tables look less crowded. I would like to vertical (top) align my multirow cells. However, I'm seeing ...
3
votes
2answers
37 views

\rowcolor covers text in tables because of using @{\,} between columns

The table contains components of a recipe and i would like to mark replaced components with gray color. The reason for the coverage seems to be the manual reduction of the space between the columns ...
2
votes
3answers
133 views

How to get the titles broken into multiple lines for multicolumn and multirow?

I am using below code, \begin{table} \centering \caption{Before\strut} \begin{tabular}{|l|l|l|l|l|l|l|l|} \hline \multirow{2}{*}{Ser.} & \multirow{2}{*}{$V_{tune}$ (V)} & ...
0
votes
0answers
13 views

In a long table, can the text in multirow be shown on two page if the multirow is splitted on two pages?

the code is like this \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{longtable} \usepackage{multirow} \begin{document} \begin{longtable}{c|c} \multirow{50}{1cm}{abcd abcd abcd abcd ...
2
votes
2answers
31 views

Column of table too wide when using multirow and turn

I have a table as shown below and the first column is too wide, as shown in the figure. I would like to make it less wide because as you can see there is not too much text in the cell. I think this ...
0
votes
1answer
41 views

Multirow vertical size of graphic

I know that combining multirow with graphics isn't intended. multirow cannot calculate the height of the graphic and it overflows. Here's the minimal working example: \documentclass[12pt,a4paper,...
0
votes
0answers
19 views

Table With Long Cell Contents Over Multiple Pages

I am using tabularx to create a very large description table, where the content of a lot of the cells is either quite long — spanning over more than one line — or requires an explicit new line. A ...
0
votes
2answers
241 views

How to create a multi column multi row table without borders in LaTeX?

I just want to create a table like this but without the in-between line among rows. I also don't need the line between columns like this but below the Existing Methods CFNeT multi-column i need a ...
0
votes
1answer
75 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. ...
0
votes
1answer
31 views

Top-Alignment in Multirow + Multicolumn

I have a tabular, in which the first cell is a 2-column 2-row cell. In this cell, there is some \huge text which I want to be top-aligned in the space that this 2-column-2-row-cell now spans. Here is ...
2
votes
3answers
91 views

Multirow doesn't work

I have been trying to use \multirow to merge the cells for x ,y1 and y2 but I can't make it through.I tried to make table using an online table generator online table generator and tried to modify it ...
1
vote
1answer
27 views

Create multiple multirows in a table

I have currently a table with the below code and i want to get it in the form of the image ive posted below. \begin{table}[ht] \caption{####}\label{table:####} \begin{tabular}{|l|l|l|l|l|l|l|} ...
0
votes
0answers
15 views

Coloring cells correctly when using tabu, multicolumn, and multirow [duplicate]

I have made the following table header using tabu, however as you can see there is a white line separating the two merged cells of the \multirow. Does anyone have any advice on how to fix this? Code ...
4
votes
4answers
265 views

Centering a value of a matrix

I have the following matrix: \documentclass{article} \usepackage{amsmath,multirow} \begin{document} \[ \begin{pmatrix} 1 & 0 & 0 & 0 ...
1
vote
0answers
40 views

How can I create an easily extensible table in latex?

My example table looks like this, but should be easily extensible to implement more nested or merged cells inside. For instance I want to add more lines to the content of the last column. Let's say 3 ...
1
vote
4answers
57 views

Problem with colortbl and makecell

Here is an simple example. \documentclass{article} \usepackage[table]{xcolor} \usepackage{colortbl} \usepackage{multirow, makecell} \begin{document} \begin{tabular}{c} longer text\\ \cellcolor{...
1
vote
2answers
55 views

vertical alignment for nested cells in multirow table

This is what I came up with so far: I'm trying to achieve the right column to be vertically centered over the parent rows like the cell containing "Puffer" so that the previous columns aren'...
1
vote
1answer
48 views

Balancing two column table

I am trying to recreate the following table using LaTeX Here is what I have so far My biggest problem is with balancing the two columns height wise (same height) as is done in the picture I am ...
0
votes
1answer
17 views

I am creating table using multirow and multicolumn but in last two column, vertical line is missing, can't able to figure out why? [closed]

\usepackage{booktabs} \usepackage{makecell, multirow} \setcellgapes{3pt} \begin{table} \makegapedcells \begin{tabular}{|c|c|c|c|c|c|c|c|c|} \hline \multirow{3}{*}{\textbf{Iterations}} ...
2
votes
2answers
148 views

Longtable with multirow

I would like to create this long table:
1
vote
1answer
30 views

How to enable the automatic line breaks in table and forced the text to break?

I have created a table, and I have fixed its width, but the problem when I write a long text, the text breaks the line, I want to add an automatic line break when the text should respect the width of ...
1
vote
2answers
149 views

How can I make a table with colored rows without the column headings being drawn over?

I have been trying to make this table but I have a problem with the first row, the text "P kanal" and "Q kanal" aren't in the center here is what I get The code I used: \begin{...
1
vote
2answers
57 views

Cell size with multirow and rotated content

I have the problem, that the cell size on my rotated multirow cells does not adapt its size, so that the contents fit. I tried following the solution described in Long text in rotated multirow , but ...
8
votes
3answers
15k views

Vertical alignment using multirow and booktabs

I'm trying to format correctly the following table: \documentclass[a4paper,twoside]{report} \usepackage{array,colortbl,multirow,multicol,booktabs,ctable} \newcommand{\hdrule}{\midrule[\heavyrulewidth]...
26
votes
2answers
15k views

Cellcolor overwrites partial horizontal lines (\cline)

So I need to make a colored table with multirows, together with the use of partial horizontal lines. I used \cline which does not work: the \cellcolor-command overwrites the line. This question told ...
1
vote
1answer
29 views

longtable, landscape, and booktabs throw up errors in combination — please help!

I'm not really sure what my problem is, but I'll do my best to explain. I've been trying to put together a large, landscaped table summarizing some data. It all comes from a similar kind of source, so ...
2
votes
2answers
54 views

Equations whose terms are multiple lines of text

I would like to write a text equation like this: The terms of the equation are text and every one should be written in several lines. Until now I am able to write the equation with text terms of ...
0
votes
2answers
68 views

Style questions by using \multirow and \parbox for getting a nicely formatted table

The following situation gives me a lot of headache: 1) I would like to use \parbox to have also block text in the multirow areas. With the code below this doens't work. I tried to combine \parbox and \...
0
votes
0answers
27 views

Trying to get a table generator table to use multi row properly

I've been trying to use https://www.latex-tables.com/new.html to generate tables for a report. On that website, I got this table design in mind: When I put the generated code (see below) into latex ...
0
votes
1answer
40 views

Create table multi column multi row [closed]

I want to make a tabe like the picture. Could you help? thanks for answers.
1
vote
1answer
20 views

Problem with table rows

I am facing an issue with the last row of the table here attached. I would like to have the width of the three columns to be equal. How can I do that? Here below the code I am using: \begin{table}[...

1
2 3 4 5
18