Questions tagged [tabulary]

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

Filter by
Sorted by
Tagged with
2
votes
2answers
38 views

Aligned environment effecting tabular environment

I have successfully incorporated an aligned environment in my tabular environment, but now my second column is not aligned with my first. I think that I need to remove the automatic line break after ...
0
votes
0answers
36 views

Prevent pagebreak in the longtable - tabulary hybrid

I like the hybrid of longtable and tabulary environments, that was devised on this site, so much, that I came to use it exclusively. References: Multi-page with Tabulary? Longtable and tabulary ...
0
votes
0answers
38 views

How to design this table? [duplicate]

I have this table \begin{table} \begin{tabular}{@{} l *{5}c @{}} \toprule \multicolumn{1}{c}{Method} & 0s & 1s & 2s & 3s & 4s \\ \midrule A & 52.7 & 76.9 & 56.5 &...
2
votes
1answer
47 views

align rows with columns of different widths

I've been failing to make a proper table where text width changes and have different sizes. Here is the table when I use tabulary environment. I want to have the columns have the same size and ...
7
votes
3answers
160 views

New to LaTeX and need help with a table for my Lesson Plan

I am new to LaTeX and I decided to use it for my Lesson Plans. I have created a table for my lesson planning. But I am struggling to have it aligned properly and to have it fill the whole page in ...
2
votes
1answer
32 views

Problem with tabulary when used inside user macro

I have having problems with tabulary inside a user macro. The purpose of the macro is to decide whether to use a longtable or tabulary, depending on the number of rows. Below is a MWE (or a MNWE, ...
1
vote
1answer
40 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
210 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
29 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
78 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
64 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
89 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
60 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
110 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
121 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
114 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
44 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
432 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
514 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
224 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
332 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
77 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
75 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
63 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
67 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
263 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
25 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
484 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
117 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
462 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
514 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
455 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
277 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
97 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 ...
0
votes
2answers
8k 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 \...
2
votes
1answer
34 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
58 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
594 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
382 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
53 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
219 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
239 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 ...
2
votes
5answers
699 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
367 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
113 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
64 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
615 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
671 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 ...