Questions tagged [multirow]

92 questions
41
votes
5 answers

Latex: how to break the line in multirow inside the tabular

I cannot find out how to break the line inside the multirow in tabular. In my table, a cell should be two rows wide and should have a linebreak to keep the text overlapping the other cells'. Any suggestions? Sample of code: \begin{center} …
kokosing
  • 5,251
  • 5
  • 37
  • 50
29
votes
2 answers

Latex table multiple row and multiple column

I'm trying to create a table in Latex but without success. I tried different solutions but no one solves my problem. I would like create a table like the picture below: Can anyone show how to do this in Latex please?
Stefano C.
  • 1,033
  • 3
  • 13
  • 17
26
votes
4 answers

Centering Text within a Multirow Cell in LaTex

This is probably best explained with an example. I have the following table, where the "A" cell spans two rows, and the "B" cell spans two columns. \begin{table}[htdp] \begin{tabular}{l|r|r} \multirow{2}{*}{A} & \multicolumn{2}{c}{B} \\ & B1 & B2…
Paul
  • 16,285
  • 13
  • 41
  • 52
11
votes
4 answers

How to select multiple rows from mysql with one query and use them in php

I currently have a database like the picture below. Where there is a query that selects the rows with number1 equaling 1. When using mysql_fetch_assoc() in php I am only given the first is there any way to get the second? Like through a…
Jjack
  • 1,276
  • 4
  • 13
  • 20
11
votes
2 answers

Bootstrap table - row with two rows

Is it possible to create a bootstrap table, which will still be "table" and will have two rows in one row (please see enclosed image) while still keeping columns aligned with "thead". I don't want to make it with div, maybe there is some easy way…
L.V
  • 151
  • 1
  • 3
  • 9
10
votes
1 answer

get values before certain date in sql

i have one question about get multi rows before the date getting infection: patientID Appt_reason dateofProcedure 1 1/2/2016 1 1/3/2016 1 infectoin 1/4/2016 2 …
joan
  • 101
  • 1
  • 1
  • 4
10
votes
1 answer

Rowcolor on a multirow tabular in LaTeX

So I tried learning LaTeX last night, and I trying to get this template for school assignments done ASAP. Part of that requires building a table. I want to use multirow, but need the multirows, that are acting like headings, to be colored gray. …
songei2f
  • 649
  • 4
  • 10
  • 22
10
votes
4 answers

Fetch MULTIPLE ROWS and STORE in 1 VARIABLE - ORACLE STORED PROCEDURE

I am working on ORACLE STORED PROCEDURES and I have a doubt. I have a query which fetches more than 1 row and I want to store all those 3 row's values in 1 Variable. Can anybody please help me with this. My QUERY goes like this : SELECT…
vrivrivri
  • 189
  • 1
  • 3
  • 13
7
votes
2 answers

Is it possible to vertically center multiple columns in a table?

I've found an example here but that only centers one column and I can't really adapt it to my needs. What I'd like is something like this:
iceburn
  • 987
  • 3
  • 13
  • 16
4
votes
1 answer

Latex: Table: Problems with Rotated Text in stacked multirow commands

Currently I am working on a Latex table which uses multiple stacked multirow commands in combination with rotated text. I am not able to automaticcaly change the height of the lines corresponding the rotated text for stacked multirow commands. I…
FlHe
  • 41
  • 1
  • 2
4
votes
1 answer

UITableViewCell animation when scrolling

I've implemented Cocoa with Love's example for Multi-row selection which involves creating a custom UITableViewCell that initiates an animation in layoutSubviews to display checkboxes to the left of each row, like so: - (void)layoutSubviews { …
ndg
  • 2,585
  • 2
  • 33
  • 58
4
votes
3 answers

Latex: Problem with Multirow

I am creating a table with mulitrow but I am getting a problem. As far as I understand, this is the form of the multirow: \multirow{count}{alignment}{content} where count is the number of rows to merge, alignment is either l, c, r, or *, and…
Rafid
  • 18,991
  • 23
  • 72
  • 108
4
votes
1 answer

How to Add vertical line in table Latex

I have this sheet of latex code. \begin{table}[c] \caption{\textbf{the results of analysis of variance (One Way ANOVA) for the differences in the responses of the study sample according to different…
akram1rekik
  • 153
  • 1
  • 1
  • 7
3
votes
1 answer

Updating a sequence of rows

I have a table sites and basically a travelling salesman problem. My boss wants to select a bunch of sites out of the list, then sort them manually into a visit order. I have looked for similar questions, but they were not targeted at MySQL, and…
Nicholas Shanks
  • 10,623
  • 4
  • 56
  • 80
3
votes
1 answer

An alternative to write multirow in latex's tabular?

In latex, I know we can use the multirow command like the following, \begin{table}[!h] \centering \begin{tabular}{|c|l|} \hline \multirow{2}{*}{A} & I want to place this sentence in multiple lines, \\ & but…
user9985127
  • 175
  • 5
1
2 3 4 5 6 7