Template:Lrm/doc

维基百科,自由的百科全书

LRM U+200E LEFT-TO-RIGHT MARK ,HTML:‎ ‎

用法[编辑]

{{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.

範例[编辑]

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)