{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)

0
votes
0answers
6 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} ...
0
votes
0answers
12 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
20 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
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
45 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
18 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 ...
2
votes
2answers
31 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
1answer
24 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 ...
0
votes
0answers
57 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
57 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 ...
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
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
30 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
46 views

Packages for programming documentation

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 ...
7
votes
7answers
199 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: ...
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 ...
2
votes
1answer
33 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). ...
3
votes
1answer
37 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 ...
2
votes
2answers
59 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} ...
5
votes
3answers
66 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} ...
0
votes
1answer
30 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 ...
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 ...
5
votes
5answers
175 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] ...
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
74 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 , ...
0
votes
1answer
44 views

LaTeX table help [duplicate]

Does anyone have or can derive any LaTeX code of the form of this tricky table? Thank you \documentclass{article} \usepackage{multirow} \begin{document} \begin{tabular}{|cc||c|c|c|} \hline ...
2
votes
0answers
20 views

!h float parameters for table environment [duplicate]

Latex float parameters look messy to me. I was reading this which says, You can force LaTeX to use one given position. E.g. [!h] forces LaTeX to place it exactly where you place it (Except when ...
1
vote
0answers
30 views

Longtable breaking into very small sections over many pages.

I'm writing a paper in the format of Monthly Notices of the Royal Astronomical Society (MNRAS- mn2e). I seem to be having quite a few issues with my tables for it. I have several long tables that ...
3
votes
1answer
50 views

Sideways table not centered in the page

I'm writing a paper in the format of Monthly Notices of the Royal Astronomical Society (MNRAS). I have several tables I need landscaped since they are too wide. I have used the sideways table command ...
1
vote
1answer
33 views

Removing indention before first table column

I want to remove the space before the first column entry of a table environment in a CV, in order to align it with the section header. The output looks as follows: I am aware that it might look ...
1
vote
3answers
58 views

How to use table in text format as regular table (and reference to it)

I have such text table: Descriptive statistics ================================================================= Statistic N Mean St. Dev. Min Pctl(25) Median Pctl(75) Max ...
2
votes
1answer
30 views

Problem arise displaying table caption

I am facing and issue regarding table caption. The code is the following: \documentclass[12pt]{report} \usepackage[utf8]{inputenc} \usepackage{gensymb} \usepackage[version=3]{mhchem} ...
4
votes
2answers
105 views

Need a Macro for Tables - independent of row and column size

I have created the following macro for Table: \newcommand{\createtable}[7]{ \begin{table}[htbp] \begin{tabular}{|p{8cm}||p{8cm}|} \hline \begin{center}\textbf{\cellcolor{Orchid!25}{#1}}\end{center} ...
0
votes
0answers
10 views

I am having problems with table placement [duplicate]

Hi I am sorry if this is a repeat, I tried to find a similar problem but I could not. I am making Cayley tables and I quite like the ease of the code I am using, but something strange keeps happening. ...
4
votes
1answer
43 views

LaTeX places table outside of page margin

I'm using the KOMA class scrbook with the font Tex Gyre Pagella (11pt) and onehalf-spacing. I am placing a table float with the position options "htb", but both pdflatex and lualatex place the table ...
1
vote
0answers
25 views

Transforming my table in longtable

I've been trying to transform my table into a longtable desperately for the past hours. I looked at numerous examples, checked the documentation but I cannot get it working. So I have a pretty long ...
1
vote
0answers
10 views

Error after inputting frmttable stata table

I am using the Stata user written command frmttable to create journal-like tables and to write them to LaTex. When I use the command \input{... .tex} the table is displayed like I want it, but LaTex ...
3
votes
2answers
116 views

An error in my table

I am trying to write the following entries in a table \begin{table}[h] \begin{center} \begin{tabular}{@{}llllllll@{}} \toprule $c_{ij}$ & 1 & 2 & 3 & 4 & 5 & 6 & 7 ...
0
votes
1answer
28 views

Table not displaying in desired location [duplicate]

I am writing a lab report and I want to display the a table underneath my Results section. This is my code: However, the result looks like this: Why is this the case? Thanks!
5
votes
1answer
38 views

How to change row height without using renewcommand?

I have a very large table and in order to make it fit the page I need to shrink its rows. I managed to obtain the desired effect by using \renewcommand{\arraystretch}{0.9}. However, the journal for ...
4
votes
1answer
23 views

How to place individual tables in the subtable environment each on a separate page?

Complete beginner here. I have two (landscape) tables that belong together (one caption, each table has its own subcaption). I'm using the subtable environment and everything works - apart from one ...
2
votes
2answers
33 views

Align text and image in table

My table looks like this: The left column will contain words, like it is now, and in the right column I want to add these small pictures (some are a bit bigger than this one) in every row. I have ...
1
vote
1answer
37 views

Refer to a table as figure

I have a table where I have put pictures (plots) in each cell. The whole point of making this table is for comparison of the plots. However it does not look good to refer to this set as a table, ...
1
vote
1answer
21 views

table extrude from solution envrionment's frame in exam document

I'm using the exam class, and I have tables in it's solution environment, but I found that a table extrudes from the frame of the solution environment at the bottom of the page, see the image shot ...
4
votes
3answers
57 views

Aligning headers with column better

The columns are slightly offset from the headers. I've tried playing around with a bunch of things (which is why the code is a bit of a mess now). Any suggestions how to fix this? ...
3
votes
3answers
87 views

'Undefined control sequence' error when typesetting table

The error is Undefined control sequence. Here is the code: \begin{table}[htb!!] \center \begin{tabular}{|c|c|c|c|c|c|} \hline \multicolumn{2}{|c|}{Experiment} & Initial tip deflection ...
1
vote
1answer
51 views

Table unnecessarily starting from next page in latex

How can i stop my table in latex to start unnecessarily from next page leaving a huge space in previous page? How can i force to start just after the heading. Please help, here is my code: i am using ...
0
votes
2answers
54 views

Align and format table

I have these two tables: I want that the first table (descarga de recursos) aligned with the second table (ver boletines) I tried to do the tables with online editors like http://truben.no/table/ ...
1
vote
0answers
12 views

How to concatenate expr into the pgfplotstabletypeset?

I have a file with time in seconds and I want to make a expression inside the pgfplotstabletypeset to convert the seconds into 2h35m40s. I only get how to convert to hours, minutes and seconds but ...
2
votes
1answer
37 views

siunitx table with separate-uncertainty is too wide

I'm using a tabular environment with the siunitx type S and the package option separate-uncertainty, like in the example below. In the resulting document, the columns are too wide, and the 3rd column ...