Questions tagged [cell]
The cell tag has no usage guidance.
124
questions
1
vote
0
answers
31
views
How do I break the text in a table-cell? [duplicate]
I am using Tufte book. For the table below, I want to add a line break in the first column. I want "Nr. of transactions" to be in one line and "pre-processing" on the second line. ...
0
votes
0
answers
37
views
Is there a way to automatically set the cell width to achieve the shortest table within the page?
I want to automatically set the cell width to allow the table height to be kept minimum. There might be 2 or 3 lines of text in a cell, so this is no problem if the table height is the minimum in such ...
0
votes
0
answers
19
views
Set the width of \TextField to the width of the table width
I want my \textfield width to fill the width of the table. For now I have this:
\documentclass[a4paper,2pt]{article}
\usepackage{hyperref}% load last unless you know a package should be loaded later
\...
2
votes
1
answer
90
views
How I can add color arrows in a table cell?
I would like to replace each + and - with green and red arrows, respectively, in my table like table below:
My table code:
\begin{center}
\begin{tabular}{ |c|c|c| }
\hline
50 & 30.5 & +19....
0
votes
1
answer
50
views
How to add company logo to the merged cell of table?
I am making a CV and in experiences section, I would like to have a logo (normally a small image) before the designation and the company name. This logo must be in the merged cell of first raw second ...
1
vote
1
answer
36
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}
%\...
0
votes
2
answers
47
views
Why is the line alignment off between the first and second column in this table?
The line alignment between the first column is off. The cells in the first column start a line higher. I use overleaf, and I have tried to make a minimal example below.
\documentclass{article}
\...
1
vote
2
answers
39
views
beamer: uncover table by row when number of cells is not constant
The first row of the table has one cell, but the second row has 2.
\documentclass{beamer}
\RequirePackage{array}
\begin{document}
\begin{frame}
\begin{tabular}{|c|c|}
\cline{1-1}%
a \\ \cline{1-2}%
\...
3
votes
2
answers
53
views
Long arrow into a twocell diagram
Through the code:
\documentclass[12pt,a4paper]{memoir}
\usepackage[all,cmtip,2cell]{xy}
\UseAllTwocells
\begin{document}
\xymatrix@R+20pc@C+3pc{
\bullet\ruppertwocell^a{\hspace{....
3
votes
2
answers
47
views
Uniform cell length with centered text in a table where L is the line width, K is the number of cells, and each cell is L/K long
I'm trying to recreate this table. I would brute force the width with p{kcm} where k is just some number. But the text is not centered. I have tried many other solutions. But none of the work. And ...
0
votes
0
answers
47
views
Left-align text on table cells
I am doing a weekly schedule inspired in this post but with my own modifications. I am having problems when justifying the time slots.
My latex output is (code at the end of the post):
As you can see,...
2
votes
4
answers
69
views
I want the sentence (number of IRS Elements to be fit inside the cell)
\begin{table}
\centering
\renewcommand{\arraystretch}{1.5}
\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|}
\hline
\multicolumn{1}{|c|}{} &\multicolumn{11}{|c|}{Number of Users / Number ...
1
vote
2
answers
234
views
tabularray individual cell colouring
I am attempting to colour specific cells in a table. I have tried recommendations such as color only a cell of a table and Efficiently colouring block of table cells, but when I try the code, only a ...
1
vote
1
answer
62
views
Settings for individual cells in nicematrix
The MWE is:
\documentclass{article}
\usepackage{nicematrix}
\begin{document}
\begin{NiceTabular}{X[2,l]X[r,m]}[hvlines, cell-space-limits=5pt, width=0.5\textwidth]
text 1 & text 2 text 2 text 2\\...
2
votes
2
answers
56
views
Aligning text/cells in a table within a specific separator
I'm doing list of MAC addresses. I have used tables, but I don't know how to manage the space (before or after) the hexadecimal value.
For one device the different MAC addresses are not properly ...
0
votes
1
answer
54
views
How to center text on multiple row within table?
I have produced the following table:
By using the following code:
\begin{table}[H]
\centering
\caption{Dati principali del velivolo \texttt{Lockheed C-130J Hercules}.}
\begin{tabular}{...
5
votes
4
answers
512
views
Lines between array cells
I'm looking for a natural way to selectively add horizontal and vertical lines between the cells of an array.
Here is an example.
+-----------+
| A B C | D E
| +-------+
| F G ...
1
vote
3
answers
78
views
\cellcolor overrides borders even with \hhline, how do I fix?
Here is a minimal working example of my code. When I compile it using overleaf online TeX editor I get the expected result and everything works fine, while when I compile it using texstudio here is ...
1
vote
1
answer
69
views
Package diagbox ruins my \hline
Preamble:
\documentclass{article}
\usepackage[a4paper, total={190mm, 280mm}]{geometry}
% Greek
\usepackage[LGR, T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[greek]{babel}
\usepackage{...
1
vote
1
answer
84
views
Adjusting the table width with the page width and defining cell width at the same time
I am writtng a text in LaTeX and I need to insert a big table in it. As it is quite wide and I wanted to ajust it to the page width, I used the \begin{adjustbox} command. However, I have a problem ...
0
votes
1
answer
27
views
Centering a table in a cell of an other table
I have this table:
\documentclass[10pt,conference]{IEEEtran}
\usepackage{pgfplots}
\usepackage{tikz}
\pgfplotsset{compat=newest}
\usepackage{cite}
\usepackage{newtxtext,newtxmath}
\usepackage{...
0
votes
0
answers
32
views
Colouring individual cells [duplicate]
I would like to colour individual cells of a table based on quantity. For example if the cell value is <5 then the colour should be green. if >5 but less than 10 should be orange, and red for if ...
1
vote
2
answers
49
views
Full width row on a tabular - cell occupying multiple cells
I am trying to recreate this table on Latex:
but I can't figure out how to have a cell occupying three cells instead of just one (for the Tritanomaly percentage entry for example).
This is the best ...
2
votes
1
answer
67
views
unwanted black background generated in first cell of table
I know there's already been a similar question, but I still can't solve this problem by myself...
Following you find my preamble:
\documentclass[12pt, a4paper, oneside, BCOR=12mm, DIV=18, parskip=half,...
2
votes
1
answer
41
views
Image inside a cell
I am inserting several images inside cells of a table, but instead of readjusting the height of the cell, the figure gets overlapped with some horizontal lines, and I don´t know how to fix it.
My ...
0
votes
3
answers
70
views
How to horizontally center text inside cells
I´ve been trying to align horizontally the text inside the left-side cells and I couldn´t make it.
Here is my preambule:
\documentclass[12pt]{article}
\usepackage[letterpaper, left=2.4cm, right=2.4cm, ...
0
votes
0
answers
195
views
Importing Excel cells into LaTeX
I'm doing my first project in Latex and I needed to retrieve values from an Excel file. I don't want/need to import the whole file but I need to reference some cells.
I would need to do something like:...
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}{*}{...
0
votes
1
answer
254
views
Adjust row height and cell text - Latex
I'm trying to create table in Latex like this;
\begin{table}[h|]
\begin{center}
\begin{tabular}{cccc}
& & \multicolumn{2}{c}{\large Actual Values} \\
& & Positive ...
0
votes
1
answer
25
views
Have found how to break multi-page table within row to the next page but need help to add horizontal lines on the top and the bottom rows
It's related to my previous question. I need to break a large row of the table containing many sentences and lists. I'm very excited when i found this : Credit link. Now, my problem is i can't add ...
1
vote
1
answer
63
views
Create a minimalistic grid/table showing interaction between two things
Is there a way to create the following minimalistic-looking grid/table?
The grid should have thick lines.
The cells should be write-able.
There should be a label denoting the name of the "...
4
votes
2
answers
111
views
Diagbox line issues with cell height
I tried various solutions posted here but I can't find the appropriate one to solve my issue. I have a long text header in the second column that is affecting the diagonal line and celle height in the ...
7
votes
3
answers
159
views
String of hexadecimal numbers don't align properly in tabular cell
The code below
\begin{tabular}{ |c|c|c| }
\hline
$C_2$ & B5 6E 2C D4 F3 12 57 3E 8C 8C 1A 77 A3 EE C3 41 \\
$P'_3 \xor P_3$ & 00 00 00 00 00 0F 00 03 00 00 00 00 00 00 00 ...
2
votes
2
answers
44
views
Problems of Making Multiple Multirow Table
I want to write a table, here is my code:
\documentclass{article}
\usepackage{bbm}
\usepackage{amsmath}
\usepackage{multirow}
\begin{document}
\begin{table}
\caption{Tipe opsi barrier.}
\begin{...
3
votes
2
answers
280
views
Fix table cells width and alignment
hope you all feeling well and safe
please help with the code below, the issue is with the cell width of last 3 column (3rd row onward), I want them to have similar width. please find attached code ...
1
vote
0
answers
45
views
How to align a rotated text to left in multirow cell?
I am working on Springer template, I created a tabularx table which contains rotated multirow cells. this is the table which I create it:
I want to align all the rotated columnrow to left, and the ...
1
vote
2
answers
498
views
How to fix the width of columns in tabularx table?
I am working on Springer template, I want to create a tabularx table and I to fix the width of the columns. I work on landscape page and I want create a table like that table which contains 34 columns:...
1
vote
1
answer
56
views
How to convert a tabularx table into longtable in twocolumn class?
I have created a table. I used template of springer which has a \documentclass[twocolumn] class. the table is shown in the following figure:
my code :
\documentclass[twocolumn]{svjour3}
gsave
...
1
vote
1
answer
94
views
How to create that table? [closed]
I used a code, I have a table which created by using tabularx, but the problem is that, I want to create that following table by using tabularx and using textwidth, where the value of the first column ...
1
vote
4
answers
153
views
How to use multirow in multicolumn to merge a tabularx cell
I used a code, I have a table which created by using tabularx, but the problem is that, I want to create that following table by using tabularx and using textwidth
I wont change the structure of my ...
1
vote
1
answer
264
views
How to put a text in a center of a tabularx cell in Latex?
I used a code, I have a table which created by using tabularx, but the problem is that, I want to remove the word MADM into center of cell, and the head text into the center too, but I won't change ...
1
vote
2
answers
347
views
How to fix the width of a tabular column by using weights in latex and active the auto-break lines?
I have created a table. I used template of springer. I want to fix the width of my table by using the weights option, but I don't know how to do that. I used textwidth but no positive results.
This is ...
1
vote
1
answer
42
views
How can I let a small size between the text in a table cell and the above line?
I have created a table, and I have fixed its width, the problem is that I want to let a small space between the text in a cell and the above table line because they very close, look at the space ...
0
votes
0
answers
41
views
How to fix the size of a latex table without breaking the width of page?
I have created a table, and I have fixed its width, but the problem when the width of my table is bigger than width of the page, If I changed the size of table the lines will break up the lines of my ...
1
vote
1
answer
190
views
How to enable the automatic line breaks in table and forced the text to break?
I have created a table, and I have fixed its width, but the problem when I write a long text, the text breaks the line, I want to add an automatic line break when the text should respect the width of ...
0
votes
1
answer
60
views
macros in latex table
I can't compile the file, and how can I insert macros in a table cell in LaTeX?
\begin{tabularx}{\textwidth}{|X|X|}
\hline
1&2\\
3&4\\
5& \nanName -(my macros)\\
\hline
\end{tabularx}
3
votes
1
answer
440
views
How to add the automatic line-break in multicolumn cell
I have created a table, and I have fixed its width, but the problem when I write a long text, the text breaks the line, I want to add an automatic line break when the text should respect the width of ...
0
votes
0
answers
49
views
How can I insert a itemize in a table-cell and keep the shape of the table
I have created a table, and I have fixed its width, but the problem is that when I tried to add \itemize in cell, the distance between the first word of the item and the above line is different from ...
1
vote
2
answers
1k
views
How to center a rotatebox table-cell?
I have created a table, and I have fixed its width, but the problem is that when I rotate the text of the cell by using \rotatebox, the text did not place in the center of the cell. who can I change ...
0
votes
1
answer
110
views
How to enable the automatic line breaks in LaTeX and forced the text to break?
I have created a table, and I have fixed its width, but the problem when I write a long text, the text breaks the line, I want to add an automatic line break when the text should respect the width of ...