wjschne / apaquarto

A quarto extension for creating APA7 documents in .docx, .html, and .pdf formats
https://wjschne.github.io/apaquarto/
Creative Commons Zero v1.0 Universal
170 stars 15 forks source link

APA PDF weird render #94

Open bsgallih12 opened 2 months ago

bsgallih12 commented 2 months ago

Hello, the figure caption for an image is rendering like this by default and I'm not sure why

image

bsgallih12 commented 2 months ago

Can also provide an example if needed

bsgallih12 commented 1 month ago

Just following up on this one in case it was missed. It's still cutting off half the caption when using the following markdown syntax for the apaquarto-pdf output option

Caption

wjschne commented 1 month ago

Sure, can you send the code that produces this error? Email is fine if you don't want to post it here: schneider@temple.edu

bsgallih12 commented 1 month ago

Can do! I've sent you an email. Thanks!

bsgallih12 commented 1 month ago

Also, if you run the files I sent over but change the output to apaquarto-typst,you get the other issue I've been having where the cross referenced tables end up all in bold rather than just the header row. That issue only shows up for Typst output. It's totally fine for PDF

wjschne commented 1 month ago

This, I think, is the same problem as in #83

For now, the workaround solution to set the after-caption-space option to 0pt. For example:

#| label: "tbl-descriptive-statistics"
#| echo: false
#| tbl-cap: "Summary Statistics"
#| after-caption-space: 0pt

library(tinytable)
tt(head(iris))

Let me know if this works for you.

bsgallih12 commented 1 month ago

Hi Joel,That might fix the issue if I can render the table that I’m inserting as an image with the traditional way. Is there a way to force the output to move that page to landscape so it’ll fit? Right now only half my table shows if I try to just print it as a table (it’s too wide)Best,Brier Gallihugh, M.SHe/Him/HisPsych Doctoral Candidate Eastern Michigan UniversityOn Oct 6, 2024, at 1:12 PM, W. Joel Schneider @.***> wrote: This, I think, is the same problem as in #83 For now, the workaround solution to set the after-caption-space option to 0pt. For example:

| label: "tbl-descriptive-statistics"

| echo: false

| tbl-cap: "Summary Statistics"

| after-caption-space: 0pt

library(tinytable) tt(head(iris))

Let me know if this works for you.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

wjschne commented 1 month ago

If you install Quarto 1.6 (pre-release), you can have landscape pages:

https://prerelease.quarto.org/docs/authoring/article-layout.html#landscape-mode