中泰铁路合作项目一期首段工程进展顺利
75 questions
3
votes
2
answers
99
views
Why is \rowcolor{} overlapping \hline?
Why is \rowcolor{} overlapping \hline?
I need to keep the vertical lines in the header, but when I put the gray color on the third line, it overlaps part of \hline, hiding the line. How do I solve ...
3
votes
4
answers
200
views
Wrong spacing between cline and text in following row
I need to typeset a table with two features:
Some of the hlines are thicker than others.
Some of the hlines are not spanning over all columns.
The tabular has 6 columns and the hlines with regular ...
3
votes
3
answers
242
views
How to create block matrix
I created this block matrix:
$\left[
\begin{array}{c c c c}
\multicolumn{1}{c|}{A(1)} \\
\multicolumn{1}{c|}{}\\
\cline{1-2}
\multicolumn{1}{c|}{\begin{array}{c|c}
& \Gamma_{2,1} \\
...
2
votes
2
answers
184
views
misplaced \noalign \hline in longtable
I know for a fact that I am not good in LaTeX, I have been trying to improve, so I apologize in advance if there are any super basic mistake or common knowledge that I might be missing on. I was using ...
0
votes
1
answer
69
views
Indentation in tables / fine control over hlines
I would like to achieve an effect that can best be described as "indentation in tables." Consider the following code:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[\begin{...
1
vote
2
answers
169
views
How to draw a partial line on a table excluding a cell
I tried to create a table using the \cline command to exclude a cell containing a multirow, but the line is too thin and when I download the PDF it is not visible at all. What can I do?
\begin{table}
...
2
votes
1
answer
91
views
Tabularray: 2pt hline and vline border to one row causes other row lines to extend beyond table edge
I am working on my thesis and generated a truth table using tabularray. Everything is fine until I add an hline and vline border around the last row of the table: the hlines for all other rows extend ...
7
votes
2
answers
217
views
Break a hline between two slide
sorry if this topic exists somewhere, I didn't find it.
I'm making some slides with beamer and I'm struggling to break a tabular between two slides.
This is the best I can get :
\documentclass[xcolor=...
2
votes
1
answer
141
views
Custom size hline in tabular
How can draw custom size hline to get lines like the ones below M, S, and T?
\documentclass{article}
\usepackage{booktabs}
\begin{document}
\begin{table}
\centering
\begin{tabular}{cccccccccc}
...
0
votes
0
answers
143
views
Strange artifacts with \hhline
I'm trying to use \hhline to draw partial lines in my tables (for which I can't use \cline since my tables contain coloured cells and it is a well-known problem that this combination doesn't work). I'...
2
votes
1
answer
552
views
tabularray: do NOT add a horizontal line after last line on each page in longtblr [closed]
The title says it all.
This is the polar opposite of this question. Whereas lexxie there was dissatisfied with the default behavior of longtable, I need to achieve this very behavior with tabularray.
2
votes
2
answers
403
views
Tabularray. Need a partial vertical line at the beginning of the table
I'm trying to format a table to have an empty space in the first two rows and first column. That means no vertical line at row{1}, but the other must have. Haven't figured out how to do that.
Here is ...
0
votes
1
answer
426
views
How to correctly add a "tabular" table inside a "longtblr" table ? (Issues on table lines and centering)
Problem & MWE
I would like to add a simple tabular table (as described in Overleaf), inside a longtblr table (as proposed/built up by @CarLaTeX in another stack exchange question).
As shown in the ...
2
votes
2
answers
117
views
\hiderowcolors causes \noalign error
Specifically
\hiderowcolors ->\noalign
{\global \@rowcolorsfalse \@norowcolor }
This is my current code (edited to fit requirements). I started using NiceTabular because hlines ...
1
vote
1
answer
116
views
Create a no break cline
I have a LaTeX longtable with joined cells and thus with a cline.
The longtable is automatically generated so I cannot manually insert commands because it would be too much work.
I don't want the ...