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

View source: R/give_nbsp.R

give_nbspR Documentation

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

Description

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))

huhuaping/xmerit documentation built on Nov. 10, 2023, 4:34 a.m.