Skip to content

Commit

Permalink
fix after-caption-space
Browse files Browse the repository at this point in the history
  • Loading branch information
wjschne committed Aug 25, 2024
1 parent ff838c9 commit 84a4817
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions _extensions/apaquarto/apafloatlatex.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ local processfloat = function(float)
local beforenote = ""
if manuscriptmode then
beforenote = "\\vspace{-20pt}\n"
quarto.log.output(float.attributes)
if float.attributes["beforenotespace"] then

beforenote = "\\vspace{" .. float.attributes["beforenotespace"] .. "}\n"
Expand Down Expand Up @@ -89,8 +88,8 @@ local processfloat = function(float)
local aftercaption = ""
if manuscriptmode then
aftercaption = "\n\\vspace{-20pt}"
if float.attributes["aftercaptionspace"] then
aftercaption = "\\vspace{" .. float.attributes["aftercaptionspace"] .. "}\n"
if float.attributes["after-caption-space"] then
aftercaption = "\\vspace{" .. float.attributes["after-caption-space"] .. "}\n"
end

end
Expand Down

0 comments on commit 84a4817

Please sign in to comment.