New answers tagged

2 votes
Accepted

vertical alignment of a tkzpicture in a longtable cell

This places the baseline corectly for both \someset and \smallset. \documentclass{report} \usepackage{tikz} \usepackage{longtable} \begin{document} % define a square with text \def\sqs{2.6cm} \...
John Kormylo's user avatar
  • 79.8k
1 vote

Longtable: White stripes in colored multirow cell

These thin white lines appear in some PDF viewers. More precisely, they appear in the PDF viewers which use the PDF renderers PDF.js (eg: Firefox, DropBox, Papeeria) or MuPDF (eg; SumatraPDF). They ...
F. Pantigny's user avatar
  • 40.5k
1 vote

Longtable: White stripes in colored multirow cell

You code could be simplified a lot with tabularray: \documentclass{article} \usepackage{geometry} \usepackage[spanish]{babel} \usepackage{xcolor} \definecolor{myorange}{HTML}{FABF8F} \definecolor{...
CarLaTeX's user avatar
  • 62.9k
0 votes

How to get a footer line in a longtable

\begin{longtable}[htbp]{|c|| c|| c|| c|| c|| c|| c|} \caption{Mô tả bảng dài với nhiều số liệu} \label{tab:chap3-longtable-example} \\ \hline \hline {Data} & {$\beta_{UP}$} & {$ \...
Nguyễn Hồng Sơn's user avatar
1 vote

Bold caption-tag in tabularray table

Another way to use caption captions in longtblr and talltblr environments is with the small package tblr-extras (available in TexLive and MiKTeX since Feb 2024) \documentclass{article} \...
Mane32's user avatar
  • 1,437
0 votes

`hhline` adding a strange vertical line distortion

With {NiceTabular} of nicematrix (which uses PGF/TikZ to draw the rules). \documentclass{article} \usepackage{nicematrix} \begin{document} \begin{NiceTabular}{lllll} \Block[draw]{*-*}{} \Block{1-2}{...
F. Pantigny's user avatar
  • 40.5k
2 votes

LaTeX table - Multirow Issues

It's not very clear to me what you what to achieve, but here is my solution with tabularray: \documentclass{article} \usepackage{geometry} \usepackage{tabularray} \begin{document} \begin{longtblr}[ ...
CarLaTeX's user avatar
  • 62.9k
1 vote

LaTeX table - Multirow Issues

I came up with something like this: \documentclass{article} \usepackage{longtable} \usepackage{multirow} \begin{document} \noindent \begin{longtable}{| l | p{5cm} | p{7cm} |} \hline & \...
Pieter van Oostrum's user avatar
2 votes

decrease table wrapped text spacing

If you are going to change \baselinestretch, it is probably better to use setspace so you have ready-made means to alter it and some of the side-effects are mitigated for you. However, you should know ...
cfr's user avatar
  • 199k
3 votes
Accepted

decrease table wrapped text spacing

The cells display the required line space since you set \renewcommand{\baselinestretch}{1.5} (I hope you didn't do that only for the table, otherwise you should better use \renewcommand{\arraystretch}{...
jlab's user avatar
  • 2,136
4 votes
Accepted

advice and suggestions for table styles

I suggest that you not use \diagbox; instead, just place the label "IDs" in a line above the 10 data columns. \documentclass[12pt]{report} \usepackage[letterpaper,margin=1in]{geometry} %% \...
Mico's user avatar
  • 507k
3 votes

Multicolumn & Multirow leads to an unwanted vertical line

With tabularray. You didn't show which document class you're using. Please note that, given its column width, your table goes out of the border, with an ordinary article class. \documentclass{article} ...
CarLaTeX's user avatar
  • 62.9k
3 votes
Accepted

Multicolumn & Multirow leads to an unwanted vertical line

There are two, separate issues with your longtable environment: double-thickness vertical separator line in row 1 unwanted vertical separator line in row 2 To fix the first issue, change \...
Mico's user avatar
  • 507k
1 vote
Accepted

beamer frame label option prevents longtable table to split and shows only the first frame of the longtable

This has already been fixed in the beamer dev version, thanks to @amonakov: https://github.com/josephwright/beamer/commit/52b35206589348124588696e6b710e092e2267ba It should be included in beamer v3.72 ...
1 vote
Accepted

Longtable alternatives

Have you tried the recipe that AP7 gives (copying the file APA7endfloat.cfg)? If you do, it works. I would advise to use \multirow{<n>}{=} instead of \multirow{<n>}{\linewidth}, because ...
Pieter van Oostrum's user avatar
1 vote

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

Here is another solution based on the original longtable solution in the question. I did the vertical centering with the multirow package. The disadvantage is that you must manually specify the number ...
Pieter van Oostrum's user avatar
2 votes
Accepted

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

NOTE: Improved solution based on the remarks of the OP below. Here is a solution with the package tabularray \documentclass{article} % Packages \usepackage{xcolor} \usepackage{plex-sans} \usepackage{...
Pieter van Oostrum's user avatar

Top 50 recent answers are included