5

Is it possible to write one line with arabic letter in a latin-alphabet document?

something like

...
How are you...
سۆمتینگ سۆمتینگ...
now the latin is continued here
...

How about mixing with equation and so on? Please notice that I use tons of packages for writing maths and drawing Feynman-diagrams and the like.

I have arabic/english keyboard.

1 Answer 1

4

run with lualatex:

\documentclass[12pt,a4paper]{article}
\usepackage{fontspec}
\setmainfont[Ligatures=TeX,Script=Arabic]{DejaVu Sans}
\usepackage{arabluatex}
\begin{document}
    La scrittura araba ha la sua origine nello script Byblos e lo script fenicio. La forma delle 
    lettere e le basi per l'ulteriore sviluppo della scrittura sono stati collocati nello script 
    aramaico.
\begin{txarab}  
    الكتابة العربية وأصله في البرنامج النصي بيبلوس الفينيقية والنصي. وضعت على شكل الحروف والأسس لمزيد 


    من التنمية في الكتابة الآرامية النصي.
\end{txarab}
    La scrittura araba ha la sua origine nello script Byblos e lo script fenicio. La forma delle 
    lettere e le basi per l'ulteriore sviluppo della scrittura sono stati collocati nello script 
    aramaico.
\end{document}

enter image description here

7
  • xelatex and lulatex doesn't seem to work for me since I have all kinds of packages and stuff, there seems to be some kind of conflict. I don't know how to copy the error codes unfortunately. May 3, 2014 at 18:04
  • The only difference is the font loading and utf8 id the default input encoding. That's all ...
    – user2478
    May 3, 2014 at 19:46
  • You still need to mark the whole Arabic paragraph right to left since the order of the words is still left to right in XeTeX (in LuaTeX it is even worse, as even the individual letters inside the words will be from left to right). Jul 21, 2014 at 18:39
  • @KhaledHosny Assalamu Alaykom :) If I need to type some enumeration list with Arabic text inside an English document, is it possible to do so using pdflatex? Or do I have to switch to lualatex or xelatex?
    – Diaa
    Jan 1, 2019 at 8:53
  • 1
    @user 2478: Reading the manual just find: \arb{المأمون} is the way to insert arab text in a row.
    – tatojo
    Apr 26, 2019 at 14:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .