Skip to main content

Questions tagged [multicolumn]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
146 views

What should I do so that the length of the brackets remains constant when I color the table?

\documentclass[a4paper,10pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} %\usepackage[table]{xcolor} %\usepackage{colortbl} %\usepackage{xcolor} \usepackage{...
Özgür's user avatar
  • 3,344
0 votes
1 answer
23 views

Numeric alignment in table with multicolumn and multirow

I have trouble in aligning the numeric value at the dot, or at the "x" symbol. I tried to format the columns as S columns from siunitx, but it did not work. Some columns appear to be already ...
arielpriarone's user avatar
1 vote
1 answer
30 views

Merge column does not work using multicolumn

I use this code, but merging the column does not work exactly in the 4th row. \begin{table}[ht] \centering \caption{An overview of source of uncertainties, uncertainty propagation, and ...
Heri's user avatar
  • 13
0 votes
1 answer
64 views

Way to span a picture/table across all columns in multicolumn article/report and placing them precisely where they should be

I'm using the KOMA-SCRIPT class for my two-column journal article, and I'm struggling to place a figure where it should be (near its explanation). I tried the {figure*}[option] environment with \...
AKSHAY PRAKASH HEGDE's user avatar
0 votes
1 answer
26 views

how to interrupt multicolumn environment, insert a table and restart it

On my las project I've the body of document developed on a multicolon (3) environment. I need to break it (i.e. to insert a table that is wide spread and then finish the page continuing the 3 column ...
RenatoP's user avatar
  • 851
2 votes
4 answers
203 views

Problems with coloured tables with \multirow and \multicolumn and text-wrapping for table with a lot of text. Getting blank, white areas

I have a table where I need to display lots of text in the first column and the first 3 rows. I therefore require to wrap the text so I have been using centered |p| cells. Since i have so much text i ...
JustAnotherPerson's user avatar
2 votes
2 answers
92 views

Problem with cline being to short

I tried to build a Table which shows a multiclass confusion matrix. \documentclass{article} \usepackage{multirow} \usepackage{graphicx} \begin{document} \begin{table}[!ht] \centering \renewcommand{...
Jaran's user avatar
  • 123
2 votes
0 answers
47 views

tcolorbox in multicols extra vertical space between color boxes

I am currently writing checklists using tcolorbox package. For readability and space saving I want to use a 2-column format. I use a parbox to simulate a table because tabular (and derivative) do not ...
renard's user avatar
  • 762
2 votes
3 answers
79 views

Drawing table in LaTeX

This is my code: \documentclass{article} \usepackage{graphicx} % Required for inserting images \title{asdagd} \author{Finn Krammer} \date{June 2024} \RequirePackage{ifluatex} \ifluatex % source: ...
Q170's user avatar
  • 23
1 vote
1 answer
187 views

Multicolumn listings

Update Changed the mwe to make the 2nd page larger and obviously 2 column. Original In using multicol for program listings with very short lines, I get page breaks where it should at most make column ...
Rushi's user avatar
  • 313
2 votes
1 answer
35 views

Bottom alignment in multicolumns subsection

How can I always align text on top of the subsection to avoid situations, like those in the picture? Code example \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \usepackage{...
Roman Aebi's user avatar
2 votes
0 answers
73 views

colortbl package with lualatex-dev problem multicolumn

I have using This is LuaHBTeX, Version 1.18.0 (TeX Live 2024). When using colortbl package with lualatex-dev for creating accessibility PDF multicolumn values are print in the PDF (Example : \...
Balaji's user avatar
  • 149
0 votes
1 answer
16 views

Inconsistent vertical spacing of column headings in table when using \multicolumn

I have a standard table with two multicolumns in the column headings, but this causes odd vertical spacing shown in the diagram by the orange arrows. What am I doing wrong? \begin{table}[!ht] \...
Barmy Fotheringay-Phipps's user avatar
4 votes
3 answers
173 views

Table Question: How do I stop the color in a cell from blocking a cline?

I have a table with four columns that group into two larger columns. I am using the package tabularx. When I input \cline{2-5} to place a line above those columns, it is visible when the table is ...
Mitchell Redd's user avatar
3 votes
2 answers
88 views

In a nested multicols environment, how to only set the most inner one has separation ruler?

My question is a dual to This one. In a pair of nested multicols environments, I want the inner one to have separation rules, i.e. the "checks" in the following mwe: \documentclass{article} \...
Asigan's user avatar
  • 209
3 votes
1 answer
91 views

Remove vertical line between two cells in a LaTeX longtable

I use this code in LaTeX to make a table: \begin{center} \begin{longtable}{|c|p{0.08\linewidth}|p{0.08\linewidth}|} \hline \multirow{3}{*}{Text O} & \multicolumn{2}{c|}{\multirow{2}{*}{...
Tari's user avatar
  • 31
2 votes
2 answers
115 views

pgfplotstable: Change to multicolumn row depending on input data

Let's say I have a huge amount of data rows structured in a simple .csv and these data rows could be divided in different data types. In the MWE I just added two types (typA & typB). In case the ...
PascalS's user avatar
  • 750
1 vote
2 answers
53 views

How to color Multicolumn and Multirow correctly

i am new to LaTeX and i need to create a specific Table. It is important that the top topics in the left column are coloured grey. Because these are cells that consist of several rows, it is difficult ...
alpa's user avatar
  • 21
1 vote
2 answers
136 views

Error while using \cline

for a certain table layout, I am forced to use \cline, but I keep encountering errors and I can't find the cause. Existing forum posts that have similar problems could not help me with my problem. I ...
alpa's user avatar
  • 21
0 votes
0 answers
38 views

xltabular and multicolumn not working well

I have a table in my document that gives me headaches. I'm sure there is a simple fix, but I cannot find it! I want to generate a table using xltabular, with three columns and five rows. The last two ...
Jan Geier's user avatar
3 votes
4 answers
448 views

Table within a table

I am having trouble with this table that I originally made in Excel There are two things that I am having trouble with: Setting up the borders just for the bottom right Making sure that "Trust ...
YouLocalRUser's user avatar
0 votes
1 answer
50 views

text flow across multiple columns

Relatively new to Latex. Trying to move away from WYSIWYG Desktop Publisher Scribus. I need help getting text to flow from one designated column to another. The equivalent of text-frame links in DTP. ...
Iohann's user avatar
  • 1
1 vote
3 answers
47 views

Create mutlicolumns and multirows simultaneously

I want to create several columns and rows simultaneously. I found different approaches (\Block or nested \multicolumn in \multirow) but they did not work for me. (Especially because the examples did ...
Fantastic MsFox's user avatar
2 votes
1 answer
22 views

Table formatted incorrectly, partly missing border

Anybody have any ideas how I can fix this table: - \begin{tabular}{ | p{4cm} | p{1.5cm}| p{1.5cm} | p{1.5cm} |l|} \hline Dataset and Section & MRR@1 & MRR@5 & MRR@10\\ \hline \...
Colin's user avatar
  • 85
2 votes
1 answer
74 views

Mixed NiceTabular, MultiRow, Multicolumn, Alignments problems and Missing $

I love the way Latex looks, but sometimes, it's a nightmare to sort things out. I am trying to make a table, and I am at his point. At first, I tried to create the table using "tabular", but ...
Alberto Gonzalez Berrio's user avatar
2 votes
2 answers
149 views

Multicolumn & Multirow leads to an unwanted vertical line

What I wanted to get: What I'm getting: Minimum Working Example: \begin{longtable}{ | l | p{7cm} | l | p{6.5cm} | } \hline \multicolumn{2}{|c|}{\multirow{2}{*}{Índice}} & \multicolumn{2}{|c|}{...
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar
1 vote
2 answers
62 views

How can write a long text as cell colspaned content of a table?

I have a problem with creating the following table: I wrote this code which creates the following table instead of the one above. \newcolumntype{Y}{>{\centering\arraybackslash}X} \renewcommand{\...
Lucas Morse's user avatar
1 vote
2 answers
78 views

Vertically align advanced longtable on only one cell on a specific column and row

I'm trying to develop a bit complex LaTeX longtable I already achieved most of it but I wanted to know besides the help that I want if what I'm doing is the best way or if there isn't a simpler or a ...
biscoito's user avatar
0 votes
1 answer
27 views

LuaLaTeX pdf: Labelled equations in a two columns not working

Trying to get this to come out as two columns of labelled equations however, I've got misaligned columns vertically. Does anyone know how to fix it? \documentclass[11pt]{article} \usepackage{...
Will Duke's user avatar
1 vote
2 answers
53 views

How to add vertical row space, when the content in multicol is on more than one line, in tabularx environment?

I am trying to manually add vertical row spacing using the xltabular environment. But when I try to use the multicol to write a paragraph which goes on to 2 or 3 lines, my method of manually adding ...
NamikazeMinato's user avatar
1 vote
1 answer
95 views

Troubles with supertabular

For my personal documentation, I have been using latex for a long time but as usual, I encounter difficulties with tables. I mainly adopted supertabular because I can easily adapt the management of ...
PhLinuX's user avatar
  • 13
1 vote
1 answer
60 views

Multicolumn table: coefficients start a new line

This is my Latex code for the regression table I want to create. As you can see when pasting it, the coefficients for Columns 9-12 create a new line and thus everything starts to be misaligned. Any ...
tryingtogetsmth's user avatar
0 votes
1 answer
50 views

text of the first line disappears after using rowcolors

\usepackage[table]{xcolor} \usepackage{xcolor} \usepackage{soul} \begin{table*} \rowcolors{1}{yellow!50}{yellow!30} \setlength\tabcolsep{3pt} \caption{Related Surveys Comparison} \begin{tabularx}{\...
Ossama Nazih's user avatar
2 votes
2 answers
106 views

Vertical alignment (centering) not working (multirow, longtable, booktabs)

I am having an issue that I cannot resolve, even after searching online, I apologize as I'm fairly new to Latex and this is basically my first table (which needs to span over multiple pages). As you ...
Mr42's user avatar
  • 23
2 votes
1 answer
85 views

layout issue with tabularx

This is my fsmpic.cls: \NeedsTeXFormat{LaTeX2e} \LoadClass[version=last]{scrlttr2} \RequirePackage[utf8]{inputenc} \RequirePackage[T1]{fontenc} \RequirePackage[ngerman]{babel} \usepackage[scaled]{...
Kompetenzfrosch's user avatar
0 votes
1 answer
32 views

Suppress page-break when a sentence is followed by multi-columns

I am trying to suppress page-breaking when a sentence in a single columned text is followed by a multi-column text. \documentclass{article} \usepackage{multicol} \usepackage{enumitem} \usepackage{...
Yiorgos S. Smyrlis's user avatar
0 votes
0 answers
55 views

Multicolumn with tikz and ext.positioning-plus

ext.positioning-plus extension does not properly position the diagram. It is biased to the right. I am resizing a diagram using resizebox. Can I amend it? https://www.overleaf.com/...
Younghwa Park's user avatar
1 vote
3 answers
100 views

How can I fix this multicolumn to not destroy my table?

\begin{document} \begin{table}[h]{Erstmalig im Inland in Verkehr gebrachte Düngemittel} \caption{Düngemittel Reinnährstoffabsatz von 1995/96 bis 2013/14 (Menge in t)} \resizebox{\textwidth}{!}{...
Lukas E.'s user avatar
0 votes
1 answer
40 views

Adjusting Wide Multicolumn Table to Fit Within Page Margins

I've created a table in LaTeX using the booktabs package, but it exceeds the page margins when compiled. The table uses multicolumns. I need to maintain the readability of the content while ensuring ...
HAITHEM's user avatar
  • 433
4 votes
1 answer
90 views

Latex Table Multicolumn Help

I can't wrap my head around multicolumns in latex. \documentclass{article} \usepackage{booktabs} \usepackage{array} \usepackage{siunitx} \usepackage{rotating} \usepackage[colorlinks]{hyperref} \...
pigeontime's user avatar
0 votes
2 answers
43 views

Vertical specifier in multicolumn

How do I add a white vertical specifier in multicolumn as in the following rows? Is it also possible to have a wider vertical specifier? \documentclass{article} \usepackage{fontspec} \...
Dimitrios Sykias's user avatar
0 votes
0 answers
55 views

How can I format a multicolumn document so a column vertical position is not messed up?

Thanks to the help provided on my question How can I write a LaTex command with 'if'-'then'-'else'? I was able to accomplish that. I still need to adjust some positioning. ...
Daniel Ferreira Castro's user avatar
1 vote
2 answers
81 views

Combining columns and rows in overleaf

I would like to put "U.S. census" in the middle of the given space, and also "GroupA" as well. Currently it's somewhat shifted. How should I combine the rows? \begin{table} \begin{...
snowman's user avatar
  • 41
1 vote
0 answers
29 views

How is it possible that multicolumn cells aren't spanning even the width of one of the columns? [duplicate]

I've created a table where multicolumn cells appear to not even be spanning the width of one of the two columns it was told to, and the adjacent multicolumn cell is spanning more than the two columns ...
Jonathan W.'s user avatar
2 votes
3 answers
111 views

How to use multicolumn and multirow in a table that uses tabular?

From this question I learned how to create a table with labels for the rows and columns. But, I'm still struggling to get this to look exactly how I'd like. I'd like to extend this solution to an ...
underdog987's user avatar
2 votes
2 answers
143 views

Complex table (multicolumn within multirow) how to

I'm trying to construct a table that looks like the following: I know I need to use multirow package in the tabular environment, but I can't figure out how since I couldn't find examples that are ...
ValientProcess's user avatar
2 votes
2 answers
116 views

Aligning table-entries at \pm

I have a table with multiple columns, where the entries have uncertainties attached to them. Is it possible to align the entries at the \pm-sign? \documentclass[12pt, a4paper]{article} \usepackage[...
TylerD's user avatar
  • 123
0 votes
4 answers
88 views

How can I create the following table?

How can I create the following table?
DSPinfinity's user avatar
1 vote
3 answers
54 views

Longtable - Need the cell's width but multicolumns resets \hspace and \linewidth. How can I do?

After hours of investigations, I could narrow-down an issue I have with tables to \multicolumn and what it does with \hspace and \linewidth. As one can see in the MWE below, in a normal cell, both \...
ChrisAga's user avatar
  • 205
1 vote
1 answer
254 views

moderncv, using \cvskillentry twice in one row

Tried to shorten the moderncv template by putting two skillentries in one row with minipage and multicols. The two columns are not on the same height and there is currently an \hfill after ChemCAD ...
dc'dt's user avatar
  • 48

1
2 3 4 5
27