{tables} is about the tabular environment and related packages such as {array}, {booktabs}, {tabularx} and {longtable}. For questions about the table environment (i.e., about floating or positioning), use {floats} instead.

learn more… | top users | synonyms (2)

3
votes
2answers
47 views

trouble with table borders - some are incomplete

I am having trouble with my table borders again. I want to produce something like this: or like this: But I keep getting this: These are my commands: \begin{table}[ht!] ...
1
vote
1answer
55 views

How can I automatically use typewriter font for one column of a tabular?

I'm trying to create a table where everything in one column is in typewriter font. In other words, it should perform like this: \begin{tabular} {| l | p{5cm} |} \hline \multicolumn{2}{|l|}{Sample ...
12
votes
2answers
138 views

'e+08' (don't suppress 0) notation in columns with S-specifier

for symmetry reasons in a large table I want the scientific format with 2 digits (i.e. e+08). By default it suppresses the 0. Here is what I do: \documentclass[]{article} \usepackage{siunitx} ...
1
vote
2answers
43 views

How to make table numbering as table section_number alpha

I would like the numbering of tables in a section to be in the following format: Table section_number alpha: table caption. For examples, tables of section 4.3 should look like: Table 4.3 a: Table ...
1
vote
0answers
34 views

Table-caption rotated wrongly

How can the table-description in tufte-handouts be placed correctly with sideways-tables and xtable? See following minimal reproducible example where the figure-description is corrrect (stolen from ...
1
vote
1answer
35 views

TEXMAKER when compiling gives me error misplaced alignment [duplicate]

! Misplaced alignment tab character &. <argument> ...d/record.url?eid=2-s2.0-78751524824& partnerID=40&md5=4144bdb06... l.76 ...D=40&md5=4144bdb064f723bb3e27d5ff60673d79} I ...
1
vote
1answer
40 views

Table error - black band inside the fields on toprule

I need a help with a table attached in the pictures above. I put this table in a document composed of several chapters. When I compile the single chapter that include the table, i have no error ...
2
votes
1answer
79 views

Combining multirow and multicolumn

When combining multirow and multicolumn in the same cell of a table I am getting extra vertical lines: \documentclass[plain]{article} \usepackage{multirow} \pagestyle{empty} \begin{document} ...
2
votes
0answers
77 views

Cleaner Code for a Table design

in this question Showcase of beautiful wine bottle labels made with LaTeX/TikZ and friends I asked for wine bottle labels. Here is my own attempt. I still have to play with fonts. I'm quite happy ...
5
votes
2answers
116 views

Vertical aligment with tikzpicture

I have a problem with vertical alignment in a tabular environment with tikzpicture. My code so far is: \documentclass[12pt,a4paper]{article} \usepackage{tikz} \begin{document} \begin{tabular}{ccccc} ...
2
votes
2answers
127 views

Table formatting

I want to create a table like this: Here is the code: \begin{table}[h] \begin{threeparttable} \caption{\textit{Sample Selection}} \centering \begin{tabular}{lcccccccc} \toprule\toprule & (I) ...
0
votes
4answers
52 views

Three columns aligned horizontally and vertically

I'm trying to make a list of three columns where the first column is on the left hand side of the page, the second column runs down the middle and the third column is on the right hand side. A table ...
1
vote
2answers
96 views

How can I recreate this two tables in LaTeX?

In this case, the real text is irrelevant; the format and layout is what I'm interesed in. All my tries with it have seen deceptive. I'm impatient to study your ideas!. Thanks in advance.
2
votes
1answer
45 views

Table reference not compiling correctly

I'm hoping for some guidance on why LaTeX isn't properly referencing this table. \begin{table}[ht] \caption*{Table 2 \\ Number and Percentage}\label{tab:table2} \centering \begin{tabular}{rrrrrr} ...
1
vote
2answers
75 views

Need vertically centered text in latex table

I want the text in each cell vertically centered. \documentclass[12pt,a4paper,onesided]{report} \usepackage{array} \usepackage{booktabs} ...
1
vote
0answers
110 views

Annotating Tables With Tikz; Adding Arrows

I'd like to be able to draw an arrow with some text on top connecting two arbitrary (i.e. possibly non-right-/left-most, possibly nonadjacent) cells of a table with a left-looking arrow. In ...
1
vote
1answer
58 views

Borders of tables

I have been working on my first LateX report, and everything works fine, except tables. It seems that some of the lines appear and other don't (In all my tables). I have tried adding and removing ...
3
votes
1answer
91 views

Annotating tables

I'm trying to annotate a table by highlighting and annotating the final column, yet once I use the\tabnode together with coloring I get misalignment. Either the content of the cell marked with ...
5
votes
1answer
45 views

Labeling Multiple Equations Per Row of a Table

I am trying to create a table with two columns of independently labelled equations (1-6). Unfortunately, everything I have found so far either has not worked or would number them as sub-equations (1a, ...
3
votes
2answers
69 views

Bold row in table aligned with dcolumn

I am generating a bunch of TeX-tables (with Stata), in which one particular row has to be highlighted (bold). I can however only modify the first column in there, hence I want to place a command in ...
5
votes
2answers
82 views

Trouble with table borders

I want my table to look like the one below: But this is what is turning out: Here’s an MWE: \documentclass{article} \usepackage{multirow} \begin{document} \begin{tabular}{|c|c|c|} \cline{1-3} ...
10
votes
3answers
193 views

Move tabular entry to bottom of row

How do I get the last column text to be at the bottom of the row? That is I want the XXX to be aligned with the line containing the arrow. I tried playing around with \multirow{3}{-3ex}{XXX}, but ...
46
votes
3answers
2k views

Is there a tool to make a complicated Table like this one (“Auswahlliste” from “Pahl/Beitz Konstruktionsmethodik”)?

I’m developing a product as a part of my thesis for my university in Germany. We are supposed to use standard methodology for decision making. One of the tools is called “Auswahlliste”. (I don’t even ...
2
votes
0answers
38 views

align icons to dictionary entries

I'm trying to typeset a small dictionary. Many of the entries come with a couple of icons that I would like to display in the margin just left of the entry, top-aligned with the beginning of the ...
4
votes
1answer
90 views

merge two tables into one

i have two sperate tables with the same number of rows and labels as follows: one: a 12 b 32 c 18 two: a 45 b 98 c 300 how can i combine those two tables into one? as follows: a 12 45 ...
4
votes
2answers
96 views

Automatic line-break in tabular

Sorry if I've missed the answer in another post, but I've literally spent 3+ hours googling this problem now. I'm making a tabular and I'd like to to automatically do a like break rather than going ...
0
votes
1answer
21 views

LATEX: Error when use 'cline' in a table

I use latex to prepare exam sheets. I use the exam.cls package. In the cover page, I created a table to include the question categories and their points: \begin{table}[H] \centering \large ...
1
vote
2answers
63 views

Table Formatting - Width

Okay so I am having some trouble with tables in Latex. I tried to find a solution within the already asked questions out there, but I haven't been able to either make sense or get these to work. ...
3
votes
1answer
68 views

How to make background in tabular cell (vertical lines)?

is there any way to make the following two horizontal lines on the background of a cell? Cell should contain either a blue or green horizontal line in the middle. Or the third option is both. Here ...
3
votes
1answer
39 views

Vertical lines going beyond the borders of my table

I am very new to LaTeX so please excuse the amateur question. I am creating a table using the following commands: \begin{table}[ht!] \small \centering \caption{Effect of industry on \emph{Bad Self ...
6
votes
1answer
54 views

How can I combine endfloat and chngcntr?

Is there any way to combine the packages endfloat and chngcntr? I would like to have all tables at the end of the document (with endfloat) and a numbering that includes the section number (e.g., ...
2
votes
1answer
149 views

How to break the table elements in LaTeX?

I am setting up my bibliography in LaTeX. I have used tabularx but the problem is it tries to set the entire table all together, since the list is long, it will go over the limits of the page. Is ...
3
votes
3answers
47 views

automatic list/table rendering

i'm looking for a solution to automatically render data lists. In the current scenario, my input data is a list of strings, which should be displayed in a three column list w/ sequential numbers: ...
1
vote
0answers
32 views

how do I ensure that the vertical lines show in the gray cells of my table? [closed]

how do I ensure that the vertical lines show in the gray cells of my table? \begin{table}[ht!] \renewcommand{\arraystretch}{1} \normalsize \doublespacing \centering ...
7
votes
3answers
115 views

How to horizontally align rotated text in a table?

I am trying to horizontally align text that has been rotated in a table. I want the rotated "Lorem Ipsum" and the rotated "Lorem Ipsum & Lorem Ipsum" text to be horizontally centered in the cell. ...
1
vote
1answer
48 views

Bad vertical distance in table using makecell package \multirowhead

This is my working code: \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{multirow} \usepackage{hhline} \usepackage{array} \usepackage{caption} \usepackage{tabu} ...
4
votes
3answers
59 views

Alignment of bullets within the itemize environment

I have a question regarding the alignment of bullets within the itemize example, here a short example. Basically I have an \item with an inserted table and I want the bullet to be at the top of the ...
4
votes
2answers
50 views

\setstretch is reset in \begin{figure}

I use \setstretch{1.3} to increase line spacing. It does increase line spacing in tabular environments as well, which is what I want. But if the tabular is in a figure environment, line spacing is ...
6
votes
1answer
41 views

removing extra white space between columns in a multi page, landscaped, longtable

Hi I am trying to make a table that is landscape and takes up multiple pages. I am using a longtable in landscape mode to do this. Everything compiles fine but for some reason there is a large white ...
3
votes
1answer
77 views

Latex errors: undefined control sequence, outer par mode, underfull & overfull hbox

I am attempting to put a Stata regression table in Latex, but my code yields the following errors: Undefined control sequence \estwide{PEAssignment2tabl1.tex}{6}{c} Not in outer par mode. ...
3
votes
1answer
50 views

why \usepackage{tablefootnote} puts the footnote at random locations

I wanted to make a footnote in a table. So I used tablefootnote http://www.ctan.org/tex-archive/macros/latex/contrib/tablefootnote to do that as was suggested by google search since normal \footnote ...
1
vote
1answer
77 views

I can't find/fix the errors in order to be able to compile it

\documentclass{article} \usepackage{amsmath} \begin{document} $These are two truth tables for the following: $\neg (p \vee q)$ is logically equivalent to $(\neg p) \wedge (\neg q)$ ...
3
votes
1answer
55 views

How to vertically align text

I am trying to vertically center text in a table but when I try to use vspace, the entire row is shifted instead of just one cell. I have copied the latex below that will demonstrate the effects if ...
0
votes
0answers
19 views

Customizing the height of the cells in a table [duplicate]

I have the following table construction in LaTeX: \begin{center} \begin{minipage}[c]{0.3\textwidth} \vspace{0pt} \begin{tabular}[b]{l||c|c|c|c|c|c} \textbf{0} & \textbf{1} & ...
2
votes
2answers
59 views

Wrapping text in a table cell

My text alignment of the column headers - "Cumulative Number of Courses Required to be Passed" and "Cumulative Number of Senior Courses Required to be Passed" are clearly wrong. I do recognise that ...
1
vote
1answer
35 views

Drawing multicolumn table in latex

I have a problem for drawing a multicolumn table in ieeetran latex. This is what I want to draw: However, I couldn't manage it. I am having problem to add OBR and AR rows. I tried some codes, none ...
2
votes
1answer
22 views

Multirow bad behaviour on partial last column

Here is \multirow documentation (where I didn't find my answer), and here is my MWE (but not working as intended, illustrating the problem) : ...
5
votes
2answers
54 views

How to make table's height smaller?

I have a document with 3 tables on it. The tables look really nice, but I have one problem: they are too tall and so they overlap the footnote! I have tried reducing the size of the letters inside ...
3
votes
2answers
47 views

How to fix to force text to split in table?

I have a simple table in LibreOffice calc and I tried to convert it to latex using the Calc2Latex macro. Then using Latex I tried to improve it. However I cannot get the text correctly ! This is ...
4
votes
1answer
66 views

How to make 2 tables appear one next to another?

I have a document with three tables. These three tables currently are too long for the page, so I would like to make 2 tables appear next to each other and then make the third table appear below them. ...