Give needed 'nbsp' symbols, and auto split with nice alignment.
give_nbsp.Rd
Give needed 'nbsp' symbols, and auto split with nice alignment.
Arguments
- n_trim
number, number of Chinese characters need to trim.
- len
number, specified total length of one line. The default is "len=50".
- ratio
integer, ratio of one Chinese characters to one nbsp. The default is "len=4".
Examples
give_nbsp(n_trim = c(10,5))
#> [1] " "
#> [2] " "