Latex longtable tabularx. Instead, either remove the setlength{ abcolsep}{1pt} or, if you need it for some resaon for a different table, make sure it is limited to this particular table only. Latex longtable tabularx

 
 Instead, either remove the setlength{	abcolsep}{1pt} or, if you need it for some resaon for a different table, make sure it is limited to this particular table onlyLatex longtable tabularx  About your second question

Since there's no need for automatic line breaks in any cells, using tabularx seems like overkill. . As you're looking to preserve the ability to set the width of the tabular material and to have three equally wide columns, you could proceed as follows: (i) Load the longtable, tabularx, and ltxtable packages, (ii) place the longtable material (which will contain column types defined by the tabularx package) in a separate file, and (iii) use the command \LTXtable{\textwidth}{<name of file. Below is the same example coded in two slightly different ways, the first using ctable, the other using your tabularx set-up. However rather than adding space between the columnslong table latex. I need to make a table over more than one page. However, using LuaLaTeX would seem like overkill for what you say you want to achieve. I am having some issues with formatting the below table. 2. ltxtable: 是longtable和tabularx的混合体,可以创建既可以跨页又可以自动调整列宽的表格。 1. A very long text. I do not know what to use, since I charged the package longtable but didn´t find the correct way to use it in this case. longtable provides commands to define a first and a general header as well as a general and a last footer. 例如:. You can use the lscape (or pdflscape) package to get a wide and long table spread over several pages. It only takes a minute to sign up. supertabular provides tabulars that can split across multiple pages. organize the header and footer material with endhead, endfoot and, if needed. The 20cm are just a wide enough length (2*20 = 40 > 21) and -1fill is to fill up the non covered part of the 20cm. —. I'm using tabularx to create a table of many rows, for which I'm also using ltablex to extend over multiple pages. longtable; tabularx (being weeded out for consistency. I have a table written inside a tabularx environment, but now is too large and I need to convert it in a longtable, preserving the same column distribution and width. endcollectcell with tabularx,seqsplit and collcell. I also tried LTXtable, but I guess I did not know how to use it properly. If you have a sentence inside of a table for example: Lorem Ipsum dolor sit I love Latex, but I hate table - the spacing between words is the same. A very long text. There are three ways you can insert tables in Overleaf: Using the Insert table button in the editor toolbar. * Install [2]pandocfilters. by this changes his solution start to work for me, before that I got errors {csvcoli & csvcolii & csvcoliii & csvcoliv & csvcolv & csvcolvi & csvcolvii} are. Assuming you're using one of the standard document classes (article, report, or book) or a document class that's built on a standard document class, the following code should work just fine. note that it is not tabularx that does this, if you load the tabularx package rather than ltablex then you get. 在LaTeX中,如果你想插入一个可以跨页的表格,你可以使用longtable包。以下是一个基本的例子: 首先,你需要在文档的前言部分(preamble)引入longtable包,就像这样:1 Answer. Ask Question. m means alignment in the vertical center, i. The “four-eyed” fish Anableps anableps has numerous morphological adaptations that enable above and below-water vision. . For example, I need the table to be gone to the next page automatically regardless the size of the table. 比较麻烦的. Not quite: I want to use longtable for sections which span over multiple pages, but when I do so the faint grey line is shifted rightwards slightly. /MikTeX/tex/latex and for its documentation in. A very long text. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. latex tex longtable Share Improve this question Follow edited Jun 4, 2019 at 22:38 MattAllegro 6,625 5 45 55 asked May 24, 2019 at 20:23 Романов Андрей 73 4 3. That's all. Below is a MWE of the problem I faced. For everyone having the same problem: (Probably you need to render twice) documentclass {book} usepackage {tabularx} usepackage [vlines] {tabularht} usepackage {adjustbox} egin. 簡単に使用できるオンラインLaTeXエディター。 インストール不要、リアルタイムコラボレーション、バージョン管理、何百種類のLaTeXテンプレートなど多数の機能。TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. tabularx (env. The motivation here is that the m -column sets an anchor in the middle (vertically) of the cell just like a p . item 5 & second line too end{tabularx} A simple solution is using a p paragraph column, you can combine with par to separate paragraphs within a cell. 90 extwidth}{lXl} with an empty second column. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. In my report I reached a point that I want to insert table (landscape) that would span multiple pages. The right border went a centimeter or so inside the table. For some of these you have to pay specialattentiontocertaincases,seebelow. But I din't have success. See the LaTeX manual or LaTeX Companion for explanation. SX, one better alternative to the command esizebox is to use the adjustbox package. which creates vertical space to by adding an invisible (0 width) horizontal bar of the height you need (in this case, 4 times the lowercase x, counting from the text baseline). 質問票は、alterqcm。 次ページに渡る表は、bigtabular、longtable。 表内のセルの色つけは、colortbl。 図・表を最後にまとめるには、endfloat。 表への文字の回り込みは、floatflt。 図・表の成分の回転は、rotating。 表内にリスト構造を作るには、listliketab。 列方向の連続番号は、makecell、行方向の連続. 'tabularx' solves the problem of long headers (does not fit otherwise in width). That means if I create a document with 1. Everything else works without the longtable in but I need that longtable. If you're looking to give your table an cleaner and simpler, i. @TOC LaTeX伪代码 (algorithm)分页展示 有些时候,LaTeX中的算法伪代码很长需要跨页展示,如下如图所示 我们只需要在egin {document}之前定义breakablealgorithm环境,代码如下 注意,要在导包部分加入下面命令。. Initially,. Maybe there is another useful package for page. 7. Follow. 3RRVt1coJ. Improve this answer. Edit: Your table is really huge! To put it on the same page where is title of appendix, is not possible or its content become unreadable small. Hot Network Questions A question about a phrase in "The Light Fantastic", Discworld #2 by Pratchett Geometry nodes: How to check object type Is a buyout of this kind of an inheritance even an option?. A very long text. 4cm, bottom=2. Tables. I tried ltablex, but this changed all the other tables in the text. 5) so as to fit the whole table on the page. 2 - Tab. I found it by doing a search on nest in the documentation. Second, Variable, Cluster 4 until Cluster 7. This is not the case with xltabular: no \caption, no counter change. tabularx (env. My code is as below: The main. Ingen installation, live samarbejde, versionskontrol,. Viewed 36k times. Sorry for being vague and thanks for your help. So far, I only found examples for tabularx which seem to made use of cmidrule. I have pasted my code below, can anyone help me? documentclass [a4paper,twoside,12pt] {report} usepackage {longtable} egin {document} egin {longtable} {r r r r r r r r r r r r r} caption {This table shows the volatges and temperatures of the cell immediately before. longtable包. Here's a juxtaposition of three possible solutions: with tabularx, with tabular, and with tabular*. You could do egin{tabularx}{0. g. I've been trying to continue/flow this table over to the next page using. I've been looking into this, and I have encountered two main "solutions": usepackage {arydshln} As decribed here. It only takes a minute to sign up. As you can see, it is very picky about where it breaks the words. I have also tried using the tabularx package and specified the width to extwidth to no avail, since the whole table doesn't fit still. I am working on Springer template, I want to create a tabularx table and I to fix the width of the columns. , setcounter{LTchunksize}{10}. As it does not work perfectly with head (no correct display of the head in. There are three ways you can insert tables in Overleaf: Using the Insert table button in the editor toolbar. The xltabular combines the functionalities of longtable and tabularx. Notice the ctable gives better spacing for the caption relative to the table. p means normal cells, they are like parbox with alignment at the top line. However you can see the narrower first column really needs. I am unsure about why this is happening. – David Carlisle. To use longtable, add this to your preamble. If longtable has been defined before this code is executed then within the area marked with wuhaobiao then longtable will work as before but prefixed by wuhao. I am trying to build a table using longtable and tabularx with the ltxtable. I also tried LTXtable, but I. Notice that the environment opening statement is different, in the example the table. longtabu - also provided by the tabu package, is a longtable version of the tabu table. If you like to have more, then you need to use fix of @David Carlisle (added in MWE below) documentclass [12pt] {article} % Pictures & Labels %%usepackage [capitalise] {cleveref} usepackage {graphicx} usepackage [table] {xcolor} usepackage {ragged2e}. I need to split a table (using longtable or other) with the tabularx settings. I would like LaTex to use page breaks within the tabularx environment, so that one part of the contains of \LongText will be displayed on the first and the rest on the second page. tex file can be just like this (with tabularx formatting)Tables. Another possibilities is to use novel tabularray package. It seems like I have a problem with the threeparttable by using tabularx. In the original example this section was entitled 'Teaching Experience', but in your answer its been changed to tabularx. A very long text. \documentclass {article} \usepackage [utf8] {inputenc} \usepackage {array} \usepackage {booktabs} \usepackage {tabularx} \usepackage. – jon. Example 1 – tabularx. To add a vertical lines between column 2 and 3, you can use egin {tabular} {ll|ll} (I added | and removed a l since you only seem to need 4 columns, but declared 5 of them) However, please be aware that horizontal lines from the booktabs package were designed to be. 12 was changed name of folder tools where were collected packages among others for tables styles (array,dcolumn, hhline, longtable, tabularx) to latex-tools. The short answer is no. You ask for a tabular length of extwidth but do not adpate the size of the column. Suppose you have a table with 6 center-aligned columns. One way of doing so would be to omit all vertical lines and to actually use the macros of the booktabs package -- \toprule, \midrule, \cmidrule, \addlinespace, and \bottomrule-- instead of \hline and \hline\hline. A very long text. For tables that fit to the text height, you can try one of the packages ltablex or ltxtable which combine the features of longtable and tabularx. Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top. – James Evershed. You'll find some examples of using longtable in its manual and lots more here in this site. It only takes a minute. sort. hline end{tabularx} end{table} (iii). If you’re new to LaTeX, using the toolbar in Visual Editor (option 1) is a great way to get started. page number is poorly placed. 4 Answers. When using the multicolumn command, you may need to run your code through LaTeX several times. You can do this with the caption package. Help with coverting tabularx into longtable. 'longtable' solves the problem of table length (does not fit in length). g. However, it doesn't. It is especially true for the cases when there is a long word in a narrow column. A very long text. I want to get a table that needs both to fit on width page and to continue in the next page. If you’re new to LaTeX, using the toolbar in Visual Editor (option 1) is a great way to get started. To fix this, I suggest you (a) load the fontenc package with the option T1 (to allow hyphenation of words that contain Umlauts and other accented characters), (b. tex file has the below code. Dec 17, 2009 at 21:36. I may need to give up some of my requirements in order not to make it too complex. Follow edited Nov 12, 2020 at 13:14. (Note that this latter offers an enhancement of ltxtable. I need to split a table (using longtable or other) with the tabularx settings. Add a comment | 2Addendum with two alternative specifications of some or all of the tabular material:. If you’re new to LaTeX, using the toolbar in Visual Editor (option 1) is a great way to get started. 75\textwidth} } and your lines will break automatically at the table edge & at the page break ;) – Mica. Writing the LaTeX code for the table in Code Editor. @Zarko mine worked fine a couple of years ago. The ltxtable package combines the features of the longtable and tabularx packages. item 1 par % 2. The original longtable increases the counter tablein any case, with or without a caption. 2 Answers. which brings the functionalities of longtable to tabularx. Use \footnotesize or, if you must, \tiny. 4 extwidth} avoids the overhead of tabularx and still adapts to the document page size – David Carlisle Mar 4, 2020 at. I installed this in my Master-file: \counterwithout {table} {chapter} \usepackage {caption} \usepackage {ltxtable} \usepackage {filecontents} \usepackage {longtable} \usepackage {tabularx} And this is the code for my table: Tables. 333aselineskip]{caption} usepackage{booktabs,tabularx,rag. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. These commands are actually used in the (admittedly brief) ltablex documentation, but a continued caption, which would be used in the general header (or footer), is not part of. . 1. Main diference are: csv file is reorganized: instead of semicolons are used comas. In the following example, I have also removed the center environment since longtables are automatically centered given they fit into the textwidth. fontsize {9} {11}selectfont. You add caption to at calstable in the same way as for other tabulars: Either you enclose the calstable in a table-environment, or load the [capt-of] [3] package and use the captionof {table} {command. I am dealing with a table that does not fit in a single page. Using extwidth within the inner tabularx is most likely going to result in columns being too wide. 2 Answers. You should probably make a couple changes though. BUT it looks like it deletes spacing between words. $ pandoc SORUCE -o OUT. load the tabularx package and use a tabularx environment instead of a tabular environment and set its desired width to extwidth. Lapo Filippo Mori for the excellent tutorial Tables in LaTeX2e: Packages and Methods. xtab extends supertabular by some features and improves page breaking. Here is an example tex document: \documentclass{article} \usepackage{array} \usepackage{longtable} \ Stack Exchange Network Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. 要使得表格能够换页,需要使用 longtable宏包 。. In above case the tabularx is the best solution (to my opinion) because: (i) it itself calculate column width, (ii) has prescribed width, (iii) columns are of paragraph type (not very relevant for this table). I would like the tables to stretch the width of the page, hence the use of tabularx. The following solution employs a table / tabularx combination, with a target width of extwidth; it employs the X column type for the final column. An. Never, ever use vertical rules. The environment tabularx is similar to tabular but more flexible. Something like the following? The solution suggested below uses a sidewaystable environment, employs a tabularx environment (with width set to extwidth and the first column type set to the (slightly modified) X type), restricts the height of the rotated header cells, and employs the macros of the booktabs package -- oprule,. If the table does fit on a single page and if, for some reason, you want it to be placed all on one page, then by all means do not use a longtable environment; instead, use a tabular (or tabularx, or tabulary, or whatever) environment, possibly. 1 it depends but usually something like {llp {. It only takes a minute to sign up. ! LaTeX Error: Something's wrong--perhaps a missing item. You need to (a) drop the existing table "wrapper", (b) convert the outer tabular environment to a longtable environment, and (c) use \endhead and \endlastfoot to set off the material that belongs in the header and footer, respectively. A column specifier X is missing. Grateful for any advice and thanks in advance! page-breaking. Delete egin {table}centering and end {table}, replace tabular with longtable, move caption and label to immediately after egin {longtable} {. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. HOWEVER it screwed up another table of mine (!!). An online LaTeX editor that’s easy to use. Dec 17, 2009 at 21:36. I have a tabular environment in my fancyhdr which works well, but when I do arraystretch or extrarowheight before a longtable the header also gets stretched. 4. The declaration. About your second question. Longtable interacts directly with output and cannot be inside anything else. If however longtable has not been defined then longtable will expand to use pltable and give an undefined error, even if the longtable package was loaded later. ) ltxtable combines features of longtable and tabularx. I'm very new to longtabu and LaTeX, so I found an example of a table and have a question. Sorted by: 1. The two arguments to fontsize are the actual font size in size and the size of the baseline-skip in skip. Then [<space>] always makes the row <space> as a minimum. Longtable allows you to write tables that continue to the next page. So the position for alignment is meant. LaTeX伪代码 (algorithm)跨页展示. The following screenshot shows just the header row and the first two data rows. 1,494 1 10 24. Sem instalação, colaboração em tempo real, controle de versões, centenas de templates LaTeX e mais. hline end{tabularx} end{table} ibliographystyle{spmpsci_copy} ibliography{Bibliography} end{document} How to active the auto-break of my table, i mean that I want to replace automatic the part of the table which penetrates the limits to next page as shown in that picture :. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. first i remove minipage and center environment. I'd like to adjust to the decimal point first. This is my code: If you want to prevent page breaking between rows use \\* rather than \\ You can use opagebreak but it has to be at the start of the row \\ opagebreak is equivalent to \\*. The new LaTeX3 package tabularray is an alternative to the outdated tabu package. You'll find some examples of using longtable in its manual and lots more here in this site. . Share. usepackage [english,french] {babel} usepackage [utf8] {inputenc} %%% Note that this is font encoding (determines. If you’re new to LaTeX, using the toolbar in Visual Editor (option 1) is a great way to get started. It only takes a minute to sign up. end {longtable} clearpage wocolumn. 4. There are three ways you can insert tables in Overleaf: Using the Insert table button in the editor toolbar. The table environment lets you create captions while the tabular environment enables you to insert values and margins for your table. You should use makecell after. Share. So let's use \usepackage {lipsum} to give us some context before and after the longtable. The 20cm are just a wide enough length (2*20 = 40 > 21) and -1fill is to fill up the non covered part of the 20cm. I was pretty happy with all my LaTeX code and would really appreciate a solution where I don't need to change the interior of the table or write all the numbers again. Long tables are natively supported by LaTeX thanks to the longtable environment, which replaces both the tabular and table environments or rather combines. An online LaTeX editor that’s easy to use. But the problem is that, I can't fix the width of tables, the results of my table : and that's my code: documentclass[twocolumn]{svjour3} %. I propose to load the xltabular package and use its eponymous environment, which combines the possibilities of longtable and tabularx. The package caption provides more control on placing captions in floating environments. I tried many answers such as this one but none seem to work to me. The default value of. I am trying to generate a table in a two column document. Oct 26, 2011 at 12:11. So you need to. g. You can control the caption placement by enabling the use of the "caption" package and then adjusting the skip between the table and the caption. 1; **p<0. I’m using tabularx for sections on single pages, but longtable for sections spanning multiple pages. multirowsetup Just before htextiis expanded, the multirowsetup macro is expanded to set up any special environment. Tags Tables Find More Examples An online LaTeX editor that’s easy to use. You also. (some other table. Using [<space>] adds space to the end of the last cell, so if the last cell of each row has significantly different contents, then the row height can vary. 5+. Align the text at the top of the cell. 3 Answers. Please ask separate question, if you have problem with this issues. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Ask Question. A very long text. They end up in the “footnote area”. Thanks in advance! ltablex enables the longtable feature for tabularx, so ultimately tabularx is now a longtable. the baseline is in the center. 0` is possible to manage to be referable. TeX isn't very good at sorting; that's why BibTeX and biber were created: to sort bibliographic entries alphabetically. Stack Exchange Network Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their. instead of decimal comas are used decimal points. tabularx. And add usepackage {longtable} to the preamble, of. Tabularx: Break long tables over several pages. Environments such as tabular, tabular*, tabularx, tabulary, and longtable-- hereafter, tabular-like environments -- should be used if much of the material they contain should be typeset in text mode. In an X column, you can change the spacing between lines inside a cell by adjusting aselineskip. You have to put the table code in another file, like table. 1,424 3 3 gold badges 12 12 silver badges 24 24 bronze. (TeX's hyphenation algorithm otherwise doesn't consider the first word, which is probably a bug really but TeX is frozen and isn't going to change that behaviour. I am sure there's a way to achieve this, therefore I am thankful for your inputs!Table in Two Column. I have a problem with changing background of the table cells/rows. Sep 24, 2010 at 14:43. However, since I'm loading these packages: usepackage {array} usepaclage {tabularx} usepackage {longtable} usepackage {tabu}TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. A comprehensive solution (based on this answer) is to define new column types (say, L, C, and R) that take their width as argument and do the following:. (1) welcome, (2) please post full minimal examples not sniplets others cannot work with. (Well, LuaLaTeX offers access to Lua's table functions, including table. 이 지시자로 지정된 칼럼은 표 전체의. 6hsize: tabularx can not do anything sensible with such a specification, anything it does is accidental:-)Be aware that the way tabularx parses the con-tents of a table limits the possibility of de ning new environments based on the tabularx. I have been trying to have vertical lines only on the 4th, 8th, 12th, 16th, 20th an 24th week, i. documentclass{article} usepackage[utf8]{inputenc} usepackage{array} usepackage{booktabs} usepackage{tabularx} usepackage{ltablex}. words longer than the. ), takes a mandatory argument that is the column descriptors. I have a table (tabularx) that is larger than a single page, so I tried using the longtable package. The tabularx package. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. l. Please suggest me what package to use to maintain X features in a table and which can be spanned across multiple pages. You also need to get rid of any surrounding table environment, and push an eventual caption inside the longtable. With longtable you don't explicitly set the total table width but you can set the left and right margin to set the width as shown in the longtable documentation. "continued from previous page" and "continued on next page"). The sidewaystable environment does not let you split its contents across multiple pages. 4. Finally numprint allows for scientific notations in cells. 4cm, right=2. 2. With some simplifications of your code, shown with (a) longtable, (b) using tabular and with (c) tabularx the extra spaces and misalignment (and bad boxes) are gone. I also used the booktabs package to have better-looking horizontal rules and a less tight vertical spacing. Dec 14, 2017 at 14:23. Of course I could use tabularx but there were some things not working correct for my issue (to be honest I don't really can remeber what this thing was as it was far in the past). . Using LaTeX I want to layout a catalogue of exam question with the following requirements: All cell contents should be centered vertically Question and answer cells should have their text left-. xltabular improves the behavior of ltablex and combines tabularx convenience with longtable. usepackage{color, colortbl} Let me first show you how to define a new. Using xcolor. For 1, I need the package tabularx . Longtables are good at handeling tables that extend onto the next page, but they always have to start at the top of a new page. xltabular improves the behavior of ltablex and combines tabularx convenience with longtable. I defined three new column types F, R and L, for first column, the seven with decimal separators and the last one. Sorry for the downvote, but my question is about line breaks, not page breaks. Instead, either remove the setlength{ abcolsep}{1pt} or, if you need it for some resaon for a different table, make sure it is limited to this particular table only. I also changed the first column alignment to l as it's shorter than all other columns. Here, as the first step in our. It is far from clear what output you are trying to get. I meant the height of the rotated table (the width in the document). The following post will show you how to better present your data in tables through coloring rows/columns or even single cells to highlight important data. Modified 2 years, 1 month ago. You will need the following two packages, the first to define new colors and the latter to actually color the table: 1. 4 extwidth}p{. To create LaTeX tables, you must first create a table environment followed by a tabular environment. py. tex} end {document} Your table. If you need to change the font size of the longtable (say, to iny ), do encase the entire longtable environment in a pair of. ltablex – Table package extensions. So I changed my code to look like that: documentclass {scrartcl} usepackage [table] {xcolor} usepackage. – bastibe. All hlines in a tabular should be preceded by a as stated by @Zarko in a comment. 例如:. A main change, relative to the code fragment you posted, is moving the units to a separate header row; this makes each column just that much less. 3. 1 Answer. This is my code:TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. LTchunksize In order to TEX multi-page tables, it is necessary to break up the table into smaller chunks, so that TEX does not have to keep everything in memory at one time. Longtable. – James Evershed. This line increases the width of each column by 120pt; The longtable, as any other tabular environment ( tabular, tabularx, etc. 1. Align position of decimal point within tabularx. Further there may be times when some tables need to. As @TrevorAndrew has already pointed out in a comment, you need to switch from a table / tabularx setup to a longtable setup. What I would like is to change some global table options, e. Also, note that in the landscape environment, for a full width table, you have to use \linewidth or \textheight, but not \textwidth. Since you have none, it thinks \caption is part of the mandatory argument for longtable. Using it the table code is much shorter and simpler: Use > {\centering\arraybackslash}X instead of just X to center the text in the column. Nice minimum working example. 1. The second type of table needs to be flexible and have the option within its set up to wrap text based on characters such as _, as the word time_required_to_start_a_business will currently never wrap in a cell. tabularx generally only makes sense if you plan on using it with at least one X type column. (Aside: The X column type is, in fact, nothing but a p column, with LaTeX. 5cm,right=2. as in tabular*, \extracolsep {\fill}} allows the table to expand to the specified width, your table is too wide, so you need to use a multi-line cell (change the first l to p {2cm} or whetever width you want) or use a smaller font such as \small. TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. EDIT Like some comments below are remarking the table environment doesn't allow tables over more than one page.