Tagged Questions

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

learn more… | top users | synonyms

3
votes
2answers
92 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
51 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
35 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
146 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
37 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
93 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
35 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
96 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
55 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
44 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
21 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
54 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
51 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
90 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
86 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
37 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
67 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
56 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
47 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
48 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
62 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
45 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
54 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
85 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
77 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
132 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
22 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
91 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
91 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
55 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
70 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
35 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
65 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
58 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
125 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
61 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
51 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
51 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
37 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
154 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
46 views

How can I make this kind of table in Latex? [duplicate]

I want to make this kind of table.
2
votes
0answers
66 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
121 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
98 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
111 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
161 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
74 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
77 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
58 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 ...