Tagged Questions
3
votes
1answer
57 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 ...
2
votes
1answer
45 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
61 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 ...
0
votes
0answers
53 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):
...
4
votes
2answers
67 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 ...
2
votes
1answer
100 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
75 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
58 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
61 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 ...
1
vote
1answer
105 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
131 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
129 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
115 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.
1
vote
0answers
122 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
102 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:
...
3
votes
1answer
221 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} ...
4
votes
1answer
107 views
How to 'shorten' \cline so that multiple groups in a table become visible?
I would like to construct a table which looks like a booktabs table (but
without using the package booktabs). Instead of \cmidrule, I used \cline,
which comes pretty close (see below), but the lines ...
4
votes
1answer
62 views
How to delete borders (rules) in a table defined with the cals package?
I recently discovered the less known cals package for defining tables HTML-style.
Here is all documentation I found:
http://www.ctan.org/tex-archive/macros/latex/contrib/cals (demo & doc)
...
2
votes
2answers
92 views
How to eliminate certain vertical lines in tables
I'd appreciate if somebody could help me with this. I'd like to eliminate the vertical lines of the 8th row. I haven't been able to get it.
\begin{table}
\footnotesize
\begin{tabular}{| ...
6
votes
1answer
187 views
Nice-looking tables with thick rules
I want to make a table with rules that are thicker than the default. It's pretty straightforward to do, however the result looks bad: the lines have gaps in them (see image below). There must be a ...
0
votes
1answer
145 views
In a table how do I add vertical lines between each column?
I have this as my current table which is fine, but I would like there to be vertical lines too just to make it look that bit neater.
I'd also like horizontal lines between each row but this would ...
3
votes
2answers
459 views
Problems with \toprule and \midrule in a table
Having the following siunitx table code in LyX, for each occurrence of \toprule and \midrule I obtain an error message:
The control sequence at the end of the top line of your error message
was ...
0
votes
1answer
85 views
Rule between environments (no spacing!)
I want to place a rule between two centered tabulars like the following example.
But I am not able to control the correct spacing of 2mm in between the rule.
Can somebody maybe explain :-) what should ...
3
votes
1answer
67 views
Problem with \hline and reference
I am trying to end my table with a \hline.
My tex is as follows
\begin{center}
\begin{tabular}{ l | c || r }
\hline
1 & 2 & 3 \\ \hline
4 & 5 & 6 \\ \hline
7 & 8 & 9 \\
...
8
votes
1answer
248 views
Vertical table lines are discontinuous with booktabs
I created a table in LaTeX, but there are some problems with the borders. The borders remain open whereas I want them closed. Also, in the last row, I want the vertical line gone, ie I want just one ...
10
votes
2answers
113 views
How to render a double bottom border on a single table cell?
How to render a double bottom border on a single table cell? In the example table,
\begin{table}[htbp]
\begin{tabular}{|l|r|r|}
\hline
Item & Sales & Total \\ \hline
Item 1 & 10 & ...
6
votes
2answers
153 views
Adding borders to an entire row in a table
I have a table with multiple rows (a regression table). I would like to add a coloured border highlighting one particular variable. I have found a way to border one cell at a time but is there a way ...
11
votes
2answers
1k views
Highlight table cells using thick, colored border
I'd like to highlight certain cells of my table. In particular, I'd like to set the border of these sells colored and thick. These cells should also have a background color.
Here's a minimal example ...
6
votes
2answers
1k views
\hhline adds white line where no line is intended
In a table, containing colored cells, i want to have a \hline dividing only some cells, similar to \cline but compatible with coloring single cells with \cellcolor, which is possible by using \hhline ...
4
votes
2answers
1k views
\cellcolor overwrites table lines
I have a table which I want to fill with multiple colors, each cell possibly different from another. Which means, I can't make use of e.g. \columncolor (as in this post).
While the table without any ...
6
votes
1answer
1k views
Remove border of top left table cell
I want to remove the border of the top left table cell (top-border and left border of this cell). My table looks like this:
\begin{table}[!ht]
\centering
\begin{tabular}{|c|c|c|c|} ...
4
votes
1answer
172 views
Weird imperfect table, horizontal line overflow
I've this weird problem where the horizontal lines in a table are overflowing. It might be due to one of the many packages, I'm not sure. Is there a way to forcefully fix the table border.
The latex ...
4
votes
2answers
158 views
pdfpages doesn't allow me to draw a thick horizontal line in “tabular”
I have the following code:
\documentclass{article}
\usepackage{amssymb}
\usepackage{caption,sansmath}
\usepackage{array}
\DeclareCaptionFont{sansmath}{\sansmath}
\captionsetup{textfont={sf,sansmath}}
...
1
vote
0answers
68 views
Table with horizontal line that doesn't span all columns [duplicate]
Possible Duplicate:
How can I draw a horizontal line spanning only some of the table cells?
I need to recreate table 12 of this document manually (because unfortunately this automatic ...
2
votes
1answer
285 views
Tabular: set a line between each row in \newenvironment
I have created a particular table with 3 columns using \newenvironment.
Now I want to put a line between each row and from the 2th to the 3th column.
I know it is possible to add \cmidrule{2-3} at the ...
2
votes
2answers
927 views
Bold \hlines for longtable
I've searched the topic and found the following two answers.
Answer 1. LaTeX tables: How do I make bold horizontal lines (typically \hline)?
The best answer suggests to use booktabs. However ...
1
vote
1answer
502 views
Table vertical line [duplicate]
Possible Duplicate:
Too long vertical lines in table
In the following table, the first vertical line is higher than
the second. How do I correct this?
...
4
votes
2answers
1k views
Too long vertical lines in table
Ok, I've looked at this code too long and need some fresh eyes and ideas.
Question: Why do I get too long vertical lines on my LaTeX table?
Please note that I've not experiencing any problems with ...
5
votes
1answer
478 views
Vertical line left out in tabular
The code
\documentclass[a4paper]{article}
\usepackage{multirow}
\begin{document}
\begin{tabular}{|l|l|l|l|l|l|l|}
\hline
\multirow{2}{*}{Color Type} & \multirow{2}{*}{Channels} & ...
26
votes
2answers
6k views
How can I reproduce this table with thick lines?
I'm trying to reproduce this table:
(apologies for the terrible cameraphone pic)
I don't know how to get the slightly thicker leftmost and topmost line.
Here's a minimal example of what I have so ...
2
votes
1answer
217 views
Why the horizontal line behaves differently in supertabular and tabular?
I have a problem using the supertabular package. Basically the horizontal lines, instead of stopping at the end of the table, continue until the end of the page.
This is a self-explaining ...
11
votes
2answers
6k views
How to change line color in tabular?
How can I change the color of the lines (the frame) in a tabular environment? In the following MWE:
\begin{tabular}{c|c|c}
a&b&c \\ \hline
d&e&f \\ \hline
g&h&i
\end{tabular}
...
24
votes
3answers
4k views
Why not use vertical lines ('|') in a tabular?
My question is a follow-up to the answer to a follow-up question, to be found here. ;)
I'd like to know why one would advise against using vertical lines (via |) in a tabular (i.e. in ...
4
votes
2answers
2k views
\cline doesn't work
I'd like to draw a partial horizontal line just below of 'first second third' row, but \cline doesn't work. Any suggestion?
\documentclass[table]{beamer}
\usepackage[T1]{fontenc}
...
3
votes
2answers
306 views
How to just show a part of lines inside a tabular
I am drawing a matrix as follows:
\[\begin{tabular}{l|lllll|ll}
& 0 & i & j & k & $\ldots$ & x & y \\ \hline
0 & 0 & $\ldots$ & $\ldots$ & $\ldots$ ...
3
votes
1answer
2k views
tabular - \cline not working
I have this table
\begin{tabular}{ | p{2cm} | p{4cm} | p{4cm} | p{4cm} | }
\hline
Název & \multicolumn{3}{ l }{vypsatZapojeniResiteluDoProjektu} \vline\\
\hline
Popis & \multicolumn{3}{ l ...
6
votes
1answer
192 views
booktabs's horizontal rules aren't displayed with cifa document class
There seems to be a problem between the CIFA document class
and the booktabs package.
When I compile the following code, the horizontal lines are not displayed:
\documentclass{cifa}
...
4
votes
2answers
397 views
Is there a command similar to \cline{i-j} but works with vertical line? [duplicate]
Possible Duplicate:
Create a vertical line in a table that spans a range of rows but not all rows
The \cline command draws horizontal lines across the columns specified, beginning in column ...
1
vote
2answers
516 views
Incomplete vertical line while creating a table
My code is as below. Last column line is splitted when I leave space between the rows. How can I get a solid vertical line? Please reply
\begin{table}[h!]
\caption{\textbf{$\alpha=10; U=1; ...
6
votes
2answers
2k views
Horizontal rule with adjustable height behaving like \cline{n-m}
How can I produce \noalign{\hrule height 1pt} only through a certain number of columns just like with \cline{n-m} (or basically \cline with adjustable thickness)?
Fig. 1: The approximate objective ...


