Questions tagged [hhline]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 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 ...
user avatar
0 votes
1 answer
25 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{~==...
user avatar
  • 3
2 votes
1 answer
54 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 ...
user avatar
  • 193
2 votes
2 answers
80 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 ...
user avatar
1 vote
2 answers
50 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{=|=|=|=|=|=|=|=|=|} ...
user avatar
  • 213
1 vote
1 answer
39 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 ...
user avatar
3 votes
2 answers
96 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 ...
user avatar
0 votes
2 answers
104 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 ...
user avatar
0 votes
3 answers
100 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 ...
user avatar
  • 297
1 vote
1 answer
53 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....
user avatar
  • 11
2 votes
1 answer
55 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 ...
user avatar
  • 269
0 votes
0 answers
64 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}} ...
user avatar
  • 1
2 votes
2 answers
164 views

My should-be-cool table has a malicious dot [duplicate]

This table is meant to have three sections that appear to float: the to row, the left column, and the body. This is the best I could do; however, when zoomed in near the top-left corner, you can see ...
user avatar
  • 447
2 votes
2 answers
518 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 ...
user avatar
  • 21
2 votes
3 answers
250 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 ...
user avatar
0 votes
1 answer
106 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 ...
user avatar
2 votes
1 answer
48 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 ...
user avatar
  • 4,336
0 votes
1 answer
497 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{\...
user avatar
  • 4,336
0 votes
1 answer
235 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 ...
user avatar
  • 4,336
0 votes
0 answers
71 views

Diagonal hhline

I want to use a diagonal line inside the \hhline{} command for formatting reasons. I want the table to look something like this: _______________________ ...
user avatar
  • 447
0 votes
0 answers
386 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 ...
user avatar
  • 733
0 votes
1 answer
311 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} \...
user avatar
  • 809
0 votes
1 answer
186 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 ...
user avatar
  • 1,955
0 votes
0 answers
45 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{...
user avatar
  • 809
1 vote
1 answer
204 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 "...
user avatar
  • 20.5k
4 votes
2 answers
299 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. ...
user avatar
  • 41
4 votes
3 answers
456 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. ...
user avatar
  • 93
1 vote
1 answer
87 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 \\ \...
user avatar
  • 11
4 votes
4 answers
639 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 ...
user avatar
  • 761
2 votes
1 answer
909 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{...
user avatar
2 votes
4 answers
165 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} \...
user avatar
  • 2,431
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 ...
user avatar
  • 545
1 vote
2 answers
179 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}...
user avatar
  • 387
5 votes
2 answers
1k 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 \...
user avatar
1 vote
0 answers
193 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 ...
user avatar
  • 184
5 votes
1 answer
365 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:...
user avatar
  • 151
0 votes
1 answer
56 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]{...
user avatar
  • 345
2 votes
2 answers
615 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[...
user avatar
  • 345
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 ...
user avatar
1 vote
1 answer
962 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 ...
user avatar
1 vote
2 answers
485 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{...
user avatar
  • 545
2 votes
3 answers
518 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 ...
user avatar
  • 48.7k
9 votes
2 answers
441 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 ...
user avatar
  • 1,073
6 votes
2 answers
806 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}} \...
user avatar
  • 251k
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 ...
user avatar
3 votes
1 answer
220 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\...
user avatar
  • 315
1 vote
1 answer
548 views

Gap under top border of table while using \hhline

I am using the code below to generate a table. But there is some gap after the first border line. It seems the gap will disappear if I change all the \hhline to \hline or \cline in the table. I am ...
user avatar
2 votes
1 answer
99 views

Is there a way to make macros for building this kind of table?

Is there a way to make macros that makes a table like this where the colors changes according to the different cells, even though the first couple of cells are a multirow cell. I need to make 16 of ...
user avatar
2 votes
0 answers
225 views

How to control table page breaking using \longtabu, \multirow, colortbl and \hhline

I have a probably quite specific LaTeX problem using tables, due to the needed specification of the table, which are (mainly): I need support for multiple pages I need a lot of multicolumns I need ...
user avatar
  • 121
7 votes
3 answers
2k views

\cellcolor overwrites table lines (\hhline)

After following the questions related to the same topic where the problem was using \cline, I used the suggestions based on another related question. However, I am still facing the same problem where ...
user avatar
  • 331