Questions tagged [cellspace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Is hvfloat incompatible with mathtools and cellspace?

I notice strange interaction between the hvfloat package and the cellspace and mathtools packages. It happens when I want to split an image (png or pdf) on two pages via the command \hvFloat[...
user avatar
  • 313
-1 votes
1 answer
39 views

How to adjust the cell width in a table and avoid gaps?

\begin{table}[H] \centering \caption{Comparison of liquid level in the tank using various methods for given input parameters} \label{tab5} \resizebox{\textwidth}{!}{ ...
user avatar
1 vote
2 answers
61 views

How to change vertical cell spacing?

How to change vertical cell spacing with tabular in the first row of the next table? \documentclass{article} \usepackage{siunitx} \usepackage{cellspace} \setlength\cellspacetoplimit{25pt} \setlength\...
user avatar
  • 11
1 vote
1 answer
39 views

space above and below the text within a cell in a table

In the following simple table: \documentclass{scrbook} \setcounter{secnumdepth}{0} \usepackage[table,x11names]{xcolor} \usepackage{graphicx} \usepackage{geometry} \usepackage[T1]{fontenc} %\...
user avatar
0 votes
0 answers
257 views

How do I suppress the warning "Command \@endpbox has changed." caused by loading the cellspace package?

Here is my MWE (LuaLaTeX): \documentclass[% % draft, twoside, DIV=15, % division factor BCOR=12.5mm, % binding correction ]{scrbook} % 11pt, a4paper (default) \usepackage[ automark, % footheight=18pt ]...
user avatar
1 vote
2 answers
96 views

How do I change the space for specific cells in longtable

Please could you help me with the following code (below)? The last column of the text for the first study has a long text and I would like to squeeze it within the cell space or perhaps space the ...
user avatar
  • 43
1 vote
0 answers
24 views

How to fix the font size or cells size in tables [duplicate]

i want to fix the font size or cell size to do the table looks better. My code is as follow: \begin{table} \centering \begin{tabular}{>{\centering}p{0.17\textwidth}p{0.18\textwidth}p{0.18\...
user avatar
1 vote
3 answers
78 views

The cellspace package doesn't work when an array cell contains \left(...\right)

I have this MWE: \documentclass[a4paper]{article} \usepackage{amsmath} \usepackage{mathtools} \usepackage[math]{cellspace} \setlength{\cellspacetoplimit}{5pt} \setlength{\cellspacebottomlimit}{5pt} \...
user avatar
  • 921
4 votes
2 answers
231 views

Center vertically and horizontally content of cells in a table

I have an issue about the vertical and horizontal centering for the content of each cell in a table. Ideally, I want a fixed padding for each cell. Below the curent result : As you can see, the ...
user avatar
3 votes
1 answer
460 views

Formatting table cell top and bottom margin

I would like to wrap the table in an environment, so that the table in-cell margins are reset and/or I have control over them. It seems fancyhr is making this impossible to do, with the following ...
user avatar
  • 177
6 votes
2 answers
73 views

Weird huge row height when using cellspace on p-column type with empty cell

When using this code, all is OK: \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{cellspace} \begin{document} \begin{tabular}{|c|S{p{1cm}}|} \hline ...
user avatar
  • 1,868
1 vote
2 answers
38 views

Additional space in table cells when using multicolumns

How can I left-align all values in the column T=10? \begin{table} {\def\arraystretch{1.4}\tabcolsep=4px \begin{tabular}{ccccc} \hline \multirow{2}{*}{Class} & \multirow{2}{*}{...
user avatar
  • 11
1 vote
2 answers
196 views

makecell causes wrong alignment

I got the following simple table, for which I am using makecell for nice spacing. But the alignment of multicolumn in the first row is somehow wrong. It should be left aligned, but is centered. For ...
user avatar
  • 393
0 votes
1 answer
66 views

Cellspace package problem

I have a table with pictures and want to center them vertically and horizontally in cell. I used \cellspacetoplimit and \cellsapcebottomlimit for that and I'm inserting them with custom command \...
user avatar
1 vote
1 answer
160 views

cellspace: Package array Error: Illegal pream-token (\ecolumn): `c' used. \end{tabularx}

How to fix the error Package array Error: Illegal pream-token (\ecolumn): `c' used. \end{tabularx} when using the column specifier O for the following? \documentclass{exam} \usepackage{...
user avatar
  • 8,789
4 votes
3 answers
606 views

Colored tables with booktabs, makecell and cellspace

While experimenting with different table-packages, I realised, that each package basically stands for itself and often lacks in compatibility with other great packages. So I tried to create a table ...
user avatar
  • 1,002
0 votes
1 answer
140 views

Specific-length vertical padding in table (with text wrapping, alternating row colors, and specified widths)

I'm trying to create fixed-width (i.e. spanning the whole \textwidth) tables, with alternating row colors and arbitrary alignments (horizontal and vertical), that have evenly-spaced specific-length (i....
user avatar
  • 103
1 vote
1 answer
67 views

Override table cell horizontal alignment with cellspace

Consider this example: \documentclass{article} \usepackage{makecell} %\usepackage{cellspace} ...
user avatar
  • 6,883
1 vote
1 answer
359 views

Get single cell borders to have their own colors

I have following table in LaTeX: \documentclass[]{article} \begin{document} \begin{center} \begin{tabular}{r *{10}{| c}} \cline{2-9} 1 & & & & & & & & \...
user avatar
  • 113
2 votes
1 answer
365 views

Custom cell spacing in longtable

Is it possible to define custom cell spacing in longtable? Example: \begin{longtable}{|>{\RaggedRight}p{8cm}|>{\RaggedRight}p{8cm}|} ... one & two\\ three & four\\ five ...
user avatar
  • 371
1 vote
1 answer
331 views

Collision between `siunitx`, `cellspace` and the letters 'd' and 'e'

The following code fails to compile. It can be made to compile by any of the following changes Removing \usepackage{siunitx} Removing the S from from the tabular column specifiers Replacing the d in ...
user avatar
  • 267
6 votes
2 answers
864 views

cellspace, tabularx and siunitx: column specifier "CX" doesn't work

please, consider the following two mwe-s: the first: \documentclass{article} \usepackage{siunitx} \usepackage{cellspace} \setlength\cellspacetoplimit{5pt} \setlength\cellspacebottomlimit{5pt} \...
user avatar
  • 255k