/.tt_ {textab}R Documentation

Concatenate textab blocks horizontally (side-by-side).

Description

Concatenate textab blocks horizontally (side-by-side).

Usage

## S3 method for class 'tt_'
left_block / right_block

Arguments

left_block

The left block of the tabular row.

right_block

The right block of the tabular row.

Value

The output is a textab block, formed by horizontally concatenating the two provided textab blocks.

Examples

# define some textab blocks
first_block = TexRow(c(1,2))
first_block

second_block = TexRow(3)
second_block

third_block = TexRow(4)
third_block

# concatenate two blocks horizontally
first_block / second_block

# concatenate three blocks horizontally
first_block / second_block / third_block

# concatenate both horizontally and vertically
# note: horizontal concatenation takes precedence over vertical concatenation
first_block + second_block / third_block


[Package textab version 1.0.1 Index]