Questions tagged [hhline]
The hhline tag has no usage guidance.
57
questions
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'...
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 ...
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
\...
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
\...
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}
}
\...
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 ...
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{~==...
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 ...
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 ...
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{=|=|=|=|=|=|=|=|=|} ...
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 ...
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 ...
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 ...
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 ...
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....
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 ...
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}} ...
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 ...
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 ...
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 ...
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 ...
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 ...
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{\...
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 ...
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 ...
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}
\...
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 ...
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{...
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 "...
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. ...
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. ...
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 \\ \...
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 ...
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{...
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}
\...
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 ...
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}...
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
\...
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 ...
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:...
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]{...
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[...
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 ...
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 ...
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{...
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 ...
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 ...
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}}
\...
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 ...
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\...