Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
ArabTeX
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Free software package providing support for the Arabic and Hebrew alphabets}} [[Image:ArabTeX logo.svg|250px|thumb|The ArabTeX logo]] '''ArabTeX''' is a free software package providing support for the [[Arabic alphabet|Arabic]] and [[Hebrew alphabet|Hebrew]] [[alphabet]]s to [[TeX]] and [[LaTeX]]. Written by Klaus Lagally, it can take [[Romanization|romanized]] [[ASCII]] or native script input to produce quality ligatures for [[Arabic language|Arabic]], [[Persian language|Persian]], [[Urdu language|Urdu]], [[Pashto language|Pashto]], [[Sindhi language|Sindhi]], [[Western Punjabi (Lahnda)]], [[Maghreb|Maghribi]], [[Uyghur language|Uyghur]], [[Kashmiri language|Kashmiri]], [[Hebrew language|Hebrew]], [[Judeo-Arabic language|Judeo-Arabic]], [[Ladino language|Ladino]] and [[Yiddish language|Yiddish]]. ArabTeX characters are placed within a TeX/LaTeX document using the command <syntaxhighlight lang="latex" inline>\RL{ ... }</syntaxhighlight> or the environment <syntaxhighlight lang="latex" inline>\begin{RLtext} ... \end{RLtext}</syntaxhighlight>. ArabTeX is released under the [[LaTeX Project Public License]] v1+.<ref>{{Cite FTP |url=ftp://ftp.informatik.uni-stuttgart.de/pub/arabtex/arabtex.htm |server=ftp.informatik.uni-stuttgart.de |title=FTP link }}</ref> ==Example== [[Image:Arabtex as-salam alaikum.png|170px]] <syntaxhighlight lang="latex"> \novocalize \RL{al-salAm `alaykum} </syntaxhighlight> [[Image:Bismillah.png]] <syntaxhighlight lang="latex"> \documentclass[12pt]{article} \usepackage{arabtex} \begin{document} \setarab \fullvocalize \transtrue \arabtrue \begin{RLtext} bismi al-ll_ahi al-rra.hm_ani al-rra.hImi العربية \end{RLtext} \end{document} </syntaxhighlight> ==Common commands== * <syntaxhighlight lang="latex" inline>\setarab</syntaxhighlight> (set language specific rendering) * <syntaxhighlight lang="latex" inline>\setfarsi</syntaxhighlight> (set language specific rendering) * <syntaxhighlight lang="latex" inline>\setuighur</syntaxhighlight> (set language specific rendering) * <syntaxhighlight lang="latex" inline>\set</syntaxhighlight>... (more language conventions, see the documentation) * <syntaxhighlight lang="latex" inline>\novocalize</syntaxhighlight> (individual vowel marks can be displayed using "a, "i, "u) * <syntaxhighlight lang="latex" inline>\vocalize</syntaxhighlight> (individual vowel marks can be cancelled using "a, "i, "u) * <syntaxhighlight lang="latex" inline>\fullvocalize</syntaxhighlight> (individual vowel marks can be cancelled using "a, "i, "u) * <syntaxhighlight lang="latex" inline>\setcode{ }</syntaxhighlight> (switch input encodings) * <syntaxhighlight lang="latex" inline>\settrans{ }</syntaxhighlight> (switch transliteration conventions) ==Character table== {| class="wikitable" ! Letter ! Transliteration ! Unicode name |- align="center" |<big>ا</big>||A||ARABIC LETTER ALEF |- align="center" |<big>أ</big>||a'||ARABIC LETTER ALEF WITH HAMZA ABOVE |- align="center" |<big>ب</big>||b||ARABIC LETTER BEH |- align="center" |<big>ت</big>||t||ARABIC LETTER TEH |- align="center" |<big>ث</big>||_t||ARABIC LETTER THEH |- align="center" |<big>ج</big>||j / ^g||ARABIC LETTER JEEM |- align="center" |<big>ح</big>||.h||ARABIC LETTER HAH |- align="center" |<big>خ</big>||x / _h||ARABIC LETTER KHAH |- align="center" |<big>د</big>||d||ARABIC LETTER DAL |- align="center" |<big>ذ</big>||_d||ARABIC LETTER THAL |- align="center" |<big>ر</big>||r||ARABIC LETTER REH |- align="center" |<big>ز</big>||z||ARABIC LETTER ZAIN |- align="center" |<big>س</big>||s||ARABIC LETTER SEEN |- align="center" |<big>ش</big>||^s||ARABIC LETTER SHEEN |- align="center" |<big>ص</big>||.s||ARABIC LETTER SAD |- align="center" |<big>ض</big>||.d||ARABIC LETTER DAD |- align="center" |<big>ط</big>||.t||ARABIC LETTER TAH |- align="center" |<big>ظ</big>||.z||ARABIC LETTER ZAH |- align="center" |<big>ع</big>||`||ARABIC LETTER AIN |- align="center" |<big>غ</big>||.g||ARABIC LETTER GHAIN |- align="center" |<big>ف</big>||f||ARABIC LETTER FEH |- align="center" |<big>ق</big>||q||ARABIC LETTER QAF |- align="center" |<big>ك</big>||k||ARABIC LETTER KAF |- align="center" |<big>ل</big>||l||ARABIC LETTER LAM |- align="center" |<big>م</big>||m||ARABIC LETTER MEEM |- align="center" |<big>ن</big>||n||ARABIC LETTER NOON |- align="center" |<big>و</big>||w / U||ARABIC LETTER WAW |- align="center" |<big>ه</big>||h||ARABIC LETTER HEH |- align="center" |<big>ي</big>||y / I||ARABIC LETTER YEH |- align="center" |<big>َ</big>||a||ARABIC FATHA |- align="center" |<big>ُ</big>||u / o||ARABIC DAMMA |- align="center" |<big>ِ</big>||i / e||ARABIC KASRA |- align="center" |<big>پ</big>||p||ARABIC LETTER PEH |- align="center" |<big>چ</big>||^c||ARABIC LETTER TCHEH |- align="center" |<big>ژ</big>||^z||ARABIC LETTER JEH |- align="center" |<big>گ</big>||g||ARABIC LETTER GAF |- align="center" |<big>ک</big>||.k||ARABIC LETTER KEHEH |- align="center" |<big>ی</big>||y / I{{ref|1|*}}||ARABIC LETTER FARSI YEH |- align="center" |<big>ۀ</big>||H-i||ARABIC LETTER HEH WITH YEH |- align="center" |<big>آ</big>||'A||ARABIC LETTER ALEF WITH MADDA ABOVE |- align="center" |<big>ة</big>||T||ARABIC LETTER TEH MARBUTA |- align="center" |<big>ء</big>||'|||ARABIC LETTER HAMZA ABOVE |- align="center" |<big>ئ</big>||'y||ARABIC LETTER YEH WITH HAMZA ABOVE |- align="center" |<big>ؤ</big>||u'||ARABIC LETTER WAW WITH HAMZA ABOVE |- align="center" |<big>ً</big>||aN||ARABIC FATHATAN |- align="center" |<big>ّ</big>||''xx''||ARABIC SHADDA |- align="center" |<big>،</big>||,||ARABIC COMMA |- align="center" |<big>؛</big>||;||ARABIC SEMICOLON |- align="center" |<big>؟</big>||?||ARABIC QUESTION MARK |- align="center" |<big>٪</big>||%||ARABIC PERCENT SIGN |- align="center" |<big><code> </code></big>|| || SPACE |- align="center" |<big>.</big>||.||FULL STOP |- align="center" |<big><code>‍</code></big>||-||ZERO WIDTH JOINER |- align="center" |<big></big>||\hspace{0ex}|| ZERO WIDTH NON-JOINER <!--|<big>«</big>|| || LEFT-POINTING DOUBLE ANGLE QUOTATION MARK |- align="center" |<big>&#;</big>||187;</big>|| || RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK --> |} {| |- |{{note|1|*}} Activated by <syntaxhighlight lang="latex" inline>\setfarsi</syntaxhighlight> |} Note that one can also overcome the problem with <yah> containing dots using the <syntaxhighlight lang="latex" inline>\yahnodots</syntaxhighlight> command. ==See also== *[[XePersian]] *[[FarsiTeX]] *[[XeTeX]] *[[ArabLuaTex]] * [[List of TeX extensions]] ==References== {{reflist}} ==External links== *[https://ctan.org/pkg/arabtex ArabTeX package page] *[http://mirrors.ctan.org/language/arabic/arabtex/doc/pdf/arabdoc.pdf Documentation (pdf)] *[ftp://ftp.informatik.uni-stuttgart.de/pub/arabtex/arabtex.htm Download] {{TeX navbox}} [[Category:Arabic-language computing]] [[Category:Free TeX software]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Cite FTP
(
edit
)
Template:Note
(
edit
)
Template:Ref
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:TeX navbox
(
edit
)