From 201c4b42131a9f913bdae5b24dbc9680065331f4 Mon Sep 17 00:00:00 2001 From: Sam Schiano <125507018+Schiano-NOAA@users.noreply.github.com> Date: Fri, 20 Feb 2026 09:59:41 -0500 Subject: [PATCH] add float package to in-header tex --- R/utils_tex.R | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/R/utils_tex.R b/R/utils_tex.R index e68805c7..ef1d6a0f 100644 --- a/R/utils_tex.R +++ b/R/utils_tex.R @@ -111,6 +111,12 @@ create_inheader_tex <- function(species = NULL, year = NULL, subdir) { # sep = "" # ) # lines <- append(lines, gloss) + + # Add float package + lines <- append( + lines, + "\\usepackage{float}\n\\floatplacement{table}{H}\n" + ) write(lines, file = paste(subdir, "/in-header.tex", sep = "")) }