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

learn more… | top users | synonyms (2)

1
vote
0answers
15 views

pgfplotstable: typset csv with 2 or more header lines (eg. name, unit, comment)

I am exporting from Origin and get a Data.csv like this: Short_Name1; Short_Name2 Long_Name1; Long_Name2 Unit1; Unit2 Comment1; Comment2 1,1; 2,0 3,5; 4,3 When I try to ...
0
votes
0answers
6 views

Publication-style format to include statistical tables with the Coef, Odds Ratio, Standard Error, and significance

I was wondering if there is a publication-style format if I wanted to include the coefficient estimate, the odds ratio (OR), the standard error of the estimate, and the significance (i.e. stars such ...
0
votes
1answer
22 views

Automatic row (not line) breaking in tabular (or analogues) with a variable number of columns

I have some values which I need to put in a row-major form, i.e. fill the column of a tabular on the basis of its width, as described in the MWE. \documentclass[a4paper]{article} ...
1
vote
2answers
60 views

Fill available space in tabular square

I am trying to have the inner text of each square of my \tabular fill the whole space available. For example, in the tabular below, I would like my a2 and b2 occupy the entire column under s2 in a way ...
3
votes
1answer
751 views

save table on a separate file

I'm new to LaTeX. I have a table in the LaTeX format that I want to include in my document. Since it is a large table, I would like to save it in a different file and then just load it in my main ...
3
votes
3answers
46 views

How to typeset linguistic AVS

How can I typeset attribute value structures (AVS) and rules like the ones seen here?
0
votes
0answers
32 views

Creating a table with gray title bar [duplicate]

I want to create a table as shown below. Can someone provide me an MWE?
2
votes
1answer
29 views

How to force content to jut out of a (vertically centered) table cell?

I want to force the content of one of the cells in my table to overflow the cell width by a specified amount. With c columns, negative kerning does the trick. But I also want vertical alignment, and ...
0
votes
0answers
37 views

script to create a table with multiple rows

I'm wondering how to quickly put a bunch of data into a table. I have a rather basic knowledge so I'm asking for a way to read in data by the following format: It has 4 columns, first is formatted in ...
1
vote
2answers
44 views

Table with images

I want to make a table with 3 rows and 2 columns, where in the left column I put text and in the right column I put an image in each row. I have no idea how to make this, I already tried to make a ...
2
votes
2answers
111 views

Why is this macro putting an element of a table on the wrong row?

Consider the following MWE: \documentclass[a4paper,10pt]{article} \newcommand{\macro}[2][]{% & something & #2 & #1 \\ } \begin{document} \begin{tabular}{lccc} \macro{3}{4} ...
0
votes
0answers
28 views

ignore a word in spacing [on hold]

I want to set a specific spacing, because I can only work with one column in a tabular. I would be able to set the spacing in the tabular like so: `exampletext\kill\vline` however then I don't know ...
2
votes
0answers
51 views

Is there any single property/option for creating all borders in LaTeX table?

\begin{tabular}{ | c | c | c | } \hline 1 & 2 & 3 \\ \hline 4 & 5 & 6 \\ \hline 7 & 8 & 9 \\ \hline \end{tabular} If we want to create a ...
2
votes
3answers
96 views

How can I create this aligned bracketed thing?

I'm trying to create a list of items that looks something like this: but I can't figure out how to position the bracket properly. Here is what I currently have, minus the brace (which I edited into ...
0
votes
1answer
82 views

Adding a rectangular box with tikz to table (beamer)

I would like to add a rectangular box to my table to highlight some rows. I'm trying to use tikz with the second lot of code from Harish Kumar's answer to a similar question. However, unlike the ...
6
votes
3answers
82 views

Use the result of FPeval to color a table cell

I am trying to give a table cell a grayscale color value based on it's numeric value. So far I have the following code \documentclass{article} \usepackage{fp,xcolor,colortbl} \FPeval{\resb}{0.5} ...
0
votes
0answers
18 views

How to avoid the horizontal separator while using multirow? [duplicate]

Creating a table in IEEE transaction format. The last cell of the table has to combine two rows. I can put the same text using the multirow package, but the horizontal separator cuts right through the ...
0
votes
0answers
20 views

How can I use multicolumn or multirow in a tabular using the array package global formatting technique?

Awhile ago, @robintw asked a practical question: Make first row of table all bold It uses the array package to cleverly inject formatting code to the header row columns. Clever Table Row Formatting ...
0
votes
2answers
23 views

Table appears to be incomplete in latex pdf generated

my code is given as below \begin{table}[H] \begin{tabular}{|c|c|c|c|} \hline \rule[-1ex]{0pt}{2.5ex} JP1/JP14 Pins 1 – 8 & Description & JP1/JP14 Pins 9 -16 & Description \\ \hline ...
8
votes
3answers
166 views

Using & in macro abstracting a tabular's row

I am attempting to create a macro for table rows. This will allow me to change the order of the columns in the future, without having to change the order of the columns in every single row. I have ...
0
votes
0answers
30 views

Placing a figure inside a table which needs to be listed in the table of figures

I need to put a figure inside a table and then list it in the table of figures. What I made and failed is this: \begin{longtabu} to \textwidth {..omitted for brevity...} \caption{Table of components} ...
2
votes
2answers
61 views

vertical line between the cells

could someone kindly help me out how to solve this problem by completing the vertical line between the cells. Regards \begin{table}[htbp] %\setlength\extrarowheight{3pt} ...
2
votes
2answers
22 views

Text next to an xskak diagram?

The \chessboard command from xskak.sty assembles the board using glyphs from a chess font. This causes me a ton of headaches trying put explanatory text next to a board. The first and most obvious ...
0
votes
0answers
13 views

Longtable integration Stata

As far as I am aware, the available commands that produce LaTeX-formatted tables of stored estimates using Stata, will only produce tables using either the table or tabular environments. Do any other ...
2
votes
2answers
40 views

Using a table as a header in Context

I want to define a table to use as a header in my Context document. This table shall contain different variables, like document title, document number, date, page x of yy, etc. I have defined the ...
0
votes
0answers
51 views

Which rating symbols are recommended? [on hold]

I have to evaluate several types. The first evaluation is on features these types have. There are only two answers possible: Yes the feature is existent in the type or No the feature isn't present. I ...
1
vote
3answers
50 views

How can I center text vertically in the middle of a multicolumn table cell?

When I enter this, why does the 'Type I stuff' and 'Type II stuff' break down into 2-3 lines? How can I have them written in one line without linebreak? When I use c instead of M for the multicolumn, ...
0
votes
0answers
22 views

Can't seem to align right the text in a tabular

Hello I am using "Extended Fancy CV Carmine Benedito" template and have a really hard time to allign the name of my school in the right... Please, anybody has an idea of what to do? Thank you in ...
0
votes
0answers
60 views

How to vertically align text in a table

I have problems vertically aligning text in my table. I define new column type like this: \newcolumntype{M}{>{\centering\arraybackslash}m{\dimexpr.25\linewidth-2\tabcolsep}} And this works for ...
4
votes
2answers
61 views

Vspace in a table in a two column page

I made a table spanning the top of a two column page, but there is a problem in the last column where $j$ is very close to the hline above, while other elements in the same row are of the same ...
0
votes
1answer
26 views

Keep getting “Package hypcap Error: You have forgotten to use \caption.” error from this part of my code

I keep getting the error I listed above from this part of my code. When I take it out, it runs fine and I get no errors. This table is part of a chapter that gets input into a larger paper. This is ...
7
votes
7answers
205 views

Complex table with cell/box inside cell

everyone. I'm currently beginning to use LaTeX technology and stumbled upon this problem, I have read several tabular manuals on CTAN with no success. I'm trying to create a table like this: ...
4
votes
2answers
2k views

How to avoid exceeding TeX capacity when using multi-page tables?

I'm using the longtable package (together with xcolor for alternating row colors and booktabs for elegant table headers) to generate a huge table. And by huge, I mean it has more than 900 lines and ...
1
vote
1answer
19 views

adjust distance between the rows and repeat header in each page?

I faced problem in longtable, as each column is long it print in one page as picture shows, also when goes to next page need first row header repeats. \documentclass{article} ...
1
vote
1answer
35 views

Setting table-width exactly to linewidth

I'm trying to create a table with exactly the same width as the surronding text. I would expect that the command \resizebox{\linewidth}{!}{..table..} should do the job. However, the tables width is ...
1
vote
1answer
31 views

How to get siunitx to centre columns of integers correctly

I've just discovered siunitx, which seems to do what I want with tables, that is centering a column but keeping numbers decimal aligned. I find it doesn't work for a column of integers (say 99, 9, 99, ...
0
votes
0answers
52 views

Packages for programming documentation [on hold]

I am writing an exercise in school in which I've done some programming. I need to document and explain my design choices in my programming. Aren't there any suitable packages to create some kind of ...
2
votes
1answer
34 views

Fitting table with 2 tabularx environment (Beamer)

I am trying to make a big table fit into a beamer slide. My table has 2 panels which are 2 tabularx environments. My attempt involves one \resizebox for each tabularx environment (see code below). ...
1
vote
1answer
31 views

my table doesn't completely close all the borderlines

using this lines for making a table, I noticed that it doesn't close all the border lines, and also I wanted to make the vertical line before the alpha character \alpha, thick or double, just don't ...
11
votes
1answer
7k views

How to put a full-width table at the top or bottom of the same two-column page as the reference text?

I'm posting today because I would like to reduce white space in a document I'm writing. The content is two-columns but I have floating tables that span across both columns (table*). At some point, ...
5
votes
2answers
54 views

Breaking inline math within longtable or tabular

So, I've got the following code: \documentclass{memoir} \usepackage{longtable} \begin{document} \begin{longtable}{p{0.4in}cp{2.75in}p{1.8in}} Symbol & Unit & Describes & Equivalent ...
0
votes
1answer
32 views

Not vertical centering in multirow at \newline

MWE \documentclass[a4paper,11pt]{article} \usepackage{multirow} \usepackage{array} \begin{document} \begin{tabular}{|m{3cm}|m{3cm}|}\hline X & Y \\ \hline \multirow{2}{*}{No problem} & One ...
3
votes
1answer
40 views

\ifstrequal in tabular produces spurious spaces

I'm working on a LaTeX class for my university's thesis format, which requires signature lines on the title page. The sig lines are labelled differently depending on what kind of a thesis it is, so ...
5
votes
3answers
67 views

No horizontal centering in multirow at \newline

MWE \documentclass[a4paper,11pt]{article} \usepackage{multirow} \usepackage{array} \begin{document} \begin{tabular}{|>{\centering\arraybackslash}m{2cm} ...
1
vote
1answer
72 views

Positioning and spacing of tables

I'm new to LaTeX and I already know that my question seems too stupid. Actually I'm writing a text as follows: The exact dimensions of the system are listed in Table……\\ \begin{tabular}{|c|c|} ...
5
votes
5answers
179 views

Make a sentence into two lines to make column width narrower.

I have a table that has multiwords and columns \documentclass[12pt, twocolumn]{article} \usepackage{booktabs} \usepackage{multirow} \usepackage{lipsum} \begin{document} \lipsum \begin{table}[ht] ...
1
vote
0answers
23 views

longtabu bottom caption too close

I want to add the longtabu caption bottom of the table. I know this is not good. But I was told to do so. When I do it as in the code sample, the caption comes too close to the table. But after the ...
2
votes
1answer
38 views

Set width of tabular column to the width of tabular numerals

Take the following code: \documentclass{article} \usepackage[oldstyle, tabular]{libertine} \usepackage{array} \newlength{\period} \settowidth{\period}{9999--9999} \begin{document} ...
2
votes
3answers
75 views

What's wrong with my table?

I am trying to write the following entries in a table \begin{table}[h] \centering $\begin{array} \toprule k & \lbrace c_{kj} : j=1, \cdots , 8 \rbrace \\[1ex] 1 & \lbrace 0 , 190 , 359 , ...
1
vote
1answer
53 views

Simple import of data with special characters for table

I'm currently trying to import a set of data from a file (comma or tabbed delimited, doesn't matter) for creating a table. Below is an example of this data (DH parameters in case you're curious): ...