Skip to content

Commit

Permalink
Edit decision table caption, make main text caption match ES version #…
Browse files Browse the repository at this point in the history
  • Loading branch information
iantaylor-NOAA committed Nov 13, 2021
1 parent 64fba1a commit 969a5c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/01executive.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ cat(ignore)
```

```{r, results = "asis"}
caption <- "Decision table with 10-year projections based on two years of recent average catch, alternative states of nature (columns), and management assumptions (rows) annual catch limits (ACLs) defined using an estimate of uncertainty (i.e., $P^*$) of 0.40 and 0.45. Colors of catch and fraction unfished are relative with lighter colors representing lower values. Italics indicate years were the full catch could not be removed because of insufficient biomass."
caption <- "Decision table with 10-year projections based on two years of recent average catch, alternative states of nature (columns), and management assumptions (rows) annual catch limits (ACLs) defined using an estimate of uncertainty (i.e., $P^*$) of 0.40 and 0.45. Colors of catch and fraction unfished are relative with lighter colors representing lower values. Italics indicate years were the full catch could not be removed from the low state of nature because of insufficient biomass."
decisiontable <- append(
x = readLines(file.path("..", mod_loc, "decision_table.tex")),
values = paste0("\\caption{\\label{tab:es-decision}", caption, "}"),
Expand Down
2 changes: 1 addition & 1 deletion doc/52tables.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ cat(ignore)
```{r, results = "asis"}
decisiontable <- append(
x = readLines(file.path("..", mod_loc, "decision_table.tex")),
values = c("\\caption{\\label{tab:decision}Decision table summary of 10-year projections based on recent average catch for the first two years of the projection, alternative states of nature (columns), and management assumptions (asm.; rows) based on recent average catch and annual catch limits (ACLs) defined using an estimate of uncertainty (i.e., $P^*$) of 0.40 and 0.45. Catch and resulting fraction unfished are colored relatively with lighter colors representing lower values.}"),
values = c("\\caption{\\label{tab:decision}Decision table with 10-year projections based on two years of recent average catch, alternative states of nature (columns), and management assumptions (rows) annual catch limits (ACLs) defined using an estimate of uncertainty (i.e., $P^*$) of 0.40 and 0.45. Colors of catch and fraction unfished are relative with lighter colors representing lower values. Italics indicate years were the full catch could not be removed from the low state of nature because of insufficient biomass.}"),
after = 1
)
cat(decisiontable)
Expand Down

0 comments on commit 969a5c9

Please sign in to comment.