Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tabulary]

{tabulary} is for questions pertaining to the use of the tabulary package to create a tabular-like environment.

1
vote
1answer
20 views

Set specified width for column

I am trying to make a table and want to set the first column with specified width, namely 1 inch. I have seen some relevant solutions, but they basically use \textwidth. Therefore I am looking if ...
1
vote
1answer
55 views

how to create a table with acm

I am creatin a table with latex using ACM template with \documentclass[sigconf, anonymous]{acmart} This is my code: \begin{table} \centering \begin{tabulary}{\textwidth}{CLCL} \toprule \multicolumn{2}...
0
votes
1answer
25 views

Tabulary - missing number - treated as zero

I do understand where the error is about the missing number: Missing number, treated as zero. \end{tabulary} \documentclass[a4paper,11pt]{article} \usepackage{hyperref} \usepackage{fontspec} \...
1
vote
1answer
67 views

tikz graph in tabular

Καλησπέρα! I 'm trying to put graphs that are made by tikz in a tabular, but: the size of the graph is too big for the table, I 'm wondering if in not "safe" to combine tabular and tikzpicture ...
3
votes
2answers
61 views

Colourise rows of a table depending on a cell content

I looked around a bit but could not find an appropriate answer. I have a table in which I want to colourise rows green if there is a checkmark in the second cell, otherwise leave it white. I would ...
2
votes
1answer
85 views

Cannot typeset an equation correctly

I'm trying to typeset the following equation, but I get complaints about 'missing $ inserted'. \begin{equation} \label{Pearson} \begin{tabulary} {18cm}{L R @{} >{${}}c<{{}$} @{} L} &Sim_{a,...
0
votes
1answer
51 views

tabulary: overflow and column squeezing

I am having problems with tabulary in a 2-column table. If column2 has multiple lines of text, it causes column1 to be squeezed to a ridiculously small width. And column1 sometimes overflows into ...
0
votes
1answer
58 views

tabulary: Support for scaled column widths?

Can I use the tabulary package to create a 2-column table, with column1 using 30% of the available width and column2 using 70%? For example: \begin{tabulary}{|p{30%}|p{70%}|} ... \end{tabulary}
1
vote
2answers
109 views

reproduce a specific table

