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

learn more… | top users | synonyms

2
votes
1answer
42 views

Misaligned vertical lines in table

In my document I use different kinds of tables, as shown below in a simplified way. My problem only affects the first table shown in the output. Strangely, the vertical lines between columns "B" and ...
4
votes
2answers
33 views

mathcal error with multicolumn multirow

I get the error \mathcal allowed only in math mode when I try to compile this MWE: \documentclass[12pt]{article} \usepackage{multirow} \begin{document} \[ \left( \begin{array}{c c c c} ...
0
votes
2answers
52 views

Multicolumn table with different size

I have the following multicolumn table, but I would like to have these columns in different width. For example, columns "Cast name" should be wider that columns "percentage". Could someone kindly let ...
0
votes
0answers
59 views

Align the baseline of two columns

I'm trying to get the baselines of the two adjacent columns here below to be properly aligned. The package grid cannot handle the floats as I want, so I've tried with gridset. It looks like it can do ...
2
votes
0answers
21 views

LaTeX - Let table be page wide in the IEEE template [duplicate]

I'm currently using the IEEE template, as it allows for the use of floats within a two column document. I am trying to make a table the width of the page (spanning both columns) at either the top or ...
2
votes
1answer
46 views

How to insert a multicolumn among columns?

I want to create a table in latex in which I have a multicolumn among columns. something like the following: How can I create it?
4
votes
3answers
136 views

Multiple alignment in math mode - a math equivalent to `\multicolumn`?

I have some quite long lines of maths I have to put into a two-colum document format, so the maths often needs to be split between multiple lines. In the example below, I'd like to align the open ...
0
votes
1answer
11 views

problem adding additional column under multicolumn option in table [duplicate]

First part of the question: I have a table \begin{document} \begin{tabular}{|*9{c|}}\hline A & \multicolumn{2}{c|}{B} & \multicolumn{2}{c|}{C} & \multicolumn{2}{c|}{D} & ...
0
votes
0answers
35 views

misplaced \omit with \multicolumn

Having typed \begin{tabular}{|l|l|} \hline \multicolumn{2}{|c|}{toto} \\ \hline a & b \\ \hline \end{tabular} I have as error \omit \multicolumn{2}{|c|}{toto} Having read ...
2
votes
2answers
69 views

Different column widths under a multicolumn prevent appropriate centering

How can I center the two columns inside the multicolumn? MWE \documentclass{article} \usepackage{booktabs} \usepackage{multirow} \usepackage{siunitx} \sisetup{input-ignore={,}, ...
3
votes
1answer
46 views

Is there a way to insert \caption{} inside a multicolumn on top of a longtable?

I have a coloured table and I'd like it to be sort of uniform and have the \caption inside the coloured space serving as a title as well. I can insert the table number with \thetable but then I'd have ...
0
votes
1answer
58 views

Border with multirow and multicolumn

Following example: \usepackage{multirow} \begin{tabular}{cc|c|c|c|c|c|} \cline{3-7} & & \multicolumn{5}{c|}{something} \\ \cline{3-7} & & AAA & BBB & CCC & DDD & ...
2
votes
1answer
25 views

No Vertical Spacing in Multicols

I just started using LaTeX this week. So currently, I am making exam-type files. I use the \itemsep=\fill option to make sure that there is a vertical space in between each \item. However, when I use ...
1
vote
1answer
47 views

How to create boxes within columns (Beamer)?

I need to have three columns and the text within each should be enclosed in a box. below is my code, but it is not working: \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{calc} ...
2
votes
1answer
42 views

Vertical and horizontal align in multicolumn and multirow

I have big issues with alllign in multicolumn and multirow. In I need vertical allign in multicolumn with content 'a' and 'b'. Also I need horizontal and vertical allign in multirow. Is there way to ...
0
votes
1answer
57 views

Command to automatically start new row

I need not trivial help. I have a command with parameters. This command fills in and prints the following table: \begin{longtable}{|p{3.2cm}|p{2.5cm}|p{2.5cm}|p{2.3cm}|} \hline Some Text: & ...
2
votes
2answers
74 views

How to space columns evenly in a table with multicolumns?

A hopefully very simple question. Why does the multicolumn in my example below screw up the spacing between the columns below? Obviously I would want columns A, B, and C to be spaced evenly (as they ...
0
votes
1answer
17 views

“non-text” in multicolumn

I am trying to add a recipe in a multi-column table. Something like so: \begin{tabular}{p{6cm}|p{6cm}} Some text & More text.\\ \multicolumn{2}{c} {\begin{recipe}{Lemonade, ...
1
vote
0answers
41 views

Multicolumn - Extra alignment tab has been changed to \cr [closed]

I'm trying to build the following table, but I get the error in the title. I'm sure it has something to do with the \multicolumn function, but I can't see what's wrong with it. Help? \begin{table} ...
0
votes
1answer
71 views

Multicols{3} problem - how to reduce space between columns?

I want to reduce the space between columns in multicols I use \setlength{\columnsep}{<space>} but it reduces the space between the 2nd column and the 3rd column only How to make it reduce the ...
1
vote
0answers
30 views

!Misplaced \omit. \multispan -> \omit for stacked image figure

I am trying to create a figure composed of 2 images stacked vertically, with captions underneath each. There are 2 captions (horizontally) under the second image, therefore I use 2 columns. My latex ...
0
votes
0answers
31 views

Can I use multicol for column balancing in two column (eledmac) footnotes?

I am typesetting footnotes in two column layout using the eledmac.sty package. As I pointed out in this post, strange behavior in column balancing appears. Now I wonder if I could use multicol.sty to ...
4
votes
1answer
40 views

multicol: column balancing only after a minimum number of lines?

I am using multicol.sty for balanced columns on a small part of the page. Generally I want these columns to be balanced, but not if the resulting twocol part ist less than 3 lines in height. How can I ...
1
vote
1answer
44 views

Make column environment ignore frame margins in beamer

I'd like to define the exact horizontal position and width of columns using beamer. For example: Column which starts at .05\paperwidth and is .55\paperwidth wide Column which starts at ...
4
votes
3answers
87 views

How to correctly include a header image only on the first page

I found a nice Latex template here and I would like to include an image to to the header which is aligned in the right side. I like the template, which is why I would like to adapt it. I included a ...
1
vote
1answer
59 views

How to merge several columns as one column for a table like this?

How can I edit this table in order to have one column, for example, let's say I have this table: \documentclass[10pt,letterpaper]{article} \usepackage{booktabs} \usepackage{siunitx} ...
5
votes
2answers
62 views

Some modifications for multicolumn and multirow

I'm using this code for creating a table in LaTeX: \documentclass[11pt]{article} \usepackage{threeparttable} \usepackage{multirow} \usepackage{makecell} \usepackage{graphicx} \usepackage{color, ...
2
votes
2answers
73 views

Multicolumns with equation format

I'm currently writing a summary for my semiconducter devices course and I'm trying to do it with Latex (just started today). I have the following problem: I have two chapters with two formulas each. ...
3
votes
1answer
48 views

3 Coloumn Layout

i would like to recreate a given PDF in the form given in the image. My problem is that I do not know which packages have been used and would like to ask for the best way to recreate the given image. ...
1
vote
1answer
49 views

\autorows style table with custom columns and dynamic row spanning

I'm trying to create a table environment similar to memoir's \autorow, (in that I can supply contents as a list, along with the number of columns) but with more complex requirements. I need to be able ...
4
votes
1answer
84 views

Two different height column — multirow table

I'm dealing with tables, I want to obtain a table like this: And I wrote this very basic code: \documentclass[a4paper,12pt]{article} \usepackage{array,multirow,graphicx} ...
3
votes
1answer
30 views

Aligning and wrapping the text vertically in a table with multicolumn environment

My code is as follows: \usepackage{array} \usepackage{multirow} \usepackage{graphicx} \begin{table}[h] \centering \begin{tabular}{>{\centering\arraybackslash}m{1in}|l|l|} \cline{2-3} ...
1
vote
2answers
33 views

Vertical alignment multirow

I have this code here and I would like to know how can I center (vertically) the first column. Now I have {Feb, 2014 -- Present} at the top of the table. \begin{tabular}{l|p{12cm}} \ {Feb, 2014 ...
2
votes
0answers
85 views

How can I use \multicolumn in a \pgfplotstable table?

In my experiments with pgfplotstable, I've run into some bumps: merging multiple columns adding formatting commands to text within cells Problem I cannot seem to properly add a \multicolumn{}{}{} ...
1
vote
3answers
76 views

How can I improve the style of this table in latex?

I would like to center all the elements of the table and improve the style of this one. \begin{table}[h] \begin{tabular}{|l|r|l|l|} \hline \multicolumn{1}{|c|}{text} & ...
4
votes
3answers
55 views

Multicolumn within tabularx: how to get p{'lengths'} right

I am trying to have the lipsum text fill the two cells to the right of the vertical ruler, without exceeding the table. My code is now: \documentclass[a4paper,11pt]{article} \usepackage{lipsum} ...
2
votes
1answer
100 views

Creating complex table with multicolumn and multirow

I am trying to recreate the following table in a more simple format in my latex document. However the more I work on it the more messy it gets. I cant really understand how to properly align every ...
1
vote
1answer
64 views

Improve table with several multicolumns and multirows

I've been working on a table with several multicolumns and multirows. Though the table is almost done, there are some details that I'm not very confortable. I don't think the last row Exarcebations ...
0
votes
1answer
62 views

How to put Verbatim inside \multicolumn in tabular?

I need to put Verbatim text in tabular cell, which works fine, except when I want to extend the cell to all the columns, then I get an error File ended while scanning use of \FancyVerbGetLine. ...
3
votes
4answers
68 views

Unequal width to columns in table

The following tables gives me unequal length for the row "Tower". WIll you guys please suggest me such that the column is divided exactly in the centre? \begin{landscape} \begin{table}{Variable ...
1
vote
0answers
42 views

How can I align the cells vertically?

I'd like to align my table cell vertically and horizontally.... can anyone help here is my code \begin{table}[htbp] \small \centering \caption{comparisons} \subfloat[Approximation accuracy ...
0
votes
0answers
51 views

LyX 2.1.3 on Windows 8 Best Long Multi-column Table

I was wondering what the best 'LyX' way was to create a long multi-column (>5 columns) table with unigrams as in Figure 5.8 here. I have seen similar solved queries for LaTeX but I have not been able ...
3
votes
2answers
32 views

Centre Decimal aligned multicolumn

I have some decimal values in a table that I have aligned by decimal point but I would like them to be centred to the column. So far I have: \begin{tabular}{l r@{}l r@{}l r@{}l r@{}l} \toprule Weeks ...
1
vote
1answer
49 views

Space between multiple columns in align* too large

I want an align* environment with two columns, to display two equality signs per line, both aligned to the corresponding equality signs in the other lines. For example: \begin{align*} a &= 1 ...
1
vote
1answer
63 views

How to make flushleft work on multicolumn title?

In the below code, "Title3Title3 Title3Title3 Title3Title3" is misaligned with the other titles because flushleft does not seem to work with multicolumn titles. How do I left-justify all of these text ...
1
vote
1answer
74 views

Column misalignment with multicolumn command

I have the following code that generates a table \begin{tabular}{|c|c|c|c|} \hline \multicolumn{4}{|c|}{A} \\ \hline \multicolumn{2}{|c}{B} & \multicolumn{2}{|c|}{C} \\ \hline D ...
0
votes
1answer
54 views

pgfplotstabletypeset with the use of multirow and the vertical line problem

Please bear with my clumsy codes here. I am using multicolumn and multirow to custom-made a header but are having trouble. I will use an example csv file to illustrate what I am trying to do. My csv ...
1
vote
1answer
54 views

longtable with multiline column

I'm trying to make longtables (that can span pages) with a column containing a newline, and another column that contains a paragraph. My attempts so far all have vertical alignment issues whereby ...
3
votes
2answers
95 views

Unexpected behaviour of multicolumn/minipage in tabularx

Please take the following MWE into account : \documentclass[a4paper]{article} \usepackage{tabularx} \usepackage{array} \usepackage{booktabs} \begin{document} \textbf{Array A :} ...
0
votes
0answers
40 views

Delete superfluous line in longtables (LaTeX)

This is the first table I have: \begin{longtable}{|p{4cm}|p{4cm}|} \caption{Caption of the table}\\ \hline \rowcolor{black} \textcolor{white}{\textbf{Column 1}} & ...