TexMidrule | R Documentation |
Create one (or many) partial midrule(s).
TexMidrule(rule_list = NULL)
rule_list |
(list). A list of integer vectors. Each integer vector must contain two integers which indicate the start and end column of the partial midrule. If rule_list = NULL, it returns the full midrule across all columns. The default is rule_list = NULL. |
The output is a textab block.
# set up two textab blocks:
block1 = TexRow(c("hello","world","block"))
block2 = TexRow(c(5.081, 2.345, 6.789), dec=1)
# add a full midrule between the two blocks
block1 + TexMidrule() + block2
# add a partial midrule to the first column and spanning the second-third columns:
block1 + TexMidrule(list(c(1,1), c(2,3))) + block2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.