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

learn more… | top users | synonyms

4
votes
2answers
68 views

Tabular cells with exact same width and multicolumn

I tried to design a table with some very specific preferences: The table should span across the whole width Each cell can have a different alignment Each cell has exactly the same width Some cells ...
4
votes
2answers
83 views

Alignment Problem in Table environment

Regarding to the following question Problem with subcaptions in subtables I created the following. There appears three problems: in the header starting from "Mean" to "Max." The alignment seems not to ...
2
votes
1answer
33 views

tabu starting with “X-multicolumn” yields strange formatting

I noticed a strange behaviour when using \multicolumn inside a tabu environment with X columns. Here is an example: \documentclass[12pt]{report} \usepackage{tabu} \usepackage{booktabs} ...
2
votes
1answer
39 views

Making a table span multiple columns

I have some tabular data and two column page layout. The number of columns is bigger such that that the table cannot fit into one column. How can I make the table span two columns such that the table ...
0
votes
0answers
23 views

Issues with multicols when using a template

I am using this template to write a paper. My paper starts with two column format but in the middle I need to show a big table. Hence, I have to switch to one column. I am trying to use the multicol ...
4
votes
1answer
49 views

equal column spacing in longtable

Does anyone know how to get equal spacing between columns in longtable? My code is attached below. Thanks. Franz \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} ...
2
votes
1answer
35 views

Align text in multiple rotated multicolumns

I have a table with figures and rotated text in the first two columns. I don't understand 2 issues: How I can align and especially center the text? With the images I included (all same size and ...
3
votes
2answers
95 views

Latex Table write Text beside \hline

I want to add text beside the \hline line in order to structure my table more accurately. The following picture illustrates what I want, the code represents the table. Anyone has some ideas? I'd ...
2
votes
2answers
50 views

LaTex Table using Multirow and @-expressions

I am encountering problems combining the package multirow with the @-expressions. Basically, my table shall look like the one in the following picture: Now I want to adjust all plusminus signs so ...
2
votes
1answer
30 views

Using longtabu with multicolumn produces errors sometimes

I have a document which uses the longtable package as well as \multicolumn to have certain cells which span multiple columns. This seems to work just fine: \documentclass[10pt]{report} ...
5
votes
1answer
32 views

Tables: Centering multicolumn when using inter-column spacing

I would like to center a multicolumn cell, usually done via \multicolumn{2}{c}{...}. However, when using extra inter-column spacing via @{\hspace{...}}, the centering includes this extra space and ...
0
votes
0answers
31 views

Fix image in top column

I made a text with 4 columns. I am trying insert the image in the top of second column, independently of the length text. I see: Placing figures inside a two-column document but there is plenty of ...
0
votes
1answer
77 views

TeX question: ! File ended while scanning use of \multicolumn

Code for the table: { \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi} \begin{tabular}{l*{4}{c}} \toprule &\multicolumn{1}{c}{(1)} &\multicolumn{1}{c}{(2)} ...
0
votes
0answers
45 views

How can I make this kind of table in Latex? [duplicate]

I want to make this kind of table.
2
votes
0answers
49 views

Three column layout with three column footnotes

I was able to find how to do three column layout of main text, for example using. \documentclass[12pt]{book} \usepackage[paperwidth=12.9in, paperheight=9.9in]{geometry} \usepackage{multicol} ...
1
vote
1answer
76 views

Justified text and multicolumn size in tabularx

I'd like to create table with (a lot of) justified text and some multicolumns. My example is below. It works more or less... but I get lots of underfull \hbox notices, which I think it's because ...
0
votes
1answer
52 views

merging cells with tabularx

I'am writing my thesis. I want to create a table. I'm using the tabularx environment My code: \begin{table}[htbp] \centering \caption{Add caption} ...
2
votes
2answers
75 views

Please help with multicolumn/multirow

I've been searching for an example of confusion matrix, and I found one that I need to modify. Here is the example: \documentclass[11pt]{article} \usepackage{tikz} \usepackage{multirow} ...
5
votes
2answers
149 views

