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

learn more… | top users | synonyms

1
vote
0answers
17 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
90 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
44 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
24 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
27 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
30 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
55 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
45 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
57 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
39 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
66 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
144 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
54 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
57 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
46 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
41 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
154 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
71 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
68 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
59 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
214 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
72 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
72 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
181 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
100 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
809 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
203 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
51 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
142 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
57 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
58 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
78 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
324 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
42 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
474 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
80 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
61 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
83 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
113 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
52 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
521 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
209 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 ...
3
votes
1answer
120 views

Misplaced \omit when using \multicolumn within \multirow

I'm trying to put a \multicolumn within a \multirow environment in the following manner: \documentclass{article} \usepackage{multirow} \usepackage{array} \usepackage{mwe} \begin{document} ...
3
votes
2answers
107 views

How to create table with inner columns inside larger columns?

I want to create this kind of table with 3 large columns and at one point the column is divided to two smaller columns. Please note that the column not divided in the whole space. How can create the ...
3
votes
1answer
74 views

Extra alignment tab has been changed to \cr end template?

I get the error mentioned in the title of the question. \begin{table*}[!ht] \centering \caption{\textit{first scenario : heuristic methods}} \label{Table2} \resizebox{2\columnwidth}{!}{% ...
1
vote
2answers
89 views

Table with multi column

i have this code \begin{table}[htbp] \centering \caption{Add caption} \begin{tabular}{|c|c|c|c|c|c|} \hline \multirow{3}[4]{*}{Tested Text} & ...
2
votes
3answers
96 views

booktabs with multicol: horizontal rules too short

I need to typeset a two-column document (conference paper) & use the multicol package. I wish to insert a table & usually use the booktabs package as it gives nice spacing. However, in this ...
5
votes
2answers
138 views

Wrong width in multicolumn tabularx cells

I'm trying to create a table with fixed column widths. As most rows have a different number of cells (with LCM 12) I defined a 12 column wide table, where I add multicolumns of the wanted size. The ...