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 |
Block from the UTF8 table
utf8_block(from = "0x1F600", to = "0x1F64F", show_names = FALSE)
utf8_block(from = "0x1F600", to = "0x1F64F", show_names = FALSE)
from |
Hexcode starting |
to |
Hexcode end |
show_names |
Show names of UTF8 characters (TRUE|FALSE) |
Vector of UTF8 characters
utf8_block(from ="0x1F600", to="0x1F64F")
utf8_block(from ="0x1F600", to="0x1F64F")
Collection of unicode symbols
utf8_collection()
utf8_collection()
List of unicode collections
# show complete collection (as list) utf8_collection() # show fav collection u <- utf8_collection() unlist(u$fav) # show single character u$fav$heart
# 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
utf8_inspect(chr)
utf8_inspect(chr)
chr |
A Utf8 character |
Prints infos int & hex
u <- utf8_collection() utf8_inspect(u$fav$heart)
u <- utf8_collection() utf8_inspect(u$fav$heart)
Format number boxed using unicode
utf8_number_box(num)
utf8_number_box(num)
num |
Number |
Unicode text
utf8_number_box(123.45)
utf8_number_box(123.45)
Format text bold (sans) using unicode
utf8_text_bold(text)
utf8_text_bold(text)
text |
A text (as string) |
Unicode text
utf8_text_bold("Hello World")
utf8_text_bold("Hello World")
Format text bold (serif) using unicode
utf8_text_bold2(text)
utf8_text_bold2(text)
text |
A text (as string) |
Unicode text
utf8_text_bold2("Hello World")
utf8_text_bold2("Hello World")
Format text bold and italic using unicode
utf8_text_bolditalic(text)
utf8_text_bolditalic(text)
text |
A text (as string) |
Unicode text
utf8_text_bolditalic("Hello World")
utf8_text_bolditalic("Hello World")
Format text circled using unicode
utf8_text_circle(text)
utf8_text_circle(text)
text |
A text (as string) |
Unicode text
utf8_text_circle("Hello World")
utf8_text_circle("Hello World")
Format text cursive using unicode
utf8_text_cursive(text)
utf8_text_cursive(text)
text |
A text (as string) |
Unicode text
utf8_text_cursive("Hello World")
utf8_text_cursive("Hello World")
Format text gothic using unicode
utf8_text_gothic(text)
utf8_text_gothic(text)
text |
A text (as string) |
Unicode text
utf8_text_gothic("Hello World")
utf8_text_gothic("Hello World")
Format text italic using unicode
utf8_text_italic(text)
utf8_text_italic(text)
text |
A text (as string) |
Unicode text
utf8_text_italic("Hello World")
utf8_text_italic("Hello World")
Format text monospace using unicode
utf8_text_monospace(text)
utf8_text_monospace(text)
text |
A text (as string) |
Unicode text
utf8_text_monospace("Hello World")
utf8_text_monospace("Hello World")