Package 'utf8ify'

Title: Format Text Using Unicode
Description: Format text (bold, italic, ...) and numbers using UTF-8. Offers functions to search for emojis and include them in your text.
Authors: Roland Krasser [aut, cre]
Maintainer: Roland Krasser <[email protected]>
License: MIT + file LICENSE
Version: 0.1.1
Built: 2025-01-11 16:21:45 UTC
Source: https://github.com/rolkra/utf8ify

Help Index


Block from the UTF8 table

Description

Block from the UTF8 table

Usage

utf8_block(from = "0x1F600", to = "0x1F64F", show_names = FALSE)

Arguments

from

Hexcode starting

to

Hexcode end

show_names

Show names of UTF8 characters (TRUE|FALSE)

Value

Vector of UTF8 characters

Examples

utf8_block(from ="0x1F600", to="0x1F64F")

Collection of unicode symbols

Description

Collection of unicode symbols

Usage

utf8_collection()

Value

List of unicode collections

Examples

# show complete collection (as list)
utf8_collection()

# show fav collection 
u <- utf8_collection()
unlist(u$fav)

# show single character
u$fav$heart

Inspect a Utf8 character

Description

Inspect a Utf8 character

Usage

utf8_inspect(chr)

Arguments

chr

A Utf8 character

Value

Prints infos int & hex

Examples

u <- utf8_collection()
utf8_inspect(u$fav$heart)

Format number boxed using unicode

Description

Format number boxed using unicode

Usage

utf8_number_box(num)

Arguments

num

Number

Value

Unicode text

Examples

utf8_number_box(123.45)

Format text bold (sans) using unicode

Description

Format text bold (sans) using unicode

Usage

utf8_text_bold(text)

Arguments

text

A text (as string)

Value

Unicode text

Examples

utf8_text_bold("Hello World")

Format text bold (serif) using unicode

Description

Format text bold (serif) using unicode

Usage

utf8_text_bold2(text)

Arguments

text

A text (as string)

Value

Unicode text

Examples

utf8_text_bold2("Hello World")

Format text bold and italic using unicode

Description

Format text bold and italic using unicode

Usage

utf8_text_bolditalic(text)

Arguments

text

A text (as string)

Value

Unicode text

Examples

utf8_text_bolditalic("Hello World")

Format text circled using unicode

Description

Format text circled using unicode

Usage

utf8_text_circle(text)

Arguments

text

A text (as string)

Value

Unicode text

Examples

utf8_text_circle("Hello World")

Format text cursive using unicode

Description

Format text cursive using unicode

Usage

utf8_text_cursive(text)

Arguments

text

A text (as string)

Value

Unicode text

Examples

utf8_text_cursive("Hello World")

Format text gothic using unicode

Description

Format text gothic using unicode

Usage

utf8_text_gothic(text)

Arguments

text

A text (as string)

Value

Unicode text

Examples

utf8_text_gothic("Hello World")

Format text italic using unicode

Description

Format text italic using unicode

Usage

utf8_text_italic(text)

Arguments

text

A text (as string)

Value

Unicode text

Examples

utf8_text_italic("Hello World")

Format text monospace using unicode

Description

Format text monospace using unicode

Usage

utf8_text_monospace(text)

Arguments

text

A text (as string)

Value

Unicode text

Examples

utf8_text_monospace("Hello World")