Template:Lrm/doc

From Simple English Wikipedia, the free encyclopedia

LRM U+200E LEFT-TO-RIGHT MARK (HTML ‎ · ‎)

Usage[change source]

{{lrm}} adds an invisible character with strong L-to-R directionality. It has the same effect as when adding a straight Latin letter: all weak and neutral characters (numbers, punctuation) following this mark are supposed to be in L-to-R direction. Following means: in logical, or entering, or time, order. The character solves ambiguous situations, when punctuation characters are between R-to-L and L-to-R scripts.

Examples[change source]

code result
{{lang|fa|حسن صباح}} {{lrm}}(1090–1124) حسن صباح ‎(1090–1124)
{{lang|fa|حسن صباح}} ‎(1090–1124) حسن صباح (1090–1124)
{{lang|fa|حسن صباح}} ‎(1090–1124) حسن صباح ‎(1090–1124)

Template:Bidi Class (Unicode)