Returns indicies of multirow or multicolumn in a texblocks
find_multicol(x) find_multirow(x)
x | texblock |
---|
data.frame
#> # A tibble: 1 x 5 #> row col n value call #> <dbl> <dbl> <dbl> <chr> <chr> #> 1 1 1 2 a "\\multicolumn{2}{c}{a}"y%>%find_multirow()#> # A tibble: 1 x 5 #> row col n value call #> <dbl> <dbl> <dbl> <chr> <chr> #> 1 1 1 2 a "\\multirow{2}{*}{a}"