Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long tables and multiple pages long #71

Open
drfurtado opened this issue May 22, 2024 · 2 comments
Open

Long tables and multiple pages long #71

drfurtado opened this issue May 22, 2024 · 2 comments

Comments

@drfurtado
Copy link

In the following example, my table is too long and will take on 3 our 4 pages. Is there a way to force the table to continue rendering to multiple pages?

Any help would be greatly appreciated.

#| label: tbl-mytable2
#| tbl-cap: My Table
#| apa-twocolumn: true
#| apa-note: This is a note below the markdown table.
#| echo: true
#| ft.align: centered

| Institution | Type | PE Activity | Required HW | HW Courses | Rec. Center |
|------|------|------|------|------|------|
| Arizona Christian University     |      |      |      |      |      |
|      |      |      |      |      |      |
|      |      |      |      |      |      |
@wjschne
Copy link
Owner

wjschne commented Jun 10, 2024

Sorry this issue escaped my notice. Is this for .pdf output or .docx?

@fkohrt
Copy link
Contributor

fkohrt commented Jun 27, 2024

I have this problem for PDF output:

test.qmd
---
title: Test
author: Author Name
lang: en
bibliography: lorem.bib
format:
  apaquarto-pdf:
    documentmode: man
    a4paper: true
    pdf-engine: lualatex
---

| Package name | Summary                                                 | GUI available               | GLMM support | Design limitations                                      | Reference       |
| ------------ | ------------------------------------------------------- | --------------------------- | ------------ | ------------------------------------------------------- | --------------- |
| lorem        | Lorem ipsum dolor sit amet, consectetur adipisici elit. | no                          | yes          | none                                                    | @loremIpsum2024 |
| ipsum        | Lorem ipsum dolor sit amet, consectetur adipisici elit. | [yes](https://example.org/) | no           | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 |
| dolor        | Lorem ipsum dolor sit amet, consectetur adipisici elit. | no                          | yes          | none                                                    | @loremIpsum2024 |
| sit          | Lorem ipsum dolor sit amet, consectetur adipisici elit. | no                          | no           | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 |
| amet         | Lorem ipsum dolor sit amet, consectetur adipisici elit. | no                          | no           | none                                                    | @loremIpsum2024 |
| consectetur  | Lorem ipsum dolor sit amet, consectetur adipisici elit. | no                          | no           | none                                                    | @loremIpsum2024 |
| adipisici    | Lorem ipsum dolor sit amet, consectetur adipisici elit. | [yes](https://example.org/) | no           | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 |
| elit         | Lorem ipsum dolor sit amet, consectetur adipisici elit. | [yes](https://example.org/) | no           | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 |
| lorem        | Lorem ipsum dolor sit amet, consectetur adipisici elit. | [yes](https://example.org/) | yes          | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 |
| ipsum        | Lorem ipsum dolor sit amet, consectetur adipisici elit. | no                          | yes          | none                                                    | @loremIpsum2024 |
| dolor        | Lorem ipsum dolor sit amet, consectetur adipisici elit. | [yes](https://example.org/) | yes          | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 |
| sit          | Lorem ipsum dolor sit amet, consectetur adipisici elit. | [yes](https://example.org/) | no           | Lorem ipsum dolor sit amet, consectetur adipisici elit. | @loremIpsum2024 |

: My Caption {#tbl-mytable2 apa-note="Note below table" data-quarto-disable-processing="true"}
lorem.bib
 @misc{loremIpsum2024,
   author = "Wikipedia",
   title = "Lorem ipsum --- Wikipedia{,} die freie Enzyklopädie",
   year = "2023",
   url = "\url{https://de.wikipedia.org/w/index.php?title=Lorem_ipsum&oldid=239510801}",
   note = "[Online; Stand 27. Juni 2024]"
 }

Removing the table caption makes it work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants