Questions tagged [hhline]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
39 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'...
Mew's user avatar
  • 833
11 votes
1 answer
611 views

How to create an active tilde in LaTeX 3

I have some LaTeX3 code that generates matrices and uses the hhline package internally. In LaTeX3 the ~ character is a special character, used for inserting spaces in strings, and using \c_tilde_str ...
314159265358979323's user avatar
2 votes
1 answer
128 views

Horizontal tabular borders and `\arrayrulecolor` in beamer

When I tried implementing this answer in a previous question, I discovered a problem involving horizontal tabular borders and \arrayrulecolor. \documentclass{beamer} \usepackage{booktabs} %\cmidrule \...
user338955's user avatar
1 vote
1 answer
63 views

How to connect the broken double line?

I have the following table \begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}|ccccccc|} \hline \multicolumn{1}{|c|}{} & \multicolumn{3}{c|}{} & \multicolumn{3}{c|}{} \\ \hline \...
Ynjxsjmh's user avatar
  • 113
1 vote
2 answers
63 views

Problems in table using \hhline

Consider the following MWE \documentclass{standalone} \usepackage{multirow} \usepackage[table]{xcolor} \usepackage{hhline} \newcommand{\firstrow}[1]{% \multicolumn{2}{|c|}{\cellcolor{blue!25} #1} } \...
brad's user avatar
  • 517
0 votes
1 answer
74 views

hline does not show up in the output

I have some long and large Microsoft word tables that I have to fit in my LaTeX document. I converted them with the Libreoffice extension, and it was easy enough. The most difficult part will be to ...
Fabio Campanile's user avatar
0 votes
1 answer
62 views

Creating a table with a vertically separated header row and \hhline produces horizontal line distortion

I want to create a table which marks some cells either with $\times$ or they simply stay empty. I have two header rows of which I would like to separate the first header row visually. I use \hhline{~==...
Lms24's user avatar
  • 3
2 votes
1 answer
128 views

hhline erases table border

I have created a colored table, and I have a problem with \hhline. As you can see in the picture below, the hhline overwrites the left border of the table. How can I fix that? (using cline is not an ...
NickG's user avatar
  • 193
2 votes
2 answers
218 views

Color when using Multicolumn and Multirow

I've used a tool to produce a rather complex table that uses multiple instances of multi-row and multi-columns. I want to color some of the multicolumns, but when I do so, a thin white line appears ...
Ido Shdaimah's user avatar
1 vote
2 answers
96 views

Using \hhline to draw double divider lines between rows in table, but how to not start from the beginning?

So the current table looks like this, in which I add \hhline{|=|=|=|=|=|=|=|=|=|}, however, I would like there isn't a double divider on top of "Method". I tried \hhline{=|=|=|=|=|=|=|=|=|} ...
LGDGODV's user avatar
  • 263
2 votes
2 answers
57 views

xcolor `table' options clears part of the hhline command output

When I use table option for xcolor package or use colortbl package, it clears part of the hhline (red border in below picture)! How can I fix this problem? When I remove table option, the output is ...
Bahman Mirzakhani's user avatar
3 votes
2 answers
138 views

A small aesthetic problem in tables: conflict between \ cellcolor and \ cline commands

As you can see in the example below, the partial horizontal lines, for which I have used "\cline", are overwritten by the gray shading with "\cellcolor". I have seen several ...
Jesús Álvarez Lobo's user avatar
1 vote
2 answers
301 views

How to draw a double horizontal line after head in all longtables?

I want to create a latex style, which would enable to draw a double horizontal line after longtable heads automatically. An important point I already have a lot of documents which contains longtables ...
Shalom Alecheim's user avatar
0 votes
3 answers
153 views

Misplaced \noalign with hhline

I have the following table: \begin{table}[h!] \caption{\textls[-15]{Results of GAN image detection tests for digital (left) and printed and scanned images (right). Best results are highlighted in ...
mad's user avatar
  • 317
1 vote
1 answer
127 views

How can Delete the repated Hline in longtable?

When I write a longtable I get a double horizontal line as shown in pictute: the code is : \documentclass{article} \usepackage{longtable} \begin{document} \begin{longtable}[htb]{p{0.22\linewidth}p{0....
Ayad M.'s user avatar
  • 11
2 votes
2 answers
126 views

How to constrain hline of double line table border to inner border?

I want to keep the horizontal line of this table to the inner border of a double line table. Is this possible? I'd like to prevent the line from extending to the outer border as highlighted in the ...
John's user avatar
  • 269
0 votes
0 answers
102 views

\hhline disconnects my vertical line on top

I created a table, where I wanted a double horizontal line, so I used \hhline \begin{table}[ht] \begin{tabular}{|l|l|} \hline \textbf{Message} & \multicolumn{1}{c|}{\textbf{Description}} ...
Sam's user avatar
  • 1
3 votes
2 answers
191 views

My `tabular` env has an extra dot in it [duplicate]

This table is meant to have three sections that appear to float: the top row, the left column, and the body. This is what I have so far. While it mostly works, there is a dot in the top-left corner ...
Someone's user avatar
  • 519
2 votes
2 answers
1k views

I can't change \hhline color with \arrayrulecolor{}

I have created a table with tabular and cellcolor, and you know what hapends: the cell color overlap the border. I have found that this is often solved with hhline. In order to change the color in ...
franarx's user avatar
  • 31
2 votes
3 answers
387 views

Color cell incomplete in coloured columns LaTeX and hhline details trouble

I have a problem with my table in LaTeX. A few of cells doesn't fill well. I used the package "makecell" to do multirow and define new types of columns instead colortbl package (because I ...
user221144's user avatar
0 votes
1 answer
190 views

hhline unexpected behavior with \setlength\arrayrulewidth when using - or = lines

I am trying to make place some bold & colored borders around certain cells in a longtable using hhline and multicolumn. I noticed that \setlength\arrayrulewidth has different behavior though if ...
Anna Nevison's user avatar
2 votes
1 answer
54 views

a bug with calc and ehhline together

Days before, I was dealing with the problem of drawing horizontal lines between colored multirow cell with \hhline. I tried two method and took the second at last. But I found there is a bug in the ...
ZhiyuanLck's user avatar
  • 4,446
1 vote
2 answers
913 views

Draw colored dash line in table

I am trying to draw colored dash lines in table. Here is the code. \documentclass{article} \usepackage[table]{xcolor} \usepackage{dashrule} \usepackage{ehhline} \newcommand{\mycdl}[4]{\leaders\hbox{\...
ZhiyuanLck's user avatar
  • 4,446
0 votes
1 answer
336 views

Fill mutirow cell when the horizontal lines are drawn with \hhline

When I fill the multirow cell whose horizontal lines inside the cell are drawn with \hhline{~}, there will be blanks, I try to fix it by >{\arrayrulecolor{gray}\doublerulesepcolor{gray}}=, but the ...
ZhiyuanLck's user avatar
  • 4,446
0 votes
0 answers
723 views

hhline thickness and line extension

AS shown in the MWE below, I am using hhline instead of cmidrule to draw horizontal lines along specific cells in a table. I have 2 queries: First, how can I remove the white extension of the hhline ...
Silva's user avatar
  • 743
1 vote
1 answer
659 views

hhline vertical line color changes

How to change highlighted portion of vertical line black or different color of each vertical line in the cell using hhline? Please find MWE file: \documentclass{book} \usepackage{colortbl} \...
Rajesh N's user avatar
  • 829
0 votes
1 answer
318 views

Vertical line tabularx too long

I've seen this answer, and I've tried to reproduce it. My goal is to have all the table borders red and some of them thick. But the 2 first vertical lines span beyond the last horizontal rule, and I ...
3isenHeim's user avatar
  • 2,097
0 votes
0 answers
57 views

Need to reduce hhline horizontal rule space in left side

How to reduce specific horizontal rule length in the second column using hhline package? Yellow line in the second column, left side rule width need to reduce. \documentclass{book} \usepackage{...
Rajesh N's user avatar
  • 829
0 votes
1 answer
289 views

How to make \hhline work with longtable's \\*

longtable provides \\* which can prevent the pagebreak, and longtable redefines \hline to support this function. Then, multirow enhances \cline to support that function. One can use package option "...
muzimuzhi Z's user avatar
  • 25.9k
4 votes
2 answers
474 views

hhline drawn over vertical lines in a table

Hi I am quite new to LaTeX and have attempted to put a table together as follows: It is pretty close to what I want but I can't seem to find a way to separate the last three columns with white space. ...
JT1's user avatar
  • 41
4 votes
3 answers
611 views

issue with hhline and cellcolor in table

I am trying to setup a table with \hhline and \cellcolor. After I got it so far, that I don't see \hhlines in the colored cells I am now missing the black \hhlines which should separate the cells. ...
madibat's user avatar
  • 93
1 vote
1 answer
120 views

\hhline only drawing horizontal lines

I cannot seem to make \hhline draw vertical lines between cells. What am I missing? \documentclass[a4paper,11pt]{article} \usepackage{hhline} \begin{document} \begin{tabular}{cc} A & B \\ \...
Tom's user avatar
  • 11
4 votes
4 answers
940 views

How to remove extra black line coming in table due to hhline

Using the code given below, I am getting a black line over the word "Methods" due to hhline. How shall I remove this black line or make it of same color as the background color so that it is not ...
ShJ's user avatar
  • 861
2 votes
1 answer
1k views

How to Remove Horizontal Lines From Colored Multirow Table [duplicate]

I am having some trouble removing the "white lines" from a colored table (where it says 3 and 4). \documentclass{report} \usepackage{wrapfig} \usepackage{colortbl} \usepackage{booktabs} \usepackage{...
TexLover's user avatar
2 votes
4 answers
234 views

Tables, Cellcolor and horizontal lines

I don't understand why my lines aren't showing up or look funny in this minimal example \documentclass{article} \usepackage[table]{xcolor} \usepackage{hhline} \begin{document} \begin{center} \...
MathScholar's user avatar
  • 2,491
0 votes
3 answers
1k views

How to separate row *and* column caption from table content with a little portion of white space?

I actually thought that this question has already been asked but I could not find anything similar to it. I would like to separate the row and column caption from the table content in the following ...
Nemgathos's user avatar
  • 545
2 votes
3 answers
207 views

hhline fails to adhere to entries when using multirow statement

Here's the MWE (I'm using MikTeX 2.9 in combination with TeXworks): \documentclass[a4paper, 11pt]{article} \usepackage{geometry} \geometry{a4paper, portrait, left=2cm, right=2cm, top=3cm, bottom=3cm}...
Hansel's user avatar
  • 407
5 votes
2 answers
2k views

Hline length not filling width of the table

I used siunitx package to align numbers as suggested here. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{siunitx} \title{Test} \date{August 2018} \begin{document} \maketitle \...
Saravanabalagi Ramachandran's user avatar
1 vote
0 answers
216 views

hhline: double vertical line with a partial horizontal line

Here is a MWE of a table with a coloured double vertical line. There is a horizontal border at the top which starts at cell 2, and one at the bottom which stops at cell 2. I am using the hhline ...
dash2's user avatar
  • 184
5 votes
1 answer
582 views

It is strange that \hline can not be as long as tabular*

\documentclass[11pt]{article} \usepackage{multirow} \begin{document} \begin{table}[b] \centering \caption{It's a table I simulated concerned with my question. } \medskip \label{table:...
Lann's user avatar
  • 151
0 votes
1 answer
57 views

2 tables horizontally

how can I have both well organized arrays with the same number of lines and organize the underlining in each part of the array ?? \documentclass{report} \usepackage[francais]{babel} \usepackage[utf8]{...
YounessGI's user avatar
  • 365
2 votes
2 answers
682 views

Misplaced \no align error

I Have a problem when i would to insert \hline at the end of table , i have as error : "Misplaced \noalign \hline->\noalign" \documentclass[a4paper,11pt]{report} \usepackage[T1]{fontenc} \usepackage[...
YounessGI's user avatar
  • 365
3 votes
4 answers
2k views

\hhline overlay \vline in coloured tabular

I'm creating a table containing HTML colour and merged cells. However, some \cline/\hline have not the default \arrayrulewidth. I tried to use \setlength{\arrayrulewidth}{1pt} before \cline/\hline but ...
Firmin Martin's user avatar
1 vote
1 answer
2k views

Table - shorten and center \hline

I am quite new to using LaTeX and StackExchange. I am trying to shorten and center the \hline in this table. I've circled in red the parts of the line that I don't want. Basically, I want the "Start ...
Rohan Potru's user avatar
1 vote
2 answers
668 views

How can I fix the small gaps in \hhline and make it (and double vertical lines) intransparent to particular vertical (horizontal) lines?

Take a look at this table: \documentclass[12pt,a4paper]{report} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{...
Nemgathos's user avatar
  • 545
2 votes
3 answers
696 views

\hhline with || separation in coloured table

I want to create a table like the following. Using booktabs is unfortunately not an option. I need to colour the table header and want to show on which columns the \multicolumns are used. Therefore I ...
Skillmon's user avatar
  • 57.8k
9 votes
2 answers
543 views

How to remove dot in tabular rule when using hhline?

I have a large table which represents a calendar (produced by yplan) and I'm trying to typeset the cell in the top left corner without any rules at all. I've all but solved the rules, but I'm left ...
Richard's user avatar
  • 1,073
7 votes
4 answers
990 views

Are beamer, hhline, and [table]{xcolor} incompatible?

The following example works as expected: \documentclass{article} \usepackage[table]{xcolor} \usepackage{makecell, multirow} \renewcommand\theadfont{\normalsize\bfseries\color{white}} \...
Zarko's user avatar
  • 294k
1 vote
2 answers
1k views

\hhline not working with \multirow and \cellcolor

I am trying to make a table with colored cells and white grid lines, in it there are some cells that cover several rows. The problem is that when I use \multirow and \cellcolor to achieve this, the ...
Camilo Ramirez's user avatar
3 votes
1 answer
252 views

Avoid midrule and hline together at head of supertabular

I assume this is a duplicate but I couldn't find this precise problem here nor in the docs. I am using supertabular to create a long table spanning multiple pages with \midrule after the head and\...
Tim's user avatar
  • 315