LyX ⇒ How to write in Arabic and English Tutorial ..... Solved!!
How to write in Arabic and English Tutorial ..... Solved!!
I want to share something with you in LYX after I struggled with it for a while, and that is How to write in Arabic and how to mix it with, let's say English. And that's what I do in my Windows 10 laptop:
First Method - Open New Document ---> Document ---> Setting
Try to change these things in Setting
1- Document Class, choose, Article (Standard Class) not Arabic.
2- Font, choose, use non- TeX font, then choose a font like Amiri font ( you can download it from the internet)
3- Language, choose, Arabic(Arabi) and then from Encoding, choose, Other(CP-1256)
and that's it.
Here you can write in Arabic and if you want to write in another language, insert Math and choose () and write whatever you want between bracts.
Second Method: - Open New Document ---> Document ---> Setting
Try to change these things in Setting
1- Document Class, choose, Arabic Article.
2- Fonts, leave it as it.
3- Language, choose, Arabic(Arabi) and leave Encoding as Default.
And that's it.
If you want to change the language without Insert Math, use this method
Creating a shortcut to switch the language
Go to the LyX menu Tools→Preferences→Editing→Shortcuts
Search for the shortcut "language", select it and use the Modify button.
In the appearing dialog change "language" to "language XXX" where XXX should be either arabic_arabtex or arabic_arabi, depending on the LaTeX-package you want to use. Bind it to a key you want, for example to F12.
Now search again for the shortcut "language", select it and use the Modify button.
In the appearing dialog change "language" to "language English". Bind it to a key you want, for example to Ctrl+F12.
Now you can start typing, using F12 / Ctrl+F12 to switch between Arabic and English.
I hope every dual-language makes use of this. And don't forget to wash your hand after practicing this tutorial.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p