Questions tagged [multicolumn]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
43 views

Position of a headline in a multicolumn poster using flow/window/frame

An answer which is sufficient but not optimal has been found. Any improvements are welcome. Requirements: a landscape poster in A3 with four (possibly a different number later) columns, the ...
2
votes
1answer
32 views

How do you / Can you suggest column breaks?

I know that you can suggest a pagebreak with \pagebreak[0..3], but is there an equivalent for suggesting a column break?
2
votes
1answer
28 views

Evenly Space longtable columns with multicolumn

I'm having a spacing issue in longtable, where the use of multicolumn elongates the last column. Example posted below. The solution suggested to this question does not appear to work for me (\fill ...
1
vote
1answer
28 views

Longtable with multicolumn for 3 column data not working properly

I'm trying to create list of books with 3 columns and using new environment (I have to use environment here) to define my longtable. I want to get something like this : But my code isn't working ...
0
votes
2answers
45 views

two columns with visible separating line

I tried for about 30 minutes, but could not find a solution that works for such a simple task. how do I do this? I managed to somehow make two columns but the separating line ends right away, I need ...
0
votes
0answers
14 views

Can't create a table with fixed column width when using \multicolumn

I want to generate a table with fixed column width even though every line of it has \multicolumn. I have seen this solution but it's not suitable for my needs since I need to be able to control each ...
0
votes
1answer
19 views

Multicolumn how to align the second column

So I have something like this using \multicolumn: \begin{tabular}{lp{14cm}} \\\multicolumn{2}{c}{} \\ &\textbf{Left header 1} \hspace{40pt}\textsc{Right header 1}...
0
votes
1answer
43 views

Why extraspace in the last column?

I'm trying to make a simple table but a strange space appears in the last column and I don't know why. I share the used code. \documentclass{article} \usepackage{multicol} \begin{document} \...
0
votes
1answer
26 views

Multiple multicolumns in tabular messes with text alignment of each other

I'm having an issue with multicolumns in a tabularx environment. When I have one multicolumn (in the first row) it is formatted correctly: When I add a second row however, the format messes up: A ...
2
votes
1answer
47 views

LaTeX Multicolumn and multirow table formatting

Dear guys on the internet! i struggle to properly recreate a table from a word document in LaTeX. The following picture shows the goal i want to reach (Screenshot from word document): I tried it ...
0
votes
0answers
21 views

prevent only one line going to the next column

