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

learn more… | top users | synonyms

3
votes
2answers
63 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
52 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
61 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
47 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
66 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
41 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
52 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
35 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
37 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
37 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
65 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
114 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
63 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
53 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
156 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
55 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
101 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
40 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
100 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
62 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
47 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
26 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
70 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
57 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
138 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
131 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
39 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
71 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
58 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
61 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} ...
0
votes
1answer
69 views

Column with math mode in beamer won't center under multicolumn row

I am having trouble getting a table to behave as I expect (and want) and I don't know if the problem is with beamer, multicolumn, or math mode. \documentclass[table]{beamer} \usepackage{booktabs} ...
4
votes
1answer
74 views

How to typeset multilingual adjacently parallel paragraphs within a page with different footnotes

The above example was created using an WYSIWYG editor. But want to achieve same using xelatex where different footnotes (explanatory, variants) can also be used. Any pointers.
2
votes
1answer
50 views

Centering multicolumn table entries

I have the table below: I want all of the cell entries to be centered. But I couldn't manage it. How can I do that? My source code is below: \documentclass{article} ...
0
votes
0answers
56 views

Fill up space with multicolumn in a longtabu (AKA ignore content for auto sizing)

I would like to specify featured (multi)columns that fill up the space determined by the content of other (non-featured) columns. Here is an example: \documentclass[a4paper,10pt]{article} ...
5
votes
2answers
118 views

Center-align multicols with equal horizontal spacing

I use multicols within an enumerate environment to make sub-questions; however, I've encountered annoying default: for some reason the spacing between the elements is not even, nor does it appear to ...
2
votes
4answers
79 views

multi-column row in align environment

I would like to be able to use multicolumn inside an align environment, much like we can do in a tabular environment MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} ...
2
votes
2answers
163 views

Table: white spacing with rowcolor, multicolumn and multirow

I have the following table : It uses \rowcolor, \multicolumn, \multirow but it also has a wide white spacing between the cases. I need the title "Cobertura del transporte en el municipio de ...
2
votes
1answer
25 views

Various multicolumn in a header of a table

I want to use \multicolumn in the header of this table, so instead of having e.g: 2007 twice, these two columns would be merged , and so on. However, when I tried to implement \multicolumn it did not ...
4
votes
2answers
111 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
96 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
59 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
93 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
39 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
69 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
64 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
142 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
65 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
65 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
55 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 ...