2
votes
1answer
50 views

vertical line in tabular and size

In the code below, how do I add a vertical line to separate the second column from everything to the right of it? Also, the content of the table is too wide horizontally. I can see though that if ...
2
votes
2answers
108 views

Double lines and centered stars in a table

I have a table, but I have a problem with formatting it: \begin{table}[H] \centering % used for centering table \begin{tabular}{p{5cm} c c c c} \\ Case & Entscheidungsbäume & Neuronale ...
2
votes
1answer
32 views

Extend vertical line in table

The following code: \documentclass[12pt]{article} \begin{document} \begin{table}[t] \centering \begin{tabular}{c|cccccccc} \hline id & \multicolumn{4}{c|}{Col1} & \multicolumn{4}{c}{Col2}\\ ...
2
votes
0answers
50 views

Problem with framelines in tables

I am having a problem with LaTeX at the moment, which I seem completely incapable of solving. I am trying to create a simple table which has 4 columns and (should have in the end) 36 rows, including a ...
2
votes
1answer
67 views

\arrayrulewidth does not work - different thickness

I´m using \arrayrulewidth to specify my rule´s width/thickness, e.g. in tables: \taburulecolor{title} \arrayrulewidth=1pt \setlength{\arrayrulewidth}{1pt} % Definiert die Liniendicke von Trennlinien ...
7
votes
2answers
226 views

How to make double lines to only one bold (thick) line

How to make the double lines to only one bold (thick) line ? \documentclass[french]{beamer} \usepackage{babel} \usepackage{adjustbox} \usepackage{array} ...
1
vote
2answers
82 views

Thick Lines on table

I've seen the answer someone posted and I implemented it, I would like to keep this configuration as I already based my word using this answer. Now, the question is, how can I make partial horizontal ...
0
votes
0answers
59 views

LaTeX table rules disappear when using Adobe Reader [duplicate]

I created a PDF document using LaTeX (TeXShop on a Mac) and used the LaTeX command \cellcolor to create colored cells in tables. When I view the document with the Adobe Reader some table rules of ...
3
votes
1answer
65 views

Reducing height of multicol separator line

I am bodging a table using multicol and rule so that I can have cells of dynamic sizes and populate it using a macro rather than manually. It mostly works, however I would like to reduce height of ...
1
vote
0answers
60 views

Add horizontal lines for selected shaded cells

I was trying to add a thicker horizontal line for columns 2-13 (above columns A, B, and C in the following example). My code did not not work for shaded columns. Any suggestions? Thanks in advance. ...
4
votes
2answers
392 views

LaTeX table adjustments

I am typing the following table in LaTeX: \begin{center} \setlength\extrarowheight{5pt} %\renewcommand{\arraystretch}{1.2} \begin{tabular*}{3.4in}{@{\extracolsep{\fill} } | c | c | c | c | c | c | c ...
4
votes
3answers
94 views

Changing height of vertical line in tabular

Is there any way of changing the height of the vertical lines of a tabular environment? Here is my MWE: \begin{tabular}{|c|c|} \multicolumn{2}{|c|}{Header 1}\\ Subheader 1 & Subheader 2 \\ ...
1
vote
2answers
132 views

Latex Recall and Precision Table [closed]

I want to draw follow table on a latex but I have spend over a day now but yet to get anything close to it. I am attaching a screen short it would be great if I can get latex command to build this ...
3
votes
1answer
49 views

Problem with hhline with tables having more than 9 columns

I found out that the hhline does not print lines when the argument is greater than 9 as in \hhline{|*14{-}|}. It works well when doing instead \hhline{|*9{-}*5{-}|} as the following file shows: ...
4
votes
2answers
511 views

How to draw two \hline and two vertical line?

I want to draw a table with two \hline and two vertical line. But as shown in the figure, the first vertical line do not cross the two hline. How to solve this problem? \documentclass{article} ...
6
votes
1answer
194 views

Adding vertical rule into tabu

Community, :) I know it might sound like some noobish' question, but I have some trouble adding the last vertical rule into my tabu. I've retrieved the code from here: How to Create Comparison Tables ...
5
votes
1answer
83 views

