Skip to contents

Puts a non-breaking space (U+00A0) before ; : ! ? » and %, and after «, in place of a plain space, so that these signs never start a line. The non-breaking space is in Latin-1, so every pdf device can draw it. gtl_translate_enfr() applies it to the French strings. Anything but text is returned unchanged.

Usage

gtl_fr_typo(x)

Arguments

x

A character vector of French text

Value

The text with non-breaking spaces

Examples

gtl_fr_typo("Source : OFS ; Donn\u00e9es : 2024, soit 12 %")
#> [1] "Source : OFS ; Données : 2024, soit 12 %"