Template:Popdf

From HandWiki
Revision as of 14:37, 30 November 2022 by MainEditor (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template documentation[view] [edit] [history] [purge]

This template {{popdf}} adds U+202C POP DIRECTIONAL FORMATTING (HTML ‬ · or by character acronym Template:Ctrl). It is an invisible formatting character, which only affects directionality of text. Its general Unicode acronym "PDF" cannot be used for this template, since it already has a different meaning.

Usage

{{popdf}} adds an invisible character that marks the end of a text to be in forced directionality. That forced directionality can be started with: {{lro}}, {{rlo}}, RLE, LRE "opening" marks.

Note that it is not needed when using the RLM or LRM character, since these marks are standing alone, and are not "opening" marks.

See also

v · d · e Bidirectional character type (Unicode character property Bidi_Class)[1]
Type[2] Description Strength Directionality General scope Bidi_Control character[3]
L Left-to-Right 01 Strong L-to-R Most alphabetic and syllabic characters, Chinese characters, non-European or non-Arabic digits, LRM character, ... 8206 U+200E LEFT-TO-RIGHT MARK (LRM)


R Right-to-Left 02 Strong R-to-L Adlam, Hebrew, Mandaic, Mende Kikakui, N'Ko, Samaritan, ancient scripts like Kharoshthi and Nabataean, RLM character, ... 8207 U+200F RIGHT-TO-LEFT MARK (RLM)


AL Arabic Letter 03 Strong R-to-L Arabic, Hanifi Rohingya, Sogdian, Syriac, and Thaana alphabets, and most punctuation specific to those scripts, ALM character, ... 1564 U+061C ARABIC LETTER MARK (ALM)


EN European Number 04 Weak European digits, Eastern Arabic-Indic digits, Coptic epact numbers, ...
ES European Separator 05 Weak plus sign, minus sign, ...
ET European Number Terminator 06 Weak degree sign, currency symbols, ...
AN Arabic Number 07 Weak Arabic-Indic digits, Arabic decimal and thousands separators, Rumi digits, Hanifi Rohingya digits, ...
CS Common Number Separator 08 Weak colon, comma, full stop, no-break space, ...
NSM Nonspacing Mark 09 Weak Characters in General Categories Mark, nonspacing, and Mark, enclosing (Mn, Me)
BN Boundary Neutral 10 Weak Default ignorables, non-characters, control characters other than those explicitly given other types
B Paragraph Separator 11 Neutral paragraph separator, appropriate Newline Functions, higher-level protocol paragraph determination
S Segment Separator 12 Neutral Tabs
WS Whitespace 13 Neutral space, figure space, line separator, form feed, General Punctuation block spaces (smaller set than the Unicode whitespace list)
ON Other Neutrals 14 Neutral All other characters, including object replacement character
LRE Left-to-Right Embedding 15 Explicit L-to-R LRE character only 8234 U+202A LEFT-TO-RIGHT EMBEDDING (LRE)


LRO Left-to-Right Override 16 Explicit L-to-R LRO character only 8237 U+202D LEFT-TO-RIGHT OVERRIDE (LRO)


RLE Right-to-Left Embedding 17 Explicit R-to-L RLE character only 8235 U+202B RIGHT-TO-LEFT EMBEDDING (RLE)


RLO Right-to-Left Override 18 Explicit R-to-L RLO character only 8238 U+202E RIGHT-TO-LEFT OVERRIDE (RLO)


PDF Pop Directional Format 19 Explicit PDF character only 8236 U+202C POP DIRECTIONAL FORMATTING (PDF)


LRI Left-to-Right Isolate 20 Explicit L-to-R LRI character only 8294 U+2066 LEFT-TO-RIGHT ISOLATE (LRI)


RLI Right-to-Left Isolate 21 Explicit R-to-L RLI character only 8295 U+2067 RIGHT-TO-LEFT ISOLATE (RLI)


FSI First Strong Isolate 22 Explicit FSI character only 8296 U+2068 FIRST STRONG ISOLATE (FSI)


PDI Pop Directional Isolate 23 Explicit PDI character only 8297 U+2069 POP DIRECTIONAL ISOLATE (PDI)


Notes
1.^ Unicode Bidirectional Algorithm (UAX#9), As of Unicode version 12.0
2.^ Possible Bidirectional character types for character property: Bidi_Class or 'type'
3.^ Bidi_Control characters: Twelve Bidi_Control formatting characters are defined. They are invisible, and have no effect apart from directionality. Nine of them have a unique, overruling BiDi-type that is used by the algorithm. Their type is also their acronym (e.g. character 'LRE' has BiDi type 'LRE').