Bottom hline in a tabularx wrapper environment

I want to define a wrapper environment for a table where one of the columns stretches to fill the available width. I'm using the tabularx package and its X column for that. As mentioned here and in ...
12
votes
1answer
1k views

Use of \midrule in booktabs table

Are there any formal guidelines/suggestions on the use of \midrule inside a booktabs table with just rows of identically formatted data? The booktabs manual is very specific about vertical rules, ...
3
votes
1answer
93 views

\cline Not Working with Customized Column Padding

When I reduce the table's horizontal padding using @{}, the \cline command does not work properly anymore. It is shown in the MWE below. \documentclass{article} \begin{document} ...
5
votes
1answer
166 views

`hhline` adding a strange vertical line distortion

I am using horizontal and vertical lines in a longtable environment to create a kind of tree-like internal structure. Since I need to color some cells with the colortbl package, I can't use \cline, so ...
1
vote
1answer
369 views

\hhline double line imperfection

Using the \hhline command i found some imperfection in the double line. How can i fix it? Imperfection Table \documentclass[11pt]{amsart} \usepackage{amssymb} \usepackage{hhline} ...
6
votes
2answers
248 views

color a column red in a table

When I try to color a column red, it seems that white lines begin to emerge. Additionally the \hline changes width depending on how you zoom into the document in pdf format. It look as if the color ...
7
votes
3answers
581 views

Using vertical line column separator in tabular between JUST TWO cells

I'm trying to do long division using tabular environment. Here is the code: \documentclass[11pt]{book} \usepackage{multirow} \begin{document} \begin{center} \begin{tabular}{c@{} c@{} c@{} c@{} c@{} ...
3
votes
2answers
145 views

Switch off booktabs for one table only

I am using the booktabs package in basically all my papers to present tables with results or descriptive statistics. However, I need to show a schematic choice in a table, and for that I need a proper ...
2
votes
1answer
3k views

Is it possible to use \cline multiple times when using multirow?

\documentclass{article} \usepackage{multirow} \begin{document} \begin{table}[ht] \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|c|}\cline{3-8} ...
8
votes
1answer
7k views

How to draw a double \hline in a table without interrupting vertical lines

I need to draw a double line after the first row in a table, but when using \hline twice, this interrupts the vertical lines: \documentclass{article} \begin{document} \begin{tabular}{|c|c|c|} \hline ...
3
votes
1answer
50 views

Use the content of a counter in cline

consider the following example: \newcounter{cnt} \setcounter{cnt}{3} \begin{tabular}{l|l|l|} \cline{2-3} a & b & c \end{tabular} I have a package that generates tables with a ...
4
votes
1answer
334 views

How to create this table for multi-line rotated text and thick vertical lines?

I want to create the table below and I am not sure how to do it. I also want the lines that say, "Long line of text really long" to be wrapped, and take up 2 instead of 1 so that the table isn't as ...
6
votes
1answer
115 views

No horizontal bar in table for space between column

I'm trying to create a table with underlined column groupings. I have an extra space between the groupings using @{\hskip 1cm}, but I don't want the underlining to extend over this extra space. Is ...
8
votes
2answers
2k views

Variable-width horizontal rules with \cline intrude cell text

I have come to learn how to make a variable-width horizontal rule with \hline from the LaTeX companion and with \cline from Horizontal rule with adjustable height behaving like \cline{n-m}. But the ...
5
votes
1answer
189 views

split a horizontal line into serveral lines in a table

I know \cline{i-j} to span a line from column i to j. But if in one line, I want a line only spanning from {1-1} and then {3-3} for example, how can I make it? | a | b | c | -- -- |d | e | f | ...
4
votes
2answers
252 views

How to color my (custom) lines/rules in a table contained by mdframed?

As a follow up to my recent question: Now I'd like to put some color on to that line/rule. In the MWE below, \arrayrulecolor{blue}\mycline{1-1} throws an error (undefined control sequence with respect ...
2
votes
4answers
189 views

