Learn R Programming

praatpicture (version 1.4.2)

conv2sc: Convert capital letters to Unicode small caps

Description

Helper function to convert capital letters into Unicode small caps. May not work for all font families. Note that there's no Unicode small cap 'X', so 'X' will just be converted to 'x'.

Usage

conv2sc(x)

Value

A string where all capital letters have been converted to small caps.

Arguments

x

A string where all capital letters should be converted to small caps.

Examples

Run this code
my_string <- 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
conv2sc(my_string)

Run the code above in your browser using DataLab