Questions tagged [multicolumn]

{multicolumn} is for questions concerning the formatting of table cells that span several columns.

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

multicolumn unexpected behavior

I ran into a problem while writing a math-cheatsheet template. The template should feature a multicolumn setup with very small margins and a few simple theorem environments using the tcolorbox package....
0
votes
3answers
56 views

Creating a latex table and forcing multiple rows for long column header

I want to create a table with different summary statistics. However, the table is too wide for the page, and therefore not the whole table is displayed. This is because of column headers which are ...
0
votes
1answer
50 views

Game theory tables

I would like to reproduce these tables in latex. Unfortunately whenI'm going to write them, they are horrible. They are tables to represent a case of game theory. This is my tentative solution for ...
0
votes
1answer
40 views

File ended while scanning use of multicolumn

I am getting crazy with this code: I get a "File ended while scanning use of \multicolumn". This is one of multiple tables. They are all similar but I receive the error on this one (and the ...
3
votes
3answers
82 views

How to reduce the height of a multicolumn cell?

\documentclass[12pt,a4paper]{report} \usepackage[a4paper]{geometry} \usepackage{rotating} \usepackage{multirow} \usepackage{multicol} \begin{document} \begin{table}[ht] \centering \begin{...
1
vote
2answers
45 views

Long equation, and the equation number, does not fit into 1 column!

I have a 2 columns LaTeX document (in overleaf). I want to add a formula in one of the columns. My current code looks like this: \[0.39\frac{total\_word\_count}{total\_sentence\_count} + 11.8\frac{...
3
votes
2answers
212 views

Holes in tabular borders

I don't understand why but my tab has holes on the right border, and overlaps on the left one and I don't know how to fix this. \documentclass[a4paper, 12pt]{article} \usepackage{multicol} \...
2
votes
2answers
63 views

Text overflows in multirow table

I have a table with four columns. The problem is: The text overflows in the third and fourth column as shown in below image. These columns contains dense text. The text should be within table. I ...
0
votes
1answer
30 views

How to use `\multicolumn` in a table with borders defined in \begin{tabular}?

I want to create a Table like the one below: I thought the following code would produce such a table, but I get an error, and I can't figure out why: \begin{table}[] \begin{tabular}{l|l} 1 & 2 \...
1
vote
1answer
57 views

How to achieve reliable tables with multiple captions with pgfplotstable and longtable?

For a project I am working on (see also my question about setting the column type in pgfplots procedually), I would like to create a wrapper macro \fancyTable, which calls pgfplotstable in the ...
5
votes
2answers
721 views

How can I draw a table like this in LaTeX?

How can I handle this? My code doesn't run as I want \begin{table*}[ht] \caption{Related Surveys Comparison} \label{tab: RelatedSurveys} % \setlength{\tabcolsep}{5pt} \centering \resizebox{1.0\...
4
votes
2answers
78 views

Multicolumn Shifts Down First Math Formatted Question

I am trying to have a grid of problems to solve. But the first problem is always shifted down. \documentclass{article} \usepackage{multicol,amsmath} \begin{document} \begin{multicols}{3} \begin{...
3
votes
1answer
31 views

Multicol Alignment

I have been trying to find a post similar to this that I made and can't find it. You can see by my document that my numbers of not aligned in each column. I am wondering how I can fix this. \...
0
votes
0answers
17 views

how to set span column footnote in a two-column layout (i.e., single column footnote in the two column layout)?

I am trying to fit a footnote as single column in two-column layout, like below I tried and used ftnright.sty to cued all footnote in the second column, and tried pull out the footnote text from the ...
4
votes
1answer
125 views

How can I make an image full width in the center of page IEEEtran?

I want to make it like this in LaTeX IEEEtran: I got this file at this link. I also tried to apply it in IEEEtran, but it didn't work. I've tried using \twocolumn and \onecolum, but this command ...
6
votes
4answers
153 views

Problems with formatting multicolumn tables

I am having problems in centering the text in a table using multicolumn. This is the table I have created: \begin{table}[H]\centering \setlength\extrarowheight{3pt} \begin{tabular}{|c|c|c|c|c|} \hline ...
2
votes
3answers
109 views

How can I fix this table so that the mass in the first row stays on top of the first three columns and mass 2 over the other three

\begin{center} \begin{tabular}{|c|c|c|c|c|c|} \hline \multicolumn{3}{|||c|}{Mass 1} \multicolumn{3}{c||}{Mass 2} \\ \hline Time & Velocity & $|p|$ if $m=1....
0
votes
1answer
22 views

Creating a table with a vertically separated header row and \hhline produces horizontal line distortion

I want to create a table which marks some cells either with $\times$ or they simply stay empty. I have two header rows of which I would like to separate the first header row visually. I use \hhline{~==...
4
votes
2answers
77 views

Formatting Problems with my table in LateX

I have been following the tutorial to format a table in Latex but I have a consistent problem. What I am aiming for is this: But with the following code: \begin{table}[h!] \begin{center} \...
0
votes
1answer
35 views

Multicolumn giving last row extra space

I have a problem when using multicolumn{}{}{} which causes the last column multicolumn takes to take more space than it needs. This looks odd and in my case causes my table to span more than the width ...
2
votes
1answer
61 views

How to increase the width of a LATEX column

I have a table whose latex code is: \begin{table}[] \centering \begin{tabular}{ccccc} \hline \multirow{3}{*}{ABCD} & first col & second col & \multicolumn{2}{c}{third col} \\ \cline{2-5} ...
1
vote
2answers
54 views

Multicolumn aligns text always right

I'm in the Latex tabular environment. I want to align the text in a multicolumn to the left, but it does not work. It is always alignt to the right. Here is my code: \begin{tabular}{|p{2cm}|p{2cm}|p{...
1
vote
1answer
33 views

Custom environment that outputs a tabularx generates an error only if the etoolbox package is included

I'm dealing with a really complex table and I want to define an environment with some additional macros in order to make the table creation code more semantic. So far I've defined the environment and ...
0
votes
2answers
49 views

managing multirow

Hi I don't understand how to use multirow. I would like to do something like this" I manage to do this: Here is the code I used, I cant do any more. \documentclass[11pt]{article} \usepackage[...
0
votes
2answers
44 views

Text beyond the column

The text goes out of the column, how can I fix this? I need it flalign, we better not take it out. \documentclass{article} \usepackage[paperwidth=19.0cm,paperheight=27.5cm,margin=1.5cm]{geometry} \...
3
votes
2answers
64 views

dfrac not centered in multirow

I produce the following table: Why the frac in the circle is not in the center, but very near to third line? How to fix this? The code follows. \documentclass[11pt]{article} \usepackage[greek]{babel}...
3
votes
1answer
47 views

Enlarge row-height dynamically with pictures size

I am building a table in LaTex that contains a column of pictures. I would like the size of the rows related to those pictures to increase their height such that the picture stays inside its cell. I ...
1
vote
1answer
58 views

Column Spacing and Multicolumn Alignment

I have the following problem: I would like to have a larger column spacing in the middle of my table in order to visually separate two different model specifications. I generally use dcolumn and ...
1
vote
1answer
61 views

multicolumn does not work in beamer

in tabular, multicolor is not working properly. and vertical line is generated in the first cell, Does anybody know, how to remove the vertical line AND distribute its content in the column and the ...
0
votes
1answer
12 views

Can a sciposter be in portrait, but with 2 columns?

I am prepairing a poster and I really liked this template with \documentclass{sciposter}. Is there a way to keep everything the same but change the number of columns from 3 to 2? Tnx
4
votes
3answers
209 views

How to use multicolumn under multicolumn

In the following table, I want to use 2 columns under D & 3 columns under F. How to do this? \begin{table}[] \centering \begin{tabular}{|c|cc|c|} \hline A & \...
2
votes
3answers
60 views

How do I make columns in a table act independently

I'd like to make the columns in this table "independent" of each other so they do not create white space if one column has a sentence that is longer than the others'. The included picture ...
0
votes
0answers
39 views

Multicolumn Table Not Merging Across All Columns

when I try to use multicolumn it is only merging the text across the first two columns and thus making the second column unnecessarily long. Does anyone have an idea of how to make it merge across the ...
0
votes
0answers
27 views

Text in Table(-notes) not aligning left

I am making a quite large table (need to fit it with tabularx) with multiple panels. It works alright, except for the fact that the panel heading, which I am including with a multirow, and the ...
3
votes
3answers
46 views

How to organize correctly a multicolumn table

I am having some troubles with a multicolumn table. The table should look like this sample inside a word doc: But the template that i am using is in LaTeX and when i compile the code that i made i ...
0
votes
2answers
47 views

Converting nested tables to use with spreadtab gives errors

The following example code consists of two tables. The first compiles, the second does not. Both these tables use sinunitx. The second one uses spreadtab. The second table is the same as the first ...
4
votes
3answers
112 views

An alignment problem in table environment in LaTeX using array & multirow packages

Using the array and multirow packages, I was successfully able to run LaTeX and getting a table environment I desired. (I changed some column names and data values for asking query.) My problem is ...
1
vote
1answer
29 views

Table cell Vertical alignment not working because of a tabular environment

I'm having trouble with the vertical alignment of four multirow cells after I used a tabular environment inside the cells of another column. Because the table width extended beyond the margin, I ...
1
vote
2answers
54 views

How can I make such a table?

I am trying to make a graph with multiple columns below a column. At the moment I only got that far: What is wrong with that? I need "DFM" and "BM" to be once below "2005-...
1
vote
2answers
53 views

How to make multicolumns stretch over multirows in latex table without overshooting the page edges

I have a longtable and I want the top most row to span over multiple rows so that I can enter detailed description of the table without the text overlapping and disappearing over the edges of the ...
0
votes
2answers
38 views

Centring a table on a two-column page beyond the text limits

I have an 'oversized' table in a two-column document that I would like to centre in the page. However, I cannot get it to work using \centering or \begin{center}. I added an example document as well ...
1
vote
2answers
65 views

Inappropriate column size when using \multicolumn

I have a column size problem when using \multicolumn, please see the following pic: The size of the second column is bigger than the size of the first column, which should be balanced (like the rest ...
1
vote
1answer
39 views

add break line in table

I am trying to replicate the table like the below one. I know I can use \toprule, \hline to add lines in the table. However, I do not know how a add a broken line in the table as row two and three ...
3
votes
3answers
154 views

Multirow and multicolumn with columns fixed length

I'm trying to draw a tabular in which the column lenghts are fixed. The problems occur when I use multirow and multicolumn, as the text is very long. This is my (not working) code \begin{tabular}{p{0....
1
vote
2answers
61 views

Table column width when using multi-column

I have created a table with the following code in Overleaf: \begin{table}[H] \centering \begin{tabular}{|c|ccc|ccc|} \hline \multicolumn{1}{|c|}{} & \multicolumn{3}{|c|}{...
2
votes
2answers
53 views

Aligning text/cells in a table within a specific separator

I'm doing list of MAC addresses. I have used tables, but I don't know how to manage the space (before or after) the hexadecimal value. For one device the different MAC addresses are not properly ...
0
votes
1answer
26 views

How to typeset a wide figure spanning multiple columns in a 'sciposter' documentclass? [closed]

i need to make a figure span two or three columns inside a sciposter documentclass, and be positioned at the bottom of the page (not flowing)
0
votes
0answers
33 views

How to add one-column layout to two-column format for appendix?

I am trying to add an appendix in a two-column format paper. But I am facing the problem as shown in the attached figure, two tables come to the top before the header itself and then there's lot of ...
1
vote
2answers
89 views

Nested multicolumn and multirows with custom column

I want to have the Alphabet 'P' above 'B' in the output of the following code borrowed from here and modified: \begin{table} \centering \caption{Vehicle info} \label{tab:my_label} \begin{tabular}{@{\...
1
vote
2answers
60 views

How to do \nopagebreak in xltabular with \multicolumn and \rowcolor?

After reading tons of answers here, the docs and log output I have no idea to solve my \nopagebreak issue. Based on the How to insert a \pagebreak before a \multicolumn? answer I build this MWE: \...

1
2 3 4 5
23