File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ codeBookItemTxtDescription <- function(x, ...) {
8080
8181
8282 if (txt $ notes != " " ) {
83- tex = " \\ vskip 0.10in\n %s\n\\ addcontentsline{lot}{table}{\\ parbox{1.8in}{\\ ttfamily{%s }} %s}\n\\ vskip 0.10in\n\\ emph{%s}\n\\ vskip 0.10in"
83+ tex = " \\ vskip 0.10in\n %s\n\\ addcontentsline{lot}{table}{\\ parbox{1.8in}{\\ ttfamily{%s}} %s}\n\\ vskip 0.10in\n\\ emph{%s}\n\\ vskip 0.10in"
8484 tex = sprintf(
8585 tex ,
8686 texEscape(txt $ description ),
@@ -89,7 +89,7 @@ codeBookItemTxtDescription <- function(x, ...) {
8989 txt $ notes
9090 )
9191 } else {
92- tex = " \\ vskip 0.10in\n %s\n\\ addcontentsline{lot}{table}{\\ parbox{1.8in}{\\ ttfamily{%s }} %s}\n\\ vskip 0.10in"
92+ tex = " \\ vskip 0.10in\n %s\n\\ addcontentsline{lot}{table}{\\ parbox{1.8in}{\\ ttfamily{%s}} %s}\n\\ vskip 0.10in"
9393 tex = sprintf(
9494 tex ,
9595 texEscape(txt $ description ),
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ texEscape <- function(string) {
3434 if (is.null(string )) {
3535 return (" " )
3636 }
37- s
37+
3838 string <- gsub(" ^ *(\\ [)" , " \\\\ hspace\\ *\\ {0in\\ }\\ 1" , string )
3939 string <- gsub(" ([#$%&_])" , " \\\\\\ 1" , string )
4040 string <- gsub(" [\u 00A3\u FFE1]" , " \\\\ pounds" , string )
Original file line number Diff line number Diff line change @@ -209,6 +209,7 @@ themeDefaultExcel <- function(
209209 digits_numeric = 2 ,
210210 one_per_sheet = FALSE ,
211211 latex_round_percentages = TRUE ,
212+ enforce_onehundred = FALSE ,
212213 latex_headtext = " " ,
213214 latex_foottext = " " ,
214215 latex_table_align = " r" ,
You can’t perform that action at this time.
0 commit comments