Problem with custom vertical-alignment and/or length of lines/rules in tabular environment

As a follow-up to my previous question: In my table / tabular, \cline{1-1} gives me the correct vertical position but not the right horizontal length . In contrast, \rule{\mycustomlength}{0.4pt} ...
7
votes
2answers
640 views

How thick a rule does \hline produce?

How thick a rule does \hline produce (in a bog-standard tabular environment) ?
3
votes
1answer
382 views

Table with different rule widths

I wish to typeset a table with specific borders, where the the column rule separators are thicker, and also the first, second and last horizontal rules. I've tried using the tabu package and it ...
3
votes
1answer
303 views

Line under one column

Simple question that I couldn't find an answer to anywhere: I am using \cline to create discontinued lines in my tables. Sometimes I want to have a line just spanning over one column rather than ...
0
votes
1answer
87 views

Drawing the following table

How can i produce the above table in latex? The first column width i want to be small. The second and third and fourth i want to be of desired size. Is it possible to do it. Also I want thick lines ...
6
votes
1answer
1k views

Midrule that extends only over some of the columns in booktabs

I hope this isn't a silly question, the thing is that I want to create a table with a midrule applied in just some cells, I mean something like that (just between Item, Animal and Description): ...
5
votes
2answers
386 views

Tabular with automatic \hline

Is there a package or simple command that will insert an \hline after every line in a tabular environment? It is rather annoying to do it all manually, and it seems like there should be a simple way ...
3
votes
1answer
964 views

\hline with \only (or \onslide) in Beamer

In a table in beamer, I would like to remove \hline after X number of slides using \only<1>{\hline} But this always results in an error message: Misplaced \noalign What can I do to ...
1
vote
2answers
87 views

Table Line above?

\begin{center} \captionof{table}{Register Table} \label{tab:title} \begin{tabulary}{1.2\textwidth}{| p{3cm} || C | p{3cm} | C | C p{1cm} | } Procedure & Expected Outcome & Pass ...
3
votes
1answer
207 views

Breaking Horizontal Rule Running Across Adjacent Columns in a Table

Is there any way to force a break in the horizontal rule running across two adjacent cells of a table. To be more precise, here is what I'm looking for: Notice how I wish the lines to fall short of ...
5
votes
1answer
288 views

Table - remove row lines in column to furthest right

How do I remove row lines in the column to furthest to the right. I have seen examples where they do it the left. I would like the "powers" from the table here to be on the right side instead of the ...
3
votes
1answer
643 views

How to create a dashed line in tabularx environment

I've been looking into this, and I have encountered two main "solutions": \usepackage{arydshln} As decribed here. And this one: \usepackage{dashrule} As described in this other post. However, ...
2
votes
2answers
779 views

\hhline doesnt work

I wonder you can help me why LaTeX can't draw a \hhline in my table?? (I would put a picture but I need at least 10 reputation...) Here is the code: \documentclass[12pt,titlepage]{report} ...
1
vote
1answer
320 views

Horizontal line through table cell

I have a very long, thin table that I'm folding onto itself to make a wider, shorter version. The table has a couple horizontal rules to separate data categories. For example, the original table is ...
5
votes
1answer
448 views

How to trim the length of \toprule? [duplicate]

How to trim \toprule (from booktabs package)? It is probably something basic I'm missing, but I need it and it's nowhere to be found.
2
votes
0answers
704 views

Missing vertical line in table [closed]

I'm new to LaTeX and learning quite quickly thanks to this site, among others that teach me quick fixes for my mistakes, but I can't seem to find a fix for this, I'm not able to draw the right border ...
2
votes
1answer
430 views

Top aligned tabular: \cline equivalent of \firsthline

When aligning tabular environments with the [t] option, one can use \firsthline (from the array package) instead of \hline when a line is required at the top of the table. Like so: ...
5
votes
2answers
2k views

Colored tables and cline/hhline

How to write \clines (or \hhline) in colored tables so that the color of the cell does not hide the line? Here are two solutions but neither of them works fine. \documentclass[a4paper,11pt]{article} ...