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

learn more… | top users | synonyms

0
votes
0answers
21 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
59 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
62 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
74 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
52 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
60 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
26 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
41 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
26 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
139 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
69 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
95 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
20 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
29 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
44 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
20 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
93 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
44 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
35 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
91 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} ...
3
votes
2answers
61 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
74 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
60 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
79 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
53 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 ...
4
votes
2answers
58 views

Problem with signs in dcolumn package

I want to create a table with multicolumns where numbers are vertically aligned at the decimal sign, so I used the dcolumn package. Some of my numbers have negative signs. For every second column my ...
4
votes
1answer
42 views

colortbl changes the width of a multicolumn-ed \dotfill and the page size

The following MWE works as expected: the \dotfill "line" spans the entire tabular. \documentclass{article} % \usepackage{colortbl} \begin{document} \begin{tabular}{p{.45\linewidth}p{.45\linewidth}} ...
1
vote
0answers
66 views

multi-row/column and figure inside table/tikzpicture

Im having some issues with my current try to code something that i aim to look like; I am in no way an experienced latex writed, so i would love to take inputs on every part of the code, even if its ...
1
vote
0answers
81 views

Pgfplotstable multicolumn table with dec sep align and Tabularx

I would like to implement a multicolumn table with Pgfplotstable that aligns on one side the number of the columns by dec sep align and secondly aligns the whole table by Tabularx. A version without ...
0
votes
2answers
100 views

Custom line break and column sizing in table

I use the following code to produce a table (using XeLaTex): %!TEX encoding = UTF-8 Unicode \documentclass[twoside,a4paper]{article} %---- Allow the insertion of graphics and tables ----% ...
3
votes
2answers
177 views

Multicolumn centering and text wrap

I'm trying to make a table with some multicolumns that have wrapped text, but I also want them to be center justified. I have managed to get the text to wrap using advice from other questions, but it ...
3
votes
1answer
85 views

Position tikzpictures side by side

I have the following tikzpictures, and I would like to present them in two columns. However, no matter what I try, whether it be multicol or minipage or subcaption, they stubbornly stay in one column. ...
2
votes
1answer
89 views

Two column equation block with vertical separator

I have seen various examples in text books and web pages (like here) of two column equation blocks, where the left column has some equation(s) and the right column has some explanation on variable ...
5
votes
4answers
172 views

Center text over multicolumn in table

I have created a table that is the width of my page, but when trying to center the text in the top row over the merged cell, the text is not centering with respect to the entire length of the cell. ...
2
votes
1answer
83 views

Align numeric values from knitr command \Sexpr{} by decimal in table created with booktabs and tabularx

I am writing my thesis as dynamic document using .Rnw, knitr and R. I ran my statistical analyses in an external R-script, which I sourced into my main .Rnw-file. I also want to create some tables ...
2
votes
1answer
125 views

Decimal alignment in tables with tabularx and multicolumn

in my masterthesis I want to create regression tables the numbers in the table are aligned by the decimal point. Here is a MWE to get an impression what I'm talking about: ...
2
votes
1answer
47 views

Multi-column problem with booktabs package

I'm trying to make a simple-looking table with the booktabs package. I would like to make a multi column, followed by another cell. Right now I can't get to make the following cell, where I would like ...
3
votes
2answers
109 views

Automatic table generation

I am working on a book that includes word-to-word translations that need to be put in a table. The format of the average page looks like this: Regular paragraph text. Verse. Translation section. ...
2
votes
1answer
76 views

multicolumn X paragraph?

\documentclass[a4paper,10pt]{article} \usepackage{array,tabularx,longtable,tabu} \usepackage{lipsum} \begin{document} \begin{longtabu} to \linewidth {Xccr} \lipsum[1] & Val1/1 & Val1/2 ...
1
vote
2answers
51 views

Inserting a logo at the left side of the table without changing the width of rest of the rows

I am trying to use this table as a header for my document, the problem when including the logo, the width of the rest of the rows changes. Possible to merge the "cells" of the table on the left ...
3
votes
1answer
37 views

Problem with \multicolumn in \longtabu environment

I'm a relative newbie to LaTeX and am having a problem with a longtabu table. I've set it up with alternating row colors, which works great. However, this makes the captions on all but the first page ...
2
votes
1answer
140 views

Move Text Down in Table to Avoid Overlap with Line

I'd like to move the text "District Profile Report: English Language Learners" down so that it doesn't touch the upper horizontal line while keeping the logo aligned between the two lines (the logo ...
2
votes
3answers
71 views

Add vertical space between \hline and the row consisting of only \multicolumn (without using \midrule)

I want to add vertical space between \hline's and the rows consisting of only \multicolumn. I do not want to use \midrule. The answers in this question do not work in case of \multicolumn. Here is ...
3
votes
2answers
217 views

multicolumn table

I want to make a latex multicolumn table, i wrote the code below, however, the result is not what I want. Is there anything wrong? Anyone can help? Thanks in advance. The code: \usepackage{booktabs} ...
1
vote
3answers
258 views

How to specify the multicolumn width in table header? [closed]

I want to read/input the body of a table from a separate file. I have mostly solved this problem using this question. But when I try to read a table with multicolumn from a separate file, it failed. ...
2
votes
1answer
50 views

Tabularx + multicolumn + 1 fixed column size

I made a table with tabularx which has a multicolumn row first followed by 2 rows, which have 2 columns, the first column should have a fixed size (p{7mm}) the second should be X. If I set the size of ...
0
votes
0answers
32 views

How to split a table vertically? [duplicate]

\begin{tabular}{ |p{3cm}||p{3cm}|p{3cm}|p{3cm}| } \hline \multicolumn{3}{|c|}{States} \\ \hline cpu & Higher--Lower & Lower-Higher \\ \hline ...
2
votes
2answers
91 views

How to add a percent symbol in table column along with vertical and horizontal cell padding?

I want to create a similar table as in image. I don't know how to customize table border thickness and color scheme as in picture to achieve the desired output. Code: How many rows should i span 4 or ...
4
votes
1answer
63 views

Hide \multicolumn's

I place the same table multiple times in my main document. For that, the content of the table is placed in a file called model-values.tex. On every \input, I alter the part of the table to be ...
3
votes
2answers
86 views

Problem with \tabular \tabularx and \multicolumn

I am trying to write the following "gothic" table but I have many troubles with equally distributed spacing and size of the text. I try the following with tabular: \begin{table} ...