Questions tagged [hline]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
43 views

\hline produces “undefined control sequence”

I'm at a loss why the proper code like this one would produce "undefined control sequence" at every \hline: \begin{center} \begin{tabular}{ |c|c|c| } \hline cell1 & cell2 & cell3 \\ ...
1
vote
1answer
32 views

How to reduce space between a text line and differents \hline in a table - trying to use negative \vspace value

On the following figure, I try to make decrease the space betwen the line "Nombre de bins : (Y1) :5 ..." and the two \hlines above. More over, you can see that line "Nombre de bins : (Y1) :5 ..." is ...
2
votes
2answers
76 views

Dissapearing of table/cell borders with coloured cells in the PDF viewer depending on the zoom

I have a problem with the coloured tables that I want to include in my master thesis, so it is a very important issue for me. I generate the tables with tablesgenerator.com, and in the LaTeX viewer ...
1
vote
2answers
133 views

Solution for disappearing table/cell borders with \rowcolor in the PDF viewer depending on zoom?

We are currently trying to convert some documents (with our corporate design) from InDesign to LaTeX. These documents are supposed to be available on the Homepage as PDF and also print out nicely. The ...
0
votes
1answer
35 views

Table with partial line on the top

I would like to mimecry the following table in LateX: I have tried the following code but I am having hard time to get the partial line on the top (the content is not important, only the top line to ...
1
vote
1answer
25 views

A table with `\hline`s in a tikzposter block

I would like to have a table with \hlines fit inside of a tikzposter block, but the lines stretch outside of the block, as shown in the following image: \documentclass[25pt, a0paper, portrait]{...
2
votes
2answers
48 views

Errors with table [duplicate]

I am very new to the latex community (1 week) and writing my thesis with latex. I am trying to built a table using the following code: \begin{center} \begin{longtable} [c] { |m{3cm}|m{2cm}|m{2cm}|m{...
0
votes
2answers
26 views

Discontinuous table border line appearing while using tabular

I was trying to increase the thickness of the cell by giving extra space at the bottom of cell but that gives me discontinuos line at the table border. How can I get rid of this. Solution using only ...
3
votes
2answers
80 views

Combine rectangle split with array

I want to draw a "complicated" figure, like shown below. What is need to be done: Enlarge the \hdashline to fit the hole width (drawn in red) Remove the dashed line (:) from the first row (done per ...
0
votes
0answers
7 views

Array: dashed hline in array [duplicate]

How to set the \hline to be dashed in an array? \documentclass{standalone} \usepackage{amsmath} \begin{document} $\begin{array}{ll} a & b\\ \hline c & d\\ \end{array}$ \end{document}
1
vote
1answer
185 views

horizontal line in table does not cover full width

Below I have the code to create a table in latex, but the horizontal dashed line is not drawn over the full width of the table. \begin{table}[H] \caption{Aggregated sales data of all products} % ...
4
votes
1answer
57 views

A midrule line under each column, separated by white space

How can we draw a horizontal line in a table with white space between each column? A MWE, using booktabs's \midrule and \cmidrule: \documentclass[11pt,twoside,a4paper]{article} \usepackage{booktabs}...
2
votes
1answer
581 views

horizontal line Specific Row [duplicate]

How can I remove a hline in a specific column? I wish the first line did not have the hline \begin{table}[h!] \resizebox{\columnwidth}{!}{% \centering \begin{tabular} {|c|c|c|c|c|c|c|c|c|c|c|c|c|} ...
2
votes
1answer
70 views

How to add an argument to a \cline-like macro?

I want utility macros that allow me to change (a) the thickness and/or (b) color of \hlines or \clines in tabulars. I want to do so without redefining \arrayrulewidth but rather by modifying the ...
1
vote
1answer
45 views

Tabularx: Reason why customized \hrule exceeds \textwidth?

Any ideas on why my self configured \hrule exceeds the specified \textwidth of my page layout? Minimum Working Example (MWE): \documentclass{article} \usepackage{xcolor,colortbl} \usepackage{...