Questions tagged [longtable]

74 questions
0
votes
1 answer

pandoc | How to convert nested tables? | longtable vs tabular

I’ve successfully converted Jupyter HTML-format simple tables to LaTex-format tables using pandoc.read(raw.text, ‘html’).blocks in a lua filter. The resulting LaTex is \begin(longtable} … That’s okay for simple tables, but longtable does not…
0
votes
0 answers

multiple pages of longtable on one landscape page

I have a long two-column table. Is there any way to create something like this with r-markdown? (other than copy-pasting it out of the multipage output of longtable... ) Sorry if there is something obvious that I'm missing, but I really couldn't…
0
votes
1 answer

Landscape and Longtable conflict if both are used together in a table

I have data tables that need to be put in my thesis and they have to be in landscape mode since there are more columns and the headings have to be the same in all the sheets. The compilation takes too long on overleaf. I am also using the package…
Ryan
  • 35
  • 5
0
votes
3 answers

undefined columns selected while using cast function in r

I have dataframe contains of two columns: V1 V2 1 Austria 9.920692e-01 2 Austria 2.037756e+02 3 Austria -2.187730e+02 4 Belgium 7.590994e-01 5 Belgium 8.890127e+01 6 …
0
votes
1 answer

Longtables and caption: spacing problem

I am using the \longtable environment, and this is the code: begin{center} \scriptsize \begin{longtable}{|p{2cm}|p{4cm}|p{8cm}|}\hline\hline \multicolumn{1}{|p{2cm}|}{\textbf{Text1}} & \multicolumn{1}{p{4cm}|}{\textbf{Text2}} & …
panza
  • 1,341
  • 7
  • 38
  • 68
0
votes
1 answer

Creating a table starting midway on a page, and wrapping to the next in LaTex

I am trying to create a table in LaTex. The two methods for doing this I see involves using tabular or longtable. However they both have different issues I am not sure how to work around. Longtables are good at handeling tables that extend onto the…
user33108
  • 3
  • 1
0
votes
0 answers

How to end long table in Rmd pdf with double line

In Rmd knit to pdf we found out we can end a table with a double line like this: tibble(v1 = c(1:2),v2 = c(1:2)) %>% kable(booktabs = TRUE) %>% kable_styling(position = "left") %>% row_spec(2, hline_after = TRUE) %>% row_spec(3, hline_after…
MartineJ
  • 591
  • 5
  • 16
0
votes
1 answer

How I can draw vertical lines between columns in Latex?

How I can draw vertical lines between column 3 and 4, also between column 2 and 3? I used long table and \multirow and I wrap the text to become inside table but I do not know how I can draw lines between columns? the wrong result of code is…
RJFF
  • 37
  • 1
  • 5
0
votes
2 answers

Insert elegant table inside a two-column layout r-markdown document

I am working on an R Markdown document that can be downloaded from a Shiny App as a pdf. I have structured my 1-page document with a layout that presents two columns at the beginning and then again one column until the end. The main issue is that in…
nd091680
  • 585
  • 4
  • 15
0
votes
1 answer

How to fix alignment/display problems of a long table in a pdf document when using collapse_row and kable?

I have to produce data listings with quite long tables that have to be displayed on several pages and I want to collapse some rows (ex: ID). I'm using the package kable to produce the tables and the collapse_row function to collapse my ID…
0
votes
1 answer

Longtable, papaja, and single-spacing

I recently wrote up a manuscript (materials available to review) and found an issue with using longtable with papaja when trying to have a single-spaced table, although I think the issue is primarily when that table is presented with another short…
0
votes
2 answers

How to improve MySQL join to be more efficient?

I am trying to join table df1 with df2. The problem is that df2 is a very long table that have 40 million observations and I can't get the joined outcome in MySQL after waiting for more than 48 hours. So I want to ask if there is any way to improve…
Xiaomeng
  • 43
  • 8
0
votes
1 answer

Large longtable to fit in LaTeX

I'm trying to fit a multiple page longtable into my LaTeX document. Even after searching around for answers for longtable fitting in LaTeX I can't find a solution that works for my table. This is what my table is going to contain. It should be a…
DanishBeef
  • 15
  • 1
  • 5
0
votes
0 answers

Very wide and long table in latex?

There are several ways to split long tables over several pages in latex (e.g. longtable, supertabular). If the table is still to wide, using sidewaystable or lscape can be used. However, I have a long and wide table and I have not found a way to…
johomio
  • 77
  • 1
  • 1
  • 4
1 2 3 4
5