Skip to contents

Give needed 'nbsp' symbols, and auto split with nice alignment.

Usage

give_nbsp(n_trim, len = 50, ratio = 4)

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".

Value

list

Examples


give_nbsp(n_trim = c(10,5))
#> [1] "                                                            "                                                                                                                        
#> [2] "                                                                                "