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

learn more… | top users | synonyms

0
votes
1answer
36 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
18 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
28 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
28 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
30 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
37 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
16 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
28 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} ...
-2
votes
0answers
37 views

multicolomns and rows

I want to do a table in latex like : ------|---------------------------- no. | name ------|---------------------------- 1 | equation ------|--|-----------|------------- name | name ...
0
votes
1answer
46 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
24 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
30 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
30 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
34 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
62 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
53 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
57 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
66 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
33 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
37 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
67 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
27 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
30 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
59 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
71 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
45 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
79 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
59 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
32 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
55 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
45 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
44 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
48 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
54 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
44 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
39 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
78 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
31 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
63 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
71 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
120 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
73 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
71 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
39 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
48 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
47 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
148 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
100 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} ...