longtable tabularx. All the width of the multicolumn entry is assumed to be in the third column. longtable tabularx

 
 All the width of the multicolumn entry is assumed to be in the third columnlongtable tabularx  tabu can contain any type of tabular, array, tabularx tabu can be put inside tabular, array, tabularx, tabular

This works: documentclass[10pt, landscape]{report} %Packages usepackage[utf8]{inputenc} usepackage[english. table. All the width of the multicolumn entry is assumed to be in the third column. The syntax is hlineB {number} (or clineB ), which will draw a horizontal. Copy the Generated LaTeX Table. Implementing page break in tabularx environment. The first row shows only the first line gets pushed to the right. tabu окружење је далеко мање фрагилно и ограничено од старијих. Using this environment, we create a table, that is automatically split between pages, if it has too many rows. I need to split a table (using longtable or other) with the tabularx settings. So let's use \usepackage {lipsum} to give us some context before and after the longtable. Delete \begin {table}\centering and \end {table}, replace tabular with longtable, move \caption and label to immediately after \begin {longtable} {. 292k 22 171 363. 6,m,j is define X similar as above, however options 1. Table in Two Column. This macro is named. In addition to not rotating the entire table, using horizontal lines from the booktabs package and tabularx in order to make sure the table fits into the available space, I also suggest decreasing the font size in the header row and in the first column. item 3 par 2. This is a some dummy equation to show what I already have. Tabularx: Break long tables over several pages. You can write captions within the table (typically at the start of the table), and headers and trailers for pages of table. There are three ways you can insert tables in Overleaf: Using the Insert table button in the editor toolbar. 12 was changed name of folder tools where were collected packages among others for tables styles (array,dcolumn, hhline, longtable, tabularx) to latex-tools. While this package is very new (might not be in TeXLive/etc. Longtable interacts directly with output and cannot be inside anything else. So if you actually want to merge two cells, you need multirow{2}{3em}{ TIR (\%) PP1} (notice the {. multicol_align. vor 4 Jahren. Um editor de LaTeX online fácil de usar. However, I already used the longtable code with all four columns as p columns, as I had to finish the table soon. I hope it will help someone. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more. Add a comment. organize the header and footer material with endhead, endfoot and, if needed. ) The package requires the array package, and needs e-T e X to. . Bases: pylatex. Feb 6, 2013 at 12:24. end{tabularx} 如果希望两者兼得,该怎么办?. Connect and share knowledge within a single location that is structured and easy to search. Use the tabularx, longtable, threeparttable[x] (kudos to Joseph) or ctable which support this behavior. 1. Table markers with tikz in Beamer presentation. setupTABLE [row] [1] [style=bold] and not change anything in the table body. If I have posted the same issue elsewhere, I have also mentioned it in this issue. So it suffices to add a label when the footnote appears first. To use it, add the line usepackage{tabularx} to the document preamble. Incidentally, I would place the long legend outside the longtable, in order to allow TeX to provide any needed pagebreaks freely, without being constrained by the longtable setup. documentclass[10pt]{book} usepackage{newpxtext,newpxmath} linespread{1. Minimal example:4. I've put a MWE below using the longtable package; I deliberately didn't put the longtable in the table environment so that it wouldn't float, and would show that it breaks across pages. Longtable allows you to write tables that continue to the next page. sty). 4. e. Well here it. A longtable + tabularx example. However, the template does not have this. "continued from previous page" and "continued on next page"). You could combine the capabilities of the longtable and tabularx environments: The former environment lets tables span multiple pages, and the latter lets you specify overall widths of a table and provides a column type, X, that expands automatically to take up the available space. Admitted I handle thing poorly when it comes to working with table. You can use any of the L a T e. The environment tabularx is similar to tabular but more flexible. This affect ownum. Writing the LaTeX code for the table in Code Editor. With tabularx={X||Y|Y|Y|Y} you basically made all 5 columns equally wide. Just a quick comment that you should always provide the central brackets in multirow. 簡単に使用できるオンラインLaTeXエディター。 インストール不要、リアルタイムコラボレーション、バージョン管理、何百種類のLaTeXテンプレートなど多数の機能。 4 Answers. Longtable allows you to write tables that continue to the next page. Here are two versions, one with an X column and one plain tabular. "I thought by making every column dependant on the extwidth variable and adding the values up to 1 I would get a table which ultimately is as wide as the headerline. The longtable environment has a mandatory argument in which you specify the number of columns. Remove ruledtabular and use p type for the first column. You can write captions within the table (typically at the start of the table), and headers and trailers for pages of table. There are three ways you can insert tables in Overleaf: Using the Insert table button in the editor toolbar. usepackage{amssymb} % Nice variable symbols. 6 time, m vertical center cells contents, and j that cells content is justified. The xltabular combines the functionalities of longtable and tabularx. To use longtable, add this to your preamble. 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. Maybe there is another useful package for page. You can use any of the L a T e. That is it, it prevents the numbering of the second table. the screenshot is the original German though. Table Generator. Related. Middle-p cell Top-p cell Bottom-p cell Bottom-p cell Middle cell This is a para-graph that starts at the center and keeps continuing Paragraph from top This is the biggest paragraph. In the tabularx and longtable environments, a foot note against a word/phrase can be generated by inserting the footnote{ } command after it with the foot note as the argument of the command. ltablex also combines features of longtable and tabularx. Please consider the following example for better understanding. I created a long table for my dissertation, But the border not completed as shown in attached figure: The code is: ewif\ifuseudlogo % uncomment the following line if you want the UD logo in the title page \useudlogotrue \PassOptionsToPackage {usenames, dvipsnames} {color} %\documentclass [11pt,phd] {uddissert2021} \documentclass [11pt. The code of each such environment (with X specifiers in its column layout) should be in a separate file, which is then included in your document by a command LTXtable{<width>}{<file name>}. Tags Tables Find More Examples An online LaTeX editor that’s easy to use. Bernard. A quick example is the following table:. 3 Answers. Sorted by: 4. in this case the abulinesep has a much more appropirate effect on the results: documentclass[preview]{standalone} usepackage{tabu} egin{document} { abulinesep=1. longtable; tabularx; ltxtable; Vartaghan. item 2 & this works hline 1. Package array Error: Illegal pream-token (centering): `c' used. Visit Stack Exchange需求1:有时表格内某个单元内容太多,需要换行!需求2:有时表格内某个"单元需要枚举"!即多次换行;每个每个枚举项内容少但是长度不一,此时需要"左居中 + 手动设置每项缩进"! 宏包:usepackage{makecell}环境:tabular命令:makecell[居中情况]{第1行内容 第2行内容 第3行内容. Tables. Parameter values are good for analyzing skin disease symptoms properly. 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. Below is the code and appearance using tabularx, as I want it to stay using longtable. Here is my preambule: \documentclass [12pt] {article} \usepackage [letterpaper, left=2. 25in opmargin 0. Hence the caption shouldn't be separated from the. . View Source. Tables. This package can be loaded using the command usepackage{tabularx}. I am sure there's a way to achieve this, therefore I am thankful for your inputs!I am trying to create a table in LaTex. tabu can contain any type of tabular, array, tabularx tabu can be put inside tabular, array, tabularx, tabular. \\ \hline \end{tabularx} \end{table} \bibliographystyle{spmpsci_copy} \bibliography{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 : Consider Table3. Follow. I replaced the multicolumn{1}{c|} with a simple centering. However, the footnote{ } command cannot be used directly inside the tabular environment. If you’re new to LaTeX, using the toolbar in Visual Editor (option 1) is a great way to get started. I've taken the liberty of editing the code of your second example a bit, e. Jan 5, 2014 at 8:08. Re: Longtable package is not working in two column mode Post by frabjous » Wed Aug 04, 2010 9:02 pm The supertabular and xtab packages will allow you to have a long multi-page table in a multiple column environment, but they don’t seem to actually wrap the table across the columns. Normally, I would "embed" longtable into a ThreePartTable environment, define appropriate \endfirsthead, \endhead, \endfoot and \endlastfoot and include notes with \insertTableNotes. Jan 26, 2017 at 20:14. As @TrevorAndrew has already pointed out in a comment, you need to switch from a table / tabularx setup to a longtable setup. Copying and pasting a table from another document while using Visual Editor. 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. En online-LaTeX-editor som är enkel att använda. Improve this answer. At this point it thinks that the first two columns are very narrow. in the fourth row the spacing is smaller)? Maybe by using siunitx package?As @DavidCarlisle has already pointed out in a comment, nobody should ever employ esizebox-- or its close relative, scalebox-- to force the tabular-like material to occupy a given width, say, linewidth. This package loads package ltablex , but keeps the current tabularx environment as is. 8. Modifies the tabularx environment to combine the features of the tabularx package (auto-sized columns in a fixed width table) with those of the longtable package (multi-page tables). Feb 5, 2021 at 9:46. 2x the font size. However, by doing that the figure information will be too small! I know there are packages such as longtable, supertabular, xtab and others, but I am not familiar with any of them, and I don't know which one is the best -- at least, in my case. The multicolumn command is suppressed in. ), takes a mandatory argument that is the column descriptors. The declaration. A table enviroment cannot be broken across pages. The latter is useful for the last column with the description text. This editor try to handle as many typographical or compatibility issues as possible to generate the cleaniest code possible. 7. One can specify the vertical alignment -- top, middle (default), and bottom -- of a tabular environment via an optional argument. If you have a single row you'd rather include as part of the breaking point, you can insert a blank line just before the longtable, which should result in the lowest line moving to the next page. Here is a solution that should solve most problems: I use the ltablex package, which is a extension of longtable to tabularx. 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 the example. The tabularx environment, provided by the package of the same name, has a similar syntax to tabular* but instead of adjusting the inter-column space,. I've tried with longtable but can't get it to work. ) Rules of the game: • Put the longtable environment using tabularx style X column specifiersUse tabularx or longtable from the LaTeX tools distribution; they’re noticeably less efficient than the standard tabular environment, but they do allow footnotes. Specifically, this is option 1 in the question you linked. Analogously you can replace the Y column type you used for columns 3 and 4 with simple r type columns. sty, which tabularx uses (as well as curve. The tabularx environment lets us obtain uniformly spaced-out columns that add up to the specified width. Un éditeur LaTeX en ligne facile à utiliser. longtable provides commands to define a first and a general header as well as a general and a last footer. I want latex to be able to break this up on multiple pages. Copying and pasting a table from another document while using Visual Editor. Follow answered Jun 1, 2020 at 21:00. . Improve this answer. Featured on Meta We're rolling back the changes to the Acceptable Use Policy (AUP) Update: New Colors Launched. Moreover, I have seen a code in this link to make use of a longtable package. It is centered; of course with a non symmetric text block, such as with book, the longtable will stick out the same length on both sides of the text block. AFAIK tabularx or tabulary only helps if you have longer text in at least one cell which then can be broken to fit into the rest of the line width. My pdf begins with a , !! Why. 75 extwidth} } and your lines will break automatically at the table edge & at the page break ;) – Mica. I want to produce a LaTeX frequency table with many variables using the user written tabout command in Stata. 3! Package array Error: Illegal pream-token (s): `c' used as well as No output of units using siunitx. usepackage{ragged2e} usepackage{tabularx} egin{document} egin{tabularx}{5in}{|X|X|X|}hline Persian Cat & Dachsund Dog & Holstein Cowhline. And, by all means, do load a package such as mhchem and start writing chemical compound names in a streamlined and easy-to-read fashion. The code of each such environment (with X specifiers in its column layout) should be in a separate file, which is then included in your document by a command \LTXtable {<width>} {<file name>} The \multicolumn command is suppressed in. Till to publishing of the TeXLive 2022 it will have outdated version of tabularray package. Using it the table code is much shorter and simpler:an ancient solution is possible with the package ltablex: Here is a MWE with booktabs, which provides better rules then hline (I recommend to read at least chapter 2 from texdoc booktabs) documentclass{article} usepackage{ltablex,booktabs} egin{document} egin{tabularx}{ extwidth}{XXX} extbf{Type of movement in the overlap zone} &. Since you have none, it thinks \caption is part of the mandatory argument for longtable. The new tabularray makes wrapping text in cells easier then ever before. Normally, I include code with lstinputlisting. 333aselineskip]{caption} usepackage{booktabs,tabularx,rag. Here's a juxtaposition of three possible solutions: with tabularx, with tabular, and with tabular*. page number is poorly placed. I believe esttab has an option to produce multi-page latex tables. @v_2e tabulary L column is same as \begin {flushleft} which prefers leaving a line short over hyphenation, you can use J columns instead for justified columns with hyphenation (the usual latex default). the baseline is in the center. An online LaTeX editor that’s easy to use. 5=3. In order to. Notice that the environment opening statement is different, in the example the table width is set to 0. I have learned the Github Markdown syntax, and formatted my issue correctly. Writing the LaTeX code for the table in Code Editor. Consider Table3. arydshln has to be loaded after array, longtable, colortab and/or colortbl. The column specification goes after \begin {longtable} and you don't use a \begin {tabular} inside it. Actually, xltabular loads ltablex. If you con-sider doing this, rst look at the documentation. The xltabular combines the functionalities of longtable and tabularx. 3. usepackage {longtable} and then replace every egin {tabular} by egin {longtable} and end {tabular} by end {longtable}. Latex: Longtable always starts in a new page leaving the previous page nearly empty (IEEE format ) 2. 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,. (Two X columns together share out the available. Use a tabularx environment (or its close cousin, tabulary). In addition, tabularx makes only real sense if you have at least one X column. , by performing the calculation of the p columns in the preamble and by using a tabular environment instead of a tabularx environment. Obtaining some parameter value through active contour method of infected skin disease like acne and psoriasis. Share. . 3. The tabularx package defines an extra clpr column specification, X; X columns behave as p columns which expand to fill the space available. I have a macro which takes 5 arguments, the last argument being optional. 8 extwidth, which is 80% of the document's text width. Observe: No filename extension. Longtable interacts directly with \output and cannot be inside anything else. In this example it's not really useful because their are only numbers and single words. 比较麻烦的. However, the font size is still set to 6 and 9. You don't need to use the longtable. Due to the fact that each column is padded on both sides you get one \tabcolsep on either end of the table, and 2\tabcolsep between two columns – one. Share. 4. togedo togedo. If you want the cell above to. Help with coverting tabularx into longtable. The package handles footnotes really well. Like the tabular* environment, the tabularx environment takes two arguments: the intended width and the set of column specifications. In the original example this section was entitled 'Teaching Experience', but in your answer its been changed to tabularx. Here is an example:Combining ThreePartTable, longtable and tabularx preserving table entries alignment. A new environment, tabularx, is defined, which takes the same arguments as tabular*, but modifies the widths of certain columns, rather than the inter column space, to set a table with the requested total width. 1 Answer. I propose to load the xltabular package and use its eponymous environment, which combines the possibilities of longtable and tabularx. Teams. Copying and pasting a table from another document while using Visual Editor. longtable has a reputation for failing to interwork with other packages, but it does work with colortbl, and its author has provided the ltxtable package to provide (most of) the facilities of tabularx (see fixed-width tables) for long tables: beware of its rather curious usage constraints — each long table should be in a file of its own, and. 1. 2. Improve this answer. – daleif. Abstract An example using the longtable environment to create tables that span multiple pages. See ctan, search for tabular, longtable, and also for tabularx (because you want it on one page, longtable won't be needed). (By the way, I embedded the tabularx environment in a center environment to align the table with the regular text and. (This is a ‘feature’ of TEX’s primitive \halign command. Additional text can be added before and after the formatted number. rango & total\_isnull midrule So I tried to put label and caption before oprule , but it nevers compile. . Samarbeta i realtid, utan installation, med versionshantering, hundratals LaTeX-mallar, med mera. At present, the LaTX 3 programming layer is basically mature. The original longtable increases the counter tablein any case, with or without a caption. Improve this answer. This doesn't work for me. 2 +. Also, you can add a caption on each continued page to indicate that it the table is continued from the previous page. 32 you may use numprint032. E. No installation, real-time collaboration, version control, hundreds of LaTeX templates, and more. And I heard that tabu is supposed to be the newest and best package for table but haven't tried it yet. First line of ltxtable/longtable indented. Boolean variables in LaTeX. Instead, use a tabularx or a tabular* environment to set the overall width to, say, linewidth. This is potentially more useful than the. Apr 22, 2019 at 20:57. An online LaTeX editor that’s easy to use. " This is almost true, but you forgot the intercolumn space that is automatically added. The first line of each longtable is indented, how do I get rid of. MultiMarkdown use tabulary, and probably tabularx has better footnote in table support (I once need to manually turn the tabulary table in mmd to a tabularx one). I read about arydshln that it should be added after usepackage{tabularx} usepackage{longtable}. Before doing that, you also need to include package makecell. 1,1,2,3,5,8,13,21,34,55,89,144,233,. This space is defined with the length \tabcolsep. - The longtable package provides the longtable environment as replacement for the combined table and tabular environments. Mehr Beispiele anzeigen. An online LaTeX editor that’s easy to use. The environment tabularx is similar to tabular but more flexible. Open this example in Overleaf. This is the code I use: documentclass{article} usepackage[skip=0. If you are not familiar with selected package, read (at least briefly) documentation, which is accompanied with package. This is not the case with xltabular: no caption, no counter change. 1. Tabularx, pylatex. The environment xltabularuses longtablefor typesetting the tabular. I used tho centered columns for you ( {c c} );Vertical alignment in cell of longtable. The documentation shows an example that only looks right after four passes. 3. – v_2e. Here it works:We would like to show you a description here but the site won’t allow us. An example using the longtable environment to create tables that span multiple pages. –I've achieved what i want with tabularx: documentclass{report} usepackage{tabularx} egin{document} egin 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. table. In the code below, I use [t] (for "top" alignment). Initially,. Learn more about TeamsHere is some code for a table that spans several pages (I reduced its length). You'll have to use a fixed-width p {<len>} column for your tabular, or consider using tabularx. 0. – egreg. Like the tabular* environment, the tabularx environment takes two arguments: the intended width and the set of column specifications. The indentation in the description part can be achieved via hangindent and hangafter (assuming there is only one paragraph). 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. Open as Template. Follow. That works just as advertised. I am using tabularx to create a very large description table, where the content of a lot of the cells is either quite long — spanning over more than one line — or requires an explicit new line. 279 1 4 10. Later, you must use egin {longtable} and close it with end {longtable}. – David Carlisle. +1. Use longtable with functionality of tabularx? Postby jaykemper » Tue Apr 14, 2009 10:20 pm I'm developing a table spanning several pages and using "longtable", but. (Note that this latter offers an enhancement of ltxtable. If you’re new to LaTeX, using the toolbar in Visual Editor (option 1) is a great way to get started. The following screenshot shows just the header row and the first two data rows. Package tabularx takes care of abcolsep and the width of the vertical rules, if it calculates the column width. It will be a really long table and here is what I have till now: \documentclass [12pt] {article} \usepackage {mathptmx}% \usepackage {tabularx} \usepackage {color} \begin {document} This document is a list of changes made according to the requests. Copying and pasting a table from another document while using Visual Editor. 45. (You can, of course, still make use of the tabularx package to simplify the creation of equal-width columns for columns 2 to 5 of the table. I have a long table in my (two column) Latex document. Instead of longtable is better to use xltabular, which is combination of longtable and tabularx packages, where for the last column employ X column type. Tabularx: Break long tables over several pages. –Aligning +- sign in table. – Alejandro DC. Additionally you'll need the packages 'ltxtable', 'tabularx', 'longtable' and 'rcsinfo'. Instead, consider loading the pdflscape package and using that package's landscape. You'll find some examples of using longtable in its manual and lots more here in this site. Here is a way to do it with the ltablex package, which brings the functionalities of longtable to tabularx. Sorted by: 59. HOWEVER it screwed up another table of mine (!!). If you use @ {…} the code of the argument of @ is added instead of the distance. If you’re new to LaTeX, using the toolbar in Visual Editor (option 1) is a great way to get started. To explain some more: By default LaTeX adds hskip abcolsep before it starts a column and after it has finished a column. I would like the tables to stretch the width of the page, hence the use of tabularx. The extracolsep applies to all inter-column gaps to its right as well; if you don’t want all gaps stretched, add extracolsep{0pt} to cancel the original. 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. Edit: Sorry for the lack of information. Default value is NULL. You can use any of the L a T e. 3 Answers. I used text labels here for each paragraph, but you could use bullets. Improve this question. It can be there only as symbol & or you need to eliminate it or close multicoumn cells before it, for example `multicolumn {4} {c} {A} & N. Jul 8, 2015 at 16:24tabularx. Run "latex dateiliste. You could combine the capabilities of the longtable and tabularx environments: The former environment lets tables span multiple pages, and the latter lets you specify overall widths of a table and provides a column type, X, that expands automatically to take up the available space. documentclass[]{scrbook} usepackage{longtable} usepackage{tabularx, booktabs} usepackage{multirow} egin{document} chapter{Discussion} In this chapter the previously mentioned results will be discussed before conclusions are drawn from this in the next chapter. Last edited by Stefan Kottwitz on Mon Oct 09, 2023 9:06 am, edited 1 time in total. Aug 21, 2013 at 13:07. why have you defined P to be > {centeringarraybackslash}p but then used the long form > {centeringarraybackslash}p rather than P ? – David Carlisle. tabularx repeat headers at the start of each new page. I tried to use ltxtable to make it jump over to the next page and now spended a whole afternoon but could not make it work. tabelarni (*), array, tabularx i longtable okruženja je podržano koristeći sve karakteristike od numprint-a; spreadtab: spread listovi omogućavaju korišćenje formula. Writing the LaTeX code for the table in Code Editor. tabularx. All the width of the multicolumn entry is assumed to be in the third column. The previous example. Furthermore, both portrait and landscape tables are possible. Right, I just swapped the two lines changefont and fontsize and indeed the font after the table is then times new roman again. Tables. : This depends really on the table content. You may also want to think about removing all vertical bars and using fewer (but well-spaced) horizontal. Then the column specification using X columns is given in the following example. tabu can be used in place of tabular, tabular and tabularx X columns in tabu can be specified with a width coefficient the alignement (l,r,c,j) the column type (p,m,b) or even $. To use it, add the line usepackage{tabularx} to the document preamble. Using the example above, let us breakdown the important points used and describe a few more options that you will. Here’s a section of a (fake) CV illustrating the issue: As you can just. documentclass {scrartcl} usepackage {array,longtable. . However they both have different issues I am not sure how to work around. ins. hline end{longtable} end{document}{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"Changes","path":"Changes","contentType":"file"},{"name":"LICENSE","path":"LICENSE. Follow edited Aug 23, 2013 at 14:34. Use [h!] (or [H] with the float package) to control where the float will appear, and footnotetext on the same page to put the footnote where you want it. A final remark: don't use esizebox to. environment ='longtable', floating = FALSE, include. Share. To simply make your code compilable, you will need the following 4 packages: longtable, setspace, array and booktabs. Download the contents of this package in. togedo. Writing the LaTeX code for the table in Code Editor. Writing the LaTeX code for the table in Code Editor. m {width} Align the text in the middle of the cell. Here is my suggestion using the longtable package. documentclass {article} usepackage {array} usepackage {enumitem}% Not used here. Then there was a problem for which this answer helped by leading me. I try to create a multipage table that’s why I use the ltablex package and the tabularx environment. — You are receiving this because you commented. Share. In that environment, you merge cells both vertically and horizontally with the command Block and the content of the block is positionned at the mathematical center of. I hope you will agree that the "booktabs look" -- no vertical lines, fewer horizontal lines overall, and well-spaced rules -- is much. The longtable environment works similarly to the tabular environment. documentclass[twocolumn]{article} usepackage{color, etoolbox, lipsum, mathtools, geometry} usepackage. Tables. scaling tables never gives a usable result, so the fact that it doesn't work with longtable isn't an issue.