In a table: Problem equalling the width of only three columns

I am writing a thesis in a large .tex file in Vim. As I show in this image, the first, second and third column have different spacing (width): This is the code for the table: \begin{table}[h] ...
4
votes
1answer
60 views

Aligning by ; with dcolumn works only for 1 column

I have a problem with aligning columns by ;. Using the dcolumn package I was able to align the first column but when I try align all 4 columns by ;, like this \begin{tabular}{r|kkkk}, it fails with ...
1
vote
0answers
67 views

Switch between right-to-left and left-to-right two-columns with long entries

I give here the answer of the problem of using indices for making dictionaries English-Arabic, for a book of probability, thanks to this very powerful discussion... Switch twocolumn between ...
2
votes
1answer
49 views

Column width table in tabularx environment

This stuff is probably a bit cluttred, but anyways: The problem I am experiencing is that I would like to make a correlation matrix as the one depicted above, but the width of the maturity column ...
3
votes
1answer
47 views

“! Misplaced \omit” error in multicolumn and BlackCell

I ran into a problem with “! Misplaced \omit” error. I have searched quite hard to find the relevant problem but only find mine is similar with bigbadpiano's question in which A.Ellett generated a ...
10
votes
1answer
159 views

Optional argument problem

This example works but if I try to put an optional argument changing \newcommand\TBLdiag[5]{% in \newcommand\TBLdiag[5][\tabcolsep]{% it does not work anymore. Of course I call \TBLdiag with ...
4
votes
2answers
74 views

Adding table with restricted horizontal line

I am new to LaTeX and having a hard time trying to figure out a way to draw a table like the one in the image below. To be precise, how do I get the horizontal line only above the texts "Ruin" and ...
4
votes
3answers
78 views

How can I put the vertical line using multicolumn?

How can I fix the vertical lines? \begin{landscape} \begin{table}[htbp] \caption{Cronograma de Actividades} \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|} \hline ...
4
votes
3answers
62 views

align+multicolumn sometimes produces misaligned equation labels

Here is a short document demonstrating the problem: \documentclass[twocolumn]{article} \makeatletter \renewcommand{\rmdefault}{ptm} \renewcommand{\normalsize}{\@setfontsize{\normalsize}{9pt}{10pt}} ...
6
votes
3answers
217 views

A challenge: How to reorganize the horizontal hline in the Table

I have done this table: But I wish to have the left column with labels 1 in the Class, all join together into a single block. And similarly, I wish to have the left column with labels 2 in the ...
5
votes
1answer
83 views

Different column widths when using multicolumn in tabular enviroment

I'm trying to recreate this table in latex So far I've managed to get this Using this: \begin{table}[h] \begin{table}[h] \begin{tabular}{|l|l|p{10cm}|} \hline \multicolumn{3}{|c|}{\textbf{Daily ...
3
votes
2answers
79 views

Table with combination of multirows and multicolumns

I need to create similar table using LaTeX: I have tried to use \tabular and \multicolumn, but every time I get something wrong. Could someone help me? \documentclass{article} ...
4
votes
3answers
193 views

Table with multirows, multicolumns, and a combination of both

I need to create similar table using LaTeX: I have tried to use \tabular and \multicolumn, but every time I get something wrong. Could someone help me? \begin{table}[!ht] \small \begin{tabular}{ ...
4
votes
1answer
104 views

Tikz wave not covering multiple tabular columns

This is a follow-up to my earlier questions here and here. In short, what I want to achieve is an arc over multiple columns, which I am achieving using Tikz. Code is shown below. ...
3
votes
1answer
813 views

width of paragraph in multicolumn tables

I have problem that I don't know how to solve. Look at \multicolumn{2}{p{18.5cm}}{bla} and please tell me how to set paragraph width to fill whole multicolumn space? I discovered this (18.5cm) value ...
8
votes
4answers
207 views

How to merge two tabulars into a single table the width of the column?

I am asking for advice on achieving two separate effects in the table environment. (1) I have two tables with a different number of columns. I need to merge them into a single table. I have this ...
4
votes
2answers
53 views

TeXcount counting \multicolumn

When using TeXcount on the following MWE \multicolumn macro is counted as a word and I get: Words in text: 6 What can I do to avoid this behavior and get the correct word count? ...
5
votes
2answers
164 views

Need help with multicolumn error

I am having difficulties with what I assume to be a simple issue. I'm in the process of learning LaTeX, and currently having STATA output most of my LaTeX code, which I then insert into TeXworks in ...
4
votes
1answer
72 views

multicolumn list of acronyms

Is it possible with the acronym package to produce two columns of acronyms? I checked the package guide, but didn't find any help, should I use a table? Not really sure on how to proceed. I am using ...
1
vote
1answer
69 views

Cell lines of table not aligned cleanly

I'm trying to make a small table, but where only certain cell lines are drawn. I followed a general code outline I found elsewhere (the "Spanning in both directions simultaneously" part of this ...
0
votes
0answers
14 views

Command with two arguments in tabular : misplaced \omit [duplicate]

I want to make a command that takes two arguments. The command should be called within a tabular environment. However, the command produces a Misplaced \omit error. \documentclass{article} ...
4
votes
1answer
81 views

multicolumn in longtable with span dependant on number of columns

How can I use \multicolumn in a longtable environment to span all columns except for one? The \LT@cols counter is probably the way to go. However, doing arithmetics in LaTeX seems somewhat ...
2
votes
1answer
564 views

Table \rowcolor \columncolor \multirow and \multicolumn Alignment

I'm trying to recreate this table from Word in LaTeX: I'm getting close, but the "Effectiveness" section is not aligned properly, and the "Probability" section is not fully filled in with color. ...
1
vote
0answers
45 views

Redefining multicolumn environment

I am using multicolum under tabularx a lot. Instead of removing spaces \multicolumn{2}{@{}l}{...} I want to create a new environment which removes trailing spaces from both front and end. Any ...
4
votes
1answer
844 views

Combining multirow and multicolumn

When combining multirow and multicolumn in the same cell of a table I am getting extra vertical lines: \documentclass[plain]{article} \usepackage{multirow} \pagestyle{empty} \begin{document} ...
0
votes
4answers
85 views

Three columns aligned horizontally and vertically

I'm trying to make a list of three columns where the first column is on the left hand side of the page, the second column runs down the middle and the third column is on the right hand side. A table ...
3
votes
2answers
65 views

How to fix to force text to split in table?

I have a simple table in LibreOffice calc and I tried to convert it to latex using the Calc2Latex macro. Then using Latex I tried to improve it. However I cannot get the text correctly ! This is ...
1
vote
1answer
100 views

\multicolumn in array not showing column separator

I'm trying to write three columns of equations separated by vertical lines in an array, but when I use the multicolumn command it doesn't show the column separator. I've tried using the multicols ...
4
votes
3answers
128 views

adding significance levels under regression result table

I have a table as the following: \begin{table}[htbp]\centering \caption{Dependent Variable: Enrollment} \begin{tabular}{c c c c} \hline\hline \textbf{Variable} & \textbf{Model 1} & ...
4
votes
1answer
58 views

Center cell borders when using \multicolumn

MWE: \documentclass{article} \begin{document} \begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|} \hline &\multicolumn{2}{|c|}{1} & \multicolumn{2}{|c|}{2} & ...
0
votes
1answer
682 views

Creating complex tables with multicolumn on different lines on latex

Can someone help me creating this table, I can't figure out how \multicolumn work. I can get to the first two rows of the table but no further. Please help. Thanks
2
votes
1answer
261 views

Figure* on first page in IEEEtran template

Is it possible to place a figure* (two column figure) on the bottom of the first page of a document? I'm writing an IEEEtran journal. A figure* is always placed on the next page, so it is not ...