combine texblock object into bigger texblock objects

# S3 method for tb
+(e1, e2)

# S3 method for tb
/(e1, e2)

Arguments

e1

texblock object, right hand side object

e2

texblock object, left hand side object

Value

texblock object

Details

  • : joins e1 to e2 horizontally (cbind)

/ : joins e1 to e2 vertically with no hline betweet them (rbind)

Examples

x <- '$\\alpha$' y <- 'cindy' class(x) <- 'tb' class(y) <- 'tb' x1 <- x+y+x x1
#> $\alpha$&cindy&$\alpha$
x1 + x1
#> $\alpha$&cindy&$\alpha$&$\alpha$&cindy&$\alpha$
x1 / x1
#> $\alpha$&cindy&$\alpha$\\ #> $\alpha$&cindy&$\alpha$
x2 <- x1 / x1 x2 + x2
#> $\alpha$&cindy&$\alpha$&$\alpha$&cindy&$\alpha$\\ #> $\alpha$&cindy&$\alpha$&$\alpha$&cindy&$\alpha$\\
x3 <- x2/x2 x2 + x3
#> $\alpha$&cindy&$\alpha$&$\alpha$&cindy&$\alpha$\\ #> $\alpha$&cindy&$\alpha$&$\alpha$&cindy&$\alpha$\\ #> &&&$\alpha$&cindy&$\alpha$\\ #> &&&$\alpha$&cindy&$\alpha$\\