Skip to content

Commit

Permalink
bug fix for bottom alignment for topleft materials
Browse files Browse the repository at this point in the history
  • Loading branch information
Melkiades committed Oct 16, 2023
1 parent ecc1bb8 commit 7994851
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/tt_toString.R
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,8 @@ get_formatted_fnotes <- function(tt) {
span <- rbind(matrix(1, nrow = npad, ncol = ncol(span)), span)
fnote <- rbind(matrix(list(), nrow = npad, ncol = ncol(body)), fnote)
} else if (lentl < nli) {
tl <- c(tl, rep("", nli - lentl))
# We want topleft alignment that goes to the bottom!
tl <- c(rep("", nli - lentl), tl)
}
list(body = cbind(tl, body, deparse.level = 0), span = cbind(1, span),
footnotes = cbind(list(list()), fnote))
Expand Down

0 comments on commit 7994851

Please sign in to comment.