I am stucking to reproduce this triangle : This is what I did : \begin{table}[!ht] \center \begin{tabular}[b]{|l|c c c c c|} \hline & \multicolumn{5}{|c|}{developpement ...
6
votes
1answer
66 views

Missing vertical space in tabulary

Please consider the following MWE: \documentclass{article} \usepackage{tabulary} \begin{document} \begin{tabulary}{5cm}{rL} A & B\\[5cm] A & B\\ \end{tabulary} \end{document} ...
2
votes
0answers
94 views

'lstlisting' inside a table cell ignores line breaks

I am trying to put code listings within a tabulary cell. It works fine for the most part except that lstlisting is merging all lines into a single line. The MWE shows the problem. Any idea how it can ...
0
votes
1answer
41 views

2 tables horizontally

how can I have both well organized arrays with the same number of lines and organize the underlining in each part of the array ?? \documentclass{report} \usepackage[francais]{babel} \usepackage[utf8]{...
1
vote
1answer
329 views

Simple table without borders

I would like to draw simple table without borders but the problem the the content of the second column exceeds the margins of document How can I fix that problem \documentclass{article} \usepackage{...
2
votes
1answer
323 views

Change font size within table

I have this code: \documentclass[11pt]{article} \usepackage[margin=2.5cm, showframe]{geometry} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{setspace} \usepackage{lipsum} \...
2
votes
3answers
157 views

Remove space between specific column entries in table

I have this code: \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[margin=2.5cm]{geometry} \usepackage{setspace} \usepackage{...
1
vote
1answer
253 views

Wrap text around table

I am writing a report, where I in between text provide a couple of tables that fill an entire page. The code below is an example of how I have structured my report: \documentclass[11pt]{article} \...
0
votes
2answers
69 views

Customize Table Header

I have the following code: \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[margin=2.5cm]{geometry} \usepackage{multirow} \...
0
votes
1answer
53 views

wrong title width with subsubsections

After using tabulary to insert multirow table using this link, the title width of only subsection and subsubsection that comes after the table changed. I tried with titlesec package but it does not ...
1
vote
1answer
58 views

In tables how to auto wrap words (linebreak), align to the left, use only textwidth, preserve table numbering

It is very annoying to manually break lines within a table that contains lot of text. I have seen several questions (many really old, maybe deprecated) around here regarding setting the width of ...
1
vote
2answers
57 views

Table in landscape with wrapped text

I have \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[showframe]{geometry} \usepackage{colortbl} \usepackage{array, makecell, caption} \definecolor{gray1}{RGB}{238,236,225} \...
1
vote
1answer
199 views

Trouble with \begin{tabulary} vs. \tabulary

I'm working on some macros for recipe cards and I'm using the tabulary package to limit the width of the ingredients list. I played around until I found something the behaved the way I wanted, then ...
0
votes
0answers
24 views

Tabulary suppress frame border

I'm using Python Sphinx to generate my manuals which contains a variety of different tables. In some case I need to adjust a table, so that it doesn't show the frame any longer. Python Sphinx outputs ...
5
votes
1answer
436 views

Game theory payoff table - small correction needed

I would like to create a payoff matrix that looks like this: With the following code: \begin{align*} \begin{tabular}{cc|c|c|} & \multicolumn{1}{c}{} & \multicolumn{2}{c}{Suspect 2} \\\cline{...
1
vote
1answer
103 views

Word wrapping in tabulary not working with multicolumns

Why does this table overfull when I use multicolumns for the header? Without multicolumns the third column lines are wrapping, but not with multicolumns. \documentclass{article} \usepackage{...
1
vote
1answer
403 views

Wrapping text in tables

I have looked at previous queries of similar issues but the solutions don't seem to work for me (I am very new to LaTex so this is probably just me!) I am making a table which I want to fit within ...
8
votes
1answer
502 views

How do I “debug” LaTeX errors?

Consider: \documentclass[oneside,12pt]{article} \usepackage{tabulary} \usepackage{booktabs} \begin{document} \begin{table} \center \begin{tabulary}{22cm}{L C} \toprule \...
1
vote
3answers
316 views

Extend table width manually

Is there a way in which I could stretch the width of these tables? I do not need it to be necessarily the page's width. I have read the forums saying I should change to tabular* and put extracolsp{\...
-1
votes
2answers
240 views

How do you set max row height in tabulary

Ok, so I'm working with a sphinx-generated latex document and I'm trying to fix some of the rather ugly code - and generated output. I've got a table that doesn't split when it gets to the end of the ...
0
votes
1answer
93 views

How to Middle Align a vertical oriented text in Tables

This picture is a part of a table i am using, the terms subcases are vertically written but i cant center them vertically also in the next columns terms like A, B, etc are also not vertically centered....
0
votes
0answers
35 views

How Middle Align a vertical oriented text in Tables [duplicate]

This picture is a part of a table i am using, the terms subcases are vertically written but i cant center them vertically also in the next column terms like A, B are also not vertically centered. I ...
-1
votes
2answers
6k views

how to make font size small in a tabular environment [duplicate]

\begin{center} \small \setlength\extrarowheight{0.01pt} \captionof{table}{Nomenclature} \renewcommand{\arraystretch}{1.3} \setlength\doublerulesep{.1pt} \begin{tabular}{ |p{2cm}|p{5cm}|} \hline \...
3
votes
1answer
33 views

Errors when typsetting a table with odd columns and row alignments

I am trying to typeset a table with "odd" (by my standards, please forgive my inexperience in these matters) columns and rows. Here is what I have thus far: \documentclass[12pt]{article} \usepackage[...
0
votes
0answers
56 views

Table numbering problem

How to skip the table counter for table 1 in ThreePartTable and ltabulary, like we use \begin{table*}? Below is my Code \documentclass[oneside]{scrbook} \usepackage{showframe} \usepackage{longtable}...
2
votes
0answers
546 views

All Table options in one package [closed]

I have gone through tabular, longtable, tabulary, tabularx, supertabular, i want to know which of these packages or any other packages support all kinds of table options like mentioned below, Auto ...
3
votes
2answers
357 views

How to make this particular table better looking?

\documentclass[twoside,12pt,a4paper]{mwrep} % dwustronnie \usepackage[inner=4cm,outer=2cm]{geometry} % Marginesy (dwustronnie) \usepackage[utf8]{inputenc} % język polski \usepackage{...
1
vote
1answer
48 views

What's the default length in tabulary?

How to change table length in tabulary without changing the option in tabulary brackets \begin{tabulary}{length} ... \end{tabulary} I used 24 cm (landscape environment), points etc., but it doesn't ...
0
votes
1answer
197 views

Custom command to configure table style

I'm using sphinx to generate our company manuals. In our legacy manuals we have a certain table style, that we would like to keep. The table style consists of tables having a header with dark green ...
2
votes
2answers
212 views

Problem with longtable when the fancyheader contains a tabulary

For the document shown below, I get the following error: ! Extra alignment tab has been changed to \cr. l.103 \end{longtable} and the output is garbled. However, this only happens if ...
3
votes
5answers
603 views

Easy vertical alignment in Tabulary balanced columns

I want to vertically center the text in all table cells. However, I do not wish to specify fixed column widths but rather leave it to tabulary to balance the column widths. How do I properly use ...
0
votes
1answer
317 views

Problem with very long latex table

I have a small problem with my thesis. I was adding very long table suitable to 2 pages, but my texmaker editor shows me pdf file on just one page and the table is not completed. NExt issue is, that ...
0
votes
1answer
105 views

How to make the cells higher so the text would go on multiple lines and make the table more narrow

\begin{table} [H] \begin{adjustbox}{width=0.5\textwidth , center} \begin{tabulary}{\linewidth}{>{\raggedright}p{3cm}LLL}\\\toprule Vindhastighed (m/s) & Produktion (kW) & Turbinens ...
0
votes
1answer
63 views

Table without unnecessary whitespaces

fist of all, I'm not quite sure how to properly put my issue into words, let alone caption it, so I'm sorry if the title is slightly misleading. I think it's the easiest to describe by the following ...
1
vote
1answer
531 views

Top Alignment in Tabular*

I have searched for how to do this for an incredible number of hours, checking documentation, other answers, Wiki pages, and I am just plain confused. I am editing a nifty resume template I found ...
4
votes
3answers
576 views

multicolumn tabular is not adding column separator lines

I have a table like: \begin{table}[!htbp] \begin{scriptsize} \centering \setlength\tabcolsep{3pt} \begin{tabular}[m]{|m{2cm}|*{17}{c}|c|} \hline \multirow{3}{*}{Model} & \multicolumn{17}{c|}{APE ...
0
votes
2answers
301 views

Wrapping and itemizing in a table which already allows text wrap

Packages loaded and code is: \documentclass[12pt]{report} \usepackage{array,ltablex, makecell}% \renewcommand\theadfont{\normalsize\bfseries} % \renewcommand*\descriptionlabel[1]{\hspace\leftmargin$#...
1
vote
1answer
341 views

Allowing for tables that allow page breaks as well as don't

I have a setup in my preamble that allows this: \documentclass[12pt]{report}% Not sure what this is for \usepackage{array,ltablex, makecell}% \newenvironment{conditions} {\par\vspace{\...
5
votes
3answers
969 views

Wrapping text in a fixed width table so that table height adjusts

I looked at these questions but they didn't seem to solve my issue because using a parbox for the first column cell doesn't make the table adjust to the content in the first cell, nor does simply ...
2
votes
1answer
617 views

Wrapping text in tables which contains underscores

I have lots of text in multiple columns in tables which contains items with underscores. However, these do not wrap around a fixed column width, so I get: Here is my code: \documentclass[12pt]{...
2
votes
1answer
967 views

Runaway argument error for tabulary

I am using tabulary and have set up my environment like so: \usepackage{array,ltablex, makecell}% \renewcommand\theadfont{\normalsize\bfseries} \newenvironment{conditions} {\par\vspace{\...
1
vote
2answers
119 views

Longtable dimensions not appearing

I have the following packages loaded: \usepackage[]{multirow} \usepackage{longtable} \usepackage{csquotes} \usepackage{tabulary} \usepackage{array} \newcolumntype{L}{>{\centering\arraybackslash}m{...