Changes

Jump to navigation Jump to search
591 bytes added ,  12:27, 28 April 2016
no edit summary
\stoptext
</context>
 
=== LTR paragraph in RTL document ===
In addition to short LTR text pieces, sometimes one needs an LTR paragraph in a mainly RTL document. Using {{code|\righttoleft}} at the beginning of a paragraph (i.e., in vertical mode) achieves this. This command needs to be placed inside a group to limit its scope. I use the following.
 
<texcode>
\startstopLTR [before={\begingroup\lefttoright},after=\endgroup]
</texcode>
 
This can be used either as {{code|\LTR{some English text}}} for short pieces (for example, inside an RTL paragraph) or as a start/stop construct to produce LTR paragraphs.
== TODO ==
25

edits

Navigation menu