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

learn more… | top users | synonyms

4
votes
3answers
48 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
52 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
50 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
60 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
31 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
27 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
61 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
24 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
29 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
43 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
69 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
34 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
68 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
56 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
23 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
54 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
40 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
37 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
30 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
40 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
42 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
50 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
33 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
33 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
69 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
29 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}} & ...
4
votes
1answer
62 views

Recreating a simple table from Kenneth French's website (link in the description)

I need someone help with recreating the following table in latex: link: http://mba.tuck.dartmouth.edu/pages/faculty/ken.french/Data_Library/six_portfolios.html Here's what I have: \begin{tabular}{ ...
2
votes
1answer
67 views

Three Column Layout, Simple please!

I am using LaTeX to write a CV and would like to be able to set 3 columns whose width I can define and be able to designate in which column certain text goes into. Most of the answers to this ...
2
votes
2answers
96 views

How to create multi-row and multi-column table?

I want to draw the following table : I have used the following latex code to do the above table : \documentclass[12pt,twoside,a4paper]{book} ...
3
votes
2answers
67 views

Color in Table with Multicolumn and Multirow - How to achieve?

Yet another question, this time with coloring the table. This is the code for the table I got with your help here: \documentclass{article} \usepackage{multirow} \begin{document} \begin{table}[h] ...
1
vote
1answer
66 views

Table with Multirow --> How to get rid of the errors?

I have got a serious problem with a table. This is my code so far: \begin{table}[h] \begin{table}[h] \begin{tabular}{|c|cl|cl|cl|cl|cl|} \hline \multicolumn{3}{|l|}{} ...
1
vote
1answer
34 views

How to reduce row height using multirow, multicolumn

the following code produces a table with larger row heights than needed. I have already defined new columns (for coloring the columns). Any ideas how I can shrink the row height? ...
1
vote
1answer
46 views

Removing top space of itemize inside a multicolumn

My previous question was tagged as duplicate, yet the solution given in the link does not solve my problem. I am trying to suppress the blank space on the top of the itemize environment. I tried to ...
1
vote
1answer
39 views

csvsimple creating multiple lines out of one entry

Data looks like this: name,job,age John,student,21 Frederik,student,18 Johnson,professor,49 I'd like to generate a table, that when for the first time a new job show up (the list is sorted by job), ...
5
votes
1answer
147 views

LaTeX Layouting

I want to layout a LaTeX document with following conditions: Let the base element of my document be a box. A box contains a content which must not be split by page breaks, and in a multi columned ...
0
votes
1answer
87 views

How to solve a “Misplaced \omit” error in a table?

I'm trying to code table in LaTeX; however, the following code isn't working: \documentclass{article} \usepackage{a4} \usepackage{subfig} \usepackage{xfrac} \usepackage[normalem]{ulem} ...
4
votes
4answers
120 views

Wrapped titles of longtable columns

I suspect there's something I've added to my code which I didn't understand and don't want. The text of the title of my longtable's columns doesn't seem to want to wrap. Could someone tell me where ...
1
vote
1answer
25 views

Add vertical line in tabular head when using multicol

I have the exact opposite problem described in this question : Remove vertical line in tabular head In my case, I am using this code : \documentclass[a4paper, 10pt]{article} \usepackage{booktabs} ...
0
votes
0answers
34 views

ltablex - Multirow problem: rows don't continue to the next page

I'm writing a thesis document and I have many longtables with tabularx, so I've decided to use the package ltablex for that matter. The problem with multirow is that it doesn't seem to cross pages ...
3
votes
1answer
71 views

How to use booktab or type this Table in REVTex4 / REVTex4-1

I wish to type this table in REVTex, however, the code below does not work for \documentclass{revtex4} but only for \documentclass{article}: \documentclass{revtex4} ...
0
votes
0answers
26 views

scaling position of a graphic image in a table

I am trying to scale an image of a circle in the left of the exercise , the exercise is written in form of a table made of 3 columns, one for the points, the second is for the question and I want the ...
4
votes
1answer
101 views

Using \multicolumn{<cols>}{p{<width>}} sets last column inappropriate

I want to add a table note below the table using the \multicolumn command. Explicitly, I don't want to use the threeparttable style. As you can see, the 6th column is set with more space to the ...
4
votes
3answers
56 views

I am trying to do something like threeparttable with multicolumn and I can't get it to work

Good day, I am rather new to Latex and I am trying to make some tables that resemble threeparttables but are less cluttered. I have included code using threeparttables to give you an idea of what I ...
1
vote
1answer
42 views

Extending a line in the Table

I wish to have a Table setting like the following graph with an extra line inserted between a and b. Namely, I wish to extend the line separating 1, 4 and 2, 5 to the line separating a and b. The ...
3
votes
2answers
97 views

fitting table to single column and error messages

edited table, as it is now 25/12-2014, \documentclass[fleqn,10pt,twocolumn]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath,array,graphicx,siunitx} \usepackage{dcolumn,booktabs} ...
4
votes
2answers
67 views

Error \centering with \multicolumn

\documentclass[a4paper,10pt]{report} \usepackage[utf8]{inputenc} \usepackage{booktabs} \usepackage{multirow} \begin{document} \begin{table}[ht!] \caption[Structural properties of $5$ networks ...
3
votes
2answers
87 views

Too much white space around column!

\documentclass[a4paper, 11pts]{exam} \usepackage{multicol, setspace} \usepackage{textcomp, booktabs,colortbl} \usepackage[table]{xcolor} \setlength\columnsep{40pt} \onehalfspacing \begin{document} ...
0
votes
1answer
72 views

Word wrap in multicolumn and multirow table

I tried making this table and it still run longer than page width. Also it's longer than a page length. Does anyone know how to make this table work? Also this is the first time I ever use LaTeX and ...
2
votes
2answers
97 views

\textwidth within \resizebox

I want to the final row of a table to display the notes, spanning across all columns, using \multicolumn{#}{p{\textwidth}}{}. This does not work properly in connection with resize, because textwidth ...
1
vote
0answers
59 views

Printed PDF is missing some text when using `multicols` [closed]

I've prepared a 3-column equation sheet in LyX using the {multicols}{3} environment. The generated PDF looks great, but when I print it, some text is missing. Here are all the details: It's a ...