I have two files main.tex \documentclass{scrbook} \RequirePackage[T1]{fontenc} \RequirePackage[ngerman]{babel} \RequirePackage[utf8]{inputenc} \RequirePackage{multicol} \newcommand{\block}[1]{ ...
0
votes
0answers
27 views

Offset in Double Column References Section

I am using following code to print double-column bibliography. However there is an offset as shown in the figure below. How can I fix the code such that the left column goes up and starts properly ...
0
votes
1answer
40 views

Cell text will not align with top using \multicolumn

I hope you guys can help me. I am trying to top align the cell text. But no matter what I do, the text will not align with the top. See my code and the result below. \begin{mytable}[label={tab:frame}...
1
vote
2answers
36 views

Table: Vertical and Horizontal Centering with linebreak in \multicolumn

I'm trying to typeset a table with a fixed width were the cells contents are centered both vertically and horizontally, even if one cell contains a forced line-break. I've managed to get that done, ...
1
vote
1answer
23 views

Display equation 2-line equation in 3 columns

I want to write in Latex the following equation: I tried to do this but it didn't quite work out \begin{equation} \label{eq:atmlineStrength} \begin{split} S_i & = a_1\times10^{-7} \ p \ \theta^...
2
votes
2answers
43 views

Why `\multicolumn` and `\hdotsfor` do not work as expected?

I have the determinant \documentclass{article} \usepackage{amsmath} \begin{document} $$ \begin{vmatrix} a & b & \ldots & \ldots & \ldots & \ldots \\ a & b ...
1
vote
2answers
57 views

table-format=2.2 for 2 decimal place, what happened if have integer and % in data?

This is following up question Content is not center in tabl I able to take into account using table-format=2.2 for data example 22.22. What happened if I have an integer for example 10 and alsp ...
0
votes
1answer
31 views

Content does not centre in a table

This is a follow-up question from using multirow and multi column together Basically, i want a table look professional and centre. In Example 1 below: there is a word outside the table using \begin{...
1
vote
1answer
18 views

Extending border in tabular environment

For the back-to-back stem-and-leaf plot below, how would you modify the code so that the highlighted bit comes through? For some strange reason, this is missing when I compile latex. Thanks \...
0
votes
1answer
37 views

vertical text problem in table

I'm making a planning for some report, and used the LaTeX table generator to change it from Excel to LaTeX. However, if I'm running the generated code, the vertical text gets split up, which I don't ...
3
votes
3answers
54 views

Multicolumn centering not working with use of paragraph column for wrapped text in tabularx

I am using a multicolumn at the end of my table to indicate what some of the abbreviations mean. I have enough of them that I need to wrap the text so I am using a paragraph column with centering ...
0
votes
1answer
43 views

Custom text anchor

TL;DR: How do I achieve what's in the picture in Latex? I am working on a personal manuscript of scripture, where I am stripping Biblical text of all chapter/verse markings, punctuation, etc. and ...
1
vote
1answer
21 views

With multicolumn spacing are not equal

When using multicolumn the spacing between the columns are not the same. (Column 2 is closer to col 1 than to col 3.) How can I have them the same? \documentclass{article} \begin{document} \begin{...
1
vote
2answers
56 views

Uneven multicolumn table not filling up entire width. Latex

I have a problem with a table in Latex, that i just cant get to work. I found online that i can put a table into a multicolumn environment, to change from 4 columns to 3, and that seems to work well ...
0
votes
1answer
21 views

How to vertically centre a multicolumn inside a longtable environment?

I've got a merged column inside a table using multicolumn. I would like the text in this multicolumn to be centered vertically. This is the MWE: \documentclass[14pt]{article} \usepackage[left=2....
1
vote
2answers
42 views

Issue with alignment when using multi-column and @{\hskip}?

There is a slight offset of alignment of the right column header (which is a multicolumn entry) and the column to which it is supposed to be left-aligned below. If the @{\hspace{1em}} is removed from ...
2
votes
2answers
93 views

Wrong cell width in table while merging colums

I am trying to create a cell with merged columns but it is not producing cell with the correct width. When I use c or l or r as alignment parameters then it works perfectly if text in cell is of less ...
1
vote
0answers
23 views

Is csvsimple compatible with multicolumn in rows other than the header?

I want to shorten a tabular by making text in the first column consume more than one cell in the last (rather than first) rows of the tabular. I know csvsimple accepts macros however lines can't be ...
2
votes
1answer
28 views

xparse can't insert \multicolumn

When I try to insert a \multicolumn with a macro created using xparse's \NewDocumentCommand, I get a Misplaced \omit error. When I define the "same" command using \def, every thing works fine. How ...
1
vote
1answer
25 views

How can I center table headers with multicolumns?

I'm trying to center all headers, including the one spanning accros multiple columns. I can't seem to find a solution. I'm also heaving problems with breaking the long headers three lines. MWE: \...
1
vote
3answers
122 views

Text overlapping between rows while using tabulary

I have a table, which is done using tabulary. The output are looking good, if there is no multi-row/column. But, the output is very bad, if it contains multi row. Can anyone help me out?. \...
0
votes
0answers
29 views

Use whole page width in twocolumn document [duplicate]

I am working with my document class set as [twocolumn]{article} and all is working well however I would like to know if it is possible to use the whole page witdth for text within the document. I ...
1
vote
1answer
58 views

How to use \multirow and \multicolumn together?

I am having trouble to create a table using both \multirow \multicolumn Both contents seemed to overlap together and look not nice. My Full MWE: \documentclass[12pt,oneside]{book} \usepackage[...
0
votes
1answer
21 views

Align Table Entries

Maybe my question is trivial, but I appreciate if someone can help me align the columns of my table. The problem is that the entries are not aligned in nice columns. Here is a working example: \...
0
votes
1answer
86 views

Removing column line separators from a poster

I want to prepare a 1 page poster involving columns using \usepackage{multicol} \begin{multicols}{3} \columnbreak \end{multicols} But I do not want the column separator line. How can I remove the ...
0
votes
0answers
20 views

Adjust the width of a crossword puzzle

I have tried to adjust the size of the following crossword puzzle to the width of the column, but I have been lucky. Does anyone know how to do it? \begin{minipage}{\columnwidth} \begin{Puzzle}{16}{...
0
votes
2answers
53 views

Alignment of multi-column headers for pairs of columns

So I would like to produce a table, whereby the heading of each multicolumn represents a certain distance and the sub-columns some numerical measurements associated with it. \begin{tabular}{cccc} \...
1
vote
2answers
47 views

Working with long table in landscape orientation

Admitted I handle thing poorly when it comes to working with table. In my report I reached a point that I want to insert table (landscape) that would span multiple pages. So I used \longtable. ...
0
votes
0answers
13 views

Various errors when adding new row or horizontal line to table [duplicate]

I'm trying to replicate the table from Annex A of the ISO/IEC 27001 standard: Here is my MWE: \usepackage{array,longtable} \begin{longtable}{| l | >{\raggedright}p{0.2\textwidth} | >{\...
2
votes
1answer
41 views

Merging table without data using multicolumn

I have 2 tables that It should look similar even the second table has not as many data as the first table. I want my table look like this. Here is my code \documentclass{article} \usepackage{...
0
votes
2answers
39 views

How to combine multirow and multicolumn in simplest example?

I am facing problem to combine multicolumn and multirow together in a table. Anyone help what should be the latex code for below table? Update I have tried some code, \begin{tabular}{|c|c|cc|} \...
0
votes
2answers
42 views

Problem with wrapping of text when using longtable, multicolumn and multirow

\begin{longtable}{p{0.5cm}p{4cm}p{2cm}|p{2cm}p{2cm}|p{2cm}|} \cline{4-6} & & & \multicolumn{3}{c|}{Percentages and averages} \\ \hline \multicolumn{1}{|l|}{Nr.} & \multicolumn{1}{p{...
1
vote
1answer
25 views

simple table \multicolumn not in right size

\begin{table}[ht] \begin{tabular}{*{32}{|c|}} \hline \multicolumn{1}{|c|}{1} \multicolumn{9}{|c|}{2} \multicolumn{23}{|c|}{3} \\ ...
3
votes
2answers
61 views

How to spread columns evenly without fixing table width?

The answers on how to spread table columns evenly under a multicolumn seem to suggest that this is not possible, e.g. https://tex.stackexchange.com/a/60604/36836. It seems hard to believe that LaTeX ...
0
votes
1answer
55 views

Citation in two column document [closed]

I'm using the Springer template by \documentclass[twocolumn]{svjour3}. I'd like to use the citation by \cite{} with the column break. As can be seen in the figure below the citations are pushing the ...
4
votes
1answer
56 views

why my content is not centre of a table, I am using \multicolumn{5}{c}{\textbf{Bootstrap}}

How to make a word to be at the centre of the several rows? In my work below, I want my word Bootstrap to be at the centre. It seemed like it was on the left hand side. I used: \multicolumn{5}{c}{\...
0
votes
0answers
28 views

Longtable in twocolumn mode issues - Springer template (svjour3)

I am using springer latex template for an article. Some issues I am facing is about creating a longtable (more than one page) in twocolumn mode. In particular, since longtable does not work with ...
2
votes
1answer
41 views

Two columns, align text of the first column (using multicols package)

I'm writing a document and i want two column section to write a text. I use multicol package, but if the text of the first column is shorter than the second, the first text will align to the bottom ...
0
votes
1answer
25 views

Multicolumn Header aligned to left

I'm doing some experiments with LaTeX and would like to know how to align the title of a multicolumn to the left. This is the markup: \begin{document} \tableofcontents \begin{table}[ht] \begin{...
0
votes
0answers
38 views

how to write a one-column abstract in a two-column document using 'svjour3' package of Springer Journal

%%%%%%%%%%%%%%%%%%%%%%% file template.tex %%%%%%%%%%%%%%%%%%%%%%%%% % % This is a general template file for the LaTeX package SVJour3 % for Springer journals. Springer Heidelberg 2010/09/16 % ...

1 2 3 4 5 17