Questions tagged [hhline]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
24 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
3answers
71 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
1answer
26 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
1answer
33 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 ...
0
votes
1answer
47 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
1answer
39 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
0answers
22 views

Blank when filling a table cell

I use ehhline to draw horizontal lines of different colors and widths. When there is more than one width of horizontal lines in a row, the filled cell above the line whose width is not the max will ...
0
votes
0answers
55 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: _______________________ ...
0
votes
0answers
62 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 ...
0
votes
1answer
53 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
1answer
38 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
0answers
33 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{...
1
vote
0answers
66 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
1answer
123 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
3answers
212 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
1answer
56 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 \\ \...
3
votes
3answers
219 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 ...
1
vote
1answer
356 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{...
1
vote
3answers
79 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
3answers
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 ...
1
vote
2answers
98 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}...
4
votes
2answers
724 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
0answers
147 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
1answer
251 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
1answer
48 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
2answers
380 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
3answers
875 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
1answer
415 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
1answer
286 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{...
1
vote
2answers
305 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 ...
8
votes
2answers
332 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 ...
6
votes
2answers
493 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
1answer
676 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
1answer
151 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\...
1
vote
1answer
308 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 ...
1
vote
0answers
72 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 ...
1
vote
0answers
163 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 ...
6
votes
3answers
1k 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 ...
1
vote
0answers
193 views

hline not shown in pdf

I'm using the following code but for some of the rows hlines are not shown. Appreciate if anyone can help. \documentclass{article} \usepackage[usenames,dvipsnames,table]{xcolor} \usepackage{tcolorbox}...
2
votes
2answers
977 views

Problem with horizontal line in table using \hhline

The following example shows the problem in my table. There is a unwanted white rule in the left. How can i fix that? Thanks for help! \documentclass[dvipsnames,12pt]{article} \usepackage{xcolor,...
5
votes
1answer
80 views

Conflict babel-spanish vs hhline?

Solving recently a problem with coloured table and hhline, I found that, as the babel-spanish module makes > and < active characters, using codes such as \hhline{>{\arrayrulecolor{some colour}...