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

Subtables in pdf mode #86

Open
NiLaScience opened this issue Sep 2, 2024 · 2 comments
Open

Subtables in pdf mode #86

NiLaScience opened this issue Sep 2, 2024 · 2 comments

Comments

@NiLaScience
Copy link

While it works fine in docx mode, in pdf manuscript or journal mode, I have a lot of problems with generating sub-tables and sub-figures using the layout and subcap option.

Example:

#| label: tbl-demo
#| tbl-cap: 'Demo'
#| tbl-subcap: 
#|   - "Subcap1"
#|   - "Subcap2"
#| layout-nrows: 2
#| apa-twocolumn: true
display(Markdown(table1.to_markdown(index = False)))
display(Markdown(table2.to_markdown(index = False)))

Something like this always generates an error, no matter how I try to display the tables (with/without using markdown, etc.).

@NiLaScience NiLaScience changed the title Subtables and subfigures in pdf mode Subtables in pdf mode Sep 2, 2024
@wjschne
Copy link
Owner

wjschne commented Sep 2, 2024

I am surprised it works in docx. I have not yet implemented sub-tables and sub-figures in apaquarto. I am not sure when I will be able to do so. If you or anyone else has an easy solution, let me know.

@NiLaScience
Copy link
Author

NiLaScience commented Sep 3, 2024 via email

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

2 participants