Content deleted Content added
→top: other software is available |
|||
(45 intermediate revisions by 39 users not shown) | |||
Line 1:
{{Short description|Control character in bidirectional text}}
The '''left-to-right mark''' (LRM) is a [[control character]] or invisible formatting character, used in the computerized [[typesetting]] of text that contains mixed left-to-right scripts (such as [[English language|English]] and [[Russian language|Russian]]) and right-to-left scripts (such as [[Arabic language|Arabic]], [[Persian language|Persian]] and [[Hebrew language|Hebrew]]). It is used to set the way adjacent characters are grouped with respect to text direction.▼
{{Merge|Right-to-left mark|Arabic letter mark|date=June 2024|discuss=Talk:Arabic letter mark}}
{{More citations needed|date=January 2019}}
▲The '''left-to-right mark''' ('''LRM''') is a [[control character]]
==Unicode==
In [[Unicode]], the LRM character is encoded at {{unichar|200E|left-to-right mark|html=}}. In [[UTF-8]] it is <code>E2 80 8E</code>. Usage is prescribed in the Unicode Bidi (bidirectional) algorithm.<ref>Unicode 12.0 standard, http://www.unicode.org/versions/Unicode12.0.0/UnicodeStandard-12.0.pdf, p. 880</ref>▼
▲In [[Unicode]], LRM is encoded {{unichar|200E|left-to-right mark|html=}}. [[UTF-8]] is E2 80 8E. Usage is prescribed in the Unicode Bidi (bidirectional) algorithm.
==Example of use in HTML==
Suppose the writer wishes to
With an LRM
Some software requires using the [[HTML]] code <code>&#8206;</code> or <code>&lrm;</code> instead of the invisible Unicode control character itself.{{citation needed|date=April 2019}} Using the invisible control character directly could also make copy editing difficult.
==See also==
* [[Right-to-left mark]]
* [[
==References==
{{reflist}}
==External links==
* [http://unicode.org/reports/tr9/ Unicode standard annex #9: The bidirectional algorithm]
* [
{{Unicode navigation}}
Line 29 ⟶ 36:
[[Category:Digital typography]]
[[Category:Unicode formatting code points]]
|