The article I am designing has a 4-page long table. Unfortunately, I cannot move this table to the page below. What can I do about this? I am attaching a screenshot of the problem.
Thank you very much in advance for your answers.
The article I am designing has a 4-page long table. Unfortunately, I cannot move this table to the page below. What can I do about this? I am attaching a screenshot of the problem.
Thank you very much in advance for your answers.
Hi, without showing how this table was created it’s hard to say. Could you post the code of a table that’s as simple as possible that still shows the problem (e.g. one column, lorem ipsum content, with one or two rows that don’t fit)?
Hi, Do you mean the following?
#figure(
placement: top,
scope: "parent",
caption: [Cytotoxic sesquiterpene coumarins used in this study and their references],
table(
stroke: none,
columns: (0.2fr, 1fr, 1.7fr, 0.8fr, 1fr, 1.3fr),
align: left+horizon,
table.hline(),
table.header([No],[Names],[Compound],[Species],[Cytotoxicity],[References],),
table.hline(),
table.cell(rowspan: 18)[1],table.cell(rowspan: 18)[Umbelliprenin],table.cell(rowspan: 18)[],[F. turcica],[Colo205: 49.5 µM],[(Eruçar et al., 2023b)],
[],[HCT116:\>50 µM],[],
[],[A498:\>50 µM],[],
[],[UO31:\>50 µM],[],
[F. sinkiangensis],[],[],
[],[HeLa: 202.2±1.2 µM],[(Li et al., 2015)],
[],[K562: 141.6±1.1 µM],[],
[],[AGS: 12.7±0.8 µM],[],
[F. assa-foetida],[],[],
[],[MCF-7:\>50 µg/ml],[(Iranshahy et al., 2019)],
[],[PC3:\>50 µg/ml],[],
[],[NIH:\>100 µg/ml],[],
[F. sinkiangensis],[],[],
[],[GES-1: 109.17±2.07 µM],[(Zhang et al., 2015)],
[],[AGS: 13.67±1.73 µM],[],
[],[HeLa: 75.83±2.66 µM],[],
[],[A549:121.53±4.41 µM],[],
[],[PC3:88.27±3.76 µM],[],
table.hline(),
table.cell(rowspan: 12)[2],table.cell(rowspan: 12)[Farnesiferol B],table.cell(rowspan: 12)[],[F. turcica],[Colo205: 42.3 µM],[(Eruçar et al., 2023b)],
[],[HCT116: >50 µM],[],
[],[A498: >50 µM],[],
[],[UO31: >50 µM],[],
[],[],[],
[F. samarcandica],[HeLa: 31.71±1.58 µM],[],
[],[HT-29: 8.33±0.34 µM],[(Zhang et al., 2024)],
[],[A549: 28.73±0.90 µM],[],
[],[],[],
[F. assa-foetida],[MCF-7: 42.1±0.79 µg/ml],[(Iranshahy et al., 2019)],
[],[PC3: 36.8±2.8 µg/ml],[],
[],[NIH: >100 µg/ml],[],
table.hline(),
table.cell(rowspan: 7)[3],table.cell(rowspan: 7)[Karatavicinol],table.cell(rowspan: 7)[],[F .turcica],[Colo205: >50 µM],[(Eruçar et el., 2023b)],
[],[HCT116: >50 µM],[],
[],[A498: >50 µM],[],
[F.seravschanica],[UO31: 34.4 µM],[],
[],[],[],
[],[Jurkat: 45.79±5.27 µM],[(Shomirzoeva et al., 2021)],
[],[],[],
table.hline(),
[4],[-],[],[F. seravschanica],[Jurkat: 60.11±6.43 µM],[(Shomirzoeva et al., 2021)],
table.hline(),
table.cell(rowspan: 3)[5],table.cell(rowspan: 3)[-],table.cell(rowspan: 3)[],table.cell(rowspan: 3)[F. sinkiangensis],[HeLa: 48±1.3 µM],[(Wang et al., 2020)],
[MGC-803: >50 µM],[],
[AGS: >50],[],
table.hline(),
[6],[Flabellilobin A],[],[F. pseudalliacea],[HeLa: 9.1±0.2 µM],[(Dastan et al., 2014)],
table.hline(),
table.cell(rowspan: 3)[7],table.cell(rowspan: 3)[Sinkiangenorin F],table.cell(rowspan: 3)[],[F. sinkiangensis],[HeLa: -],[(Li et al., 2015)],
[],[K562: -],[],
[],[AGS: 27.1±1.4 µM],[],
table.hline(),
[8],[10’,11’-epoxyumbelliprenin],[],[F. turcica],[Colo205: 44.4 µM],[(Eruçar et al., 2023b)],
[],[],[],[],[HCT116: >50 µM],[],
[],[],[],[],[A498: >50 µM],[],
[],[],[],[],[UO31: >50 µM],[],
table.hline(),
)
)<table1>
A properly minified version of your problem looks like this:
#figure(
placement: top,
scope: "parent",
caption: lorem(5),
table(
stroke: none,
columns: (1fr,),
align: left+horizon,
..7 * (lorem(100),),
)
)<table1>
As far as I can tell, the problem seems to be that while tables can span multiple pages, figures can not. The following works without a problem:
#table(
stroke: none,
columns: (1fr,),
align: left+horizon,
..7 * (lorem(100),),
)
A not very clean but working workaround would be to put an empty figure after the table. By doing this, you won’t be able to use placement: top
and scope: parent
. That means if your document has multiple columns, this workaround is unfortunately not really applicable. Also, to avoid the caption from going to a separate page, the table should be put into a sticky block:
#block(
sticky: true,
table(
stroke: none,
columns: (1fr,),
align: left+horizon,
..7 * (lorem(100),),
)
)
#figure(
kind: table,
caption: lorem(5),
none
)<table1>
Maybe someone else has a solution without these limitations…
I don’t have a solution, but I can provide some context. As mentioned in the documentation, figures can be made breakable:
#show figure: set block(breakable: true)
However, it seems that floating figures cannot be breakable. If you want a figure to span multiple columns you need scope
and placement
, which makes the figure a